Skip to content

Commit

Permalink
test(cypress): Fix failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
avoinea committed Oct 31, 2022
1 parent 878e03f commit 51ce4e7
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@ describe('Blocks Tests', () => {

it('Add Block: Empty', () => {
// Change page title
cy.get('[contenteditable=true]').first().clear();

cy.get('[contenteditable=true]').first().type('My Add-on Page');
cy.clearSlateTitle();
cy.getSlateTitle().type('My Add-on Page');

cy.get('.documentFirstHeading').contains('My Add-on Page');

Expand Down

0 comments on commit 51ce4e7

Please sign in to comment.