|
|
@@ -111,7 +111,9 @@ context('Access to any page', () => {
|
|
|
});
|
|
|
cy.waitUntil(() => {
|
|
|
cy.getByTestid('grw-subnav-switcher').within(() => {
|
|
|
- cy.getByTestid('editor-button').should('be.visible').click();
|
|
|
+ // cy.getByTestid('editor-button').should('be.visible').click();
|
|
|
+ cy.getByTestid('editor-button').as('editorButton').click()
|
|
|
+ cy.get('@editorButton').should('be.visible')
|
|
|
});
|
|
|
return cy.get('.layout-root').then($elem => $elem.hasClass('editing'));
|
|
|
});
|