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 fc864c0 commit fa50838
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions cypress/tests/block.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,14 @@ context('Block Acceptance Tests', () => {
cy.get('h2:contains(Heading h2)').should('be.visible');
});


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('#field-tag > .react-select__control > .react-select__indicators >')
.trigger('click')
.findByText('h3')
.click();
cy.get('.editable').click().type('Heading h3');
cy.get('#toolbar-save').click();
cy.visit('/document');
Expand Down

0 comments on commit fa50838

Please sign in to comment.