|
|
@@ -54,7 +54,7 @@ context('Modal for page operation', () => {
|
|
|
});
|
|
|
cy.getByTestid('page-editor').should('be.visible');
|
|
|
cy.getByTestid('save-page-btn').click();
|
|
|
- cy.get('body').should('not.have.class', 'on-edit');
|
|
|
+ cy.get('.layout-root').should('not.have.class', 'editing');
|
|
|
|
|
|
cy.getByTestid('grw-contextual-sub-nav').should('be.visible');
|
|
|
cy.screenshot(`${ssPrefix}create-today-page`);
|
|
|
@@ -72,7 +72,7 @@ context('Modal for page operation', () => {
|
|
|
});
|
|
|
cy.getByTestid('page-editor').should('be.visible');
|
|
|
cy.getByTestid('save-page-btn').click();
|
|
|
- cy.get('body').should('not.have.class', 'on-edit');
|
|
|
+ cy.get('layout-root').should('not.have.class', 'editing');
|
|
|
|
|
|
cy.getByTestid('grw-contextual-sub-nav').should('be.visible');
|
|
|
cy.screenshot(`${ssPrefix}create-page-under-specific-page`);
|