Skip to content

Commit

Permalink
fix cypress
Browse files Browse the repository at this point in the history
  • Loading branch information
Tishasoumya-02 authored Jan 15, 2025
1 parent bab1673 commit ae066bd
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions cypress/tests/block.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ context('Block Acceptance Tests', () => {
it('As editor I can add a Heading H3 block ', () => {
cy.visit('/document/edit');
cy.addNewBlock('heading');
// cy.get('#field-tag > .react-select__control').click();
// cy.get('#react-select-38-option-1').click();
// cy.get('.editable').click().type('Heading h3');
// cy.get('#toolbar-save').click();
// cy.visit('/document');
// cy.get('h3:contains(Heading h3)').should('be.visible');
cy.get('#field-tag > .react-select__control').click();
cy.get('#react-select-38-option-1').click();
cy.get('.editable').click().type('Heading h3');
cy.get('#toolbar-save').click();
cy.visit('/document');
cy.get('h3:contains(Heading h3)').should('be.visible');
});

it('As editor I can add a Heading block with special characters', () => {
Expand Down

0 comments on commit ae066bd

Please sign in to comment.