Shun Miyazawa пре 3 година
родитељ
комит
deccf63e8d

+ 1 - 2
packages/app/test/cypress/integration/20-basic-features/access-to-page.spec.ts

@@ -43,7 +43,7 @@ context('Access to page', () => {
     cy.visit('/Sandbox');
     cy.get('.grw-skelton', { timeout: 30000 }).should('not.exist');
     cy.get('#grw-subnav-container', { timeout: 30000 }).should('be.visible').within(()=>{
-      cy.getByTestid('editor-button', { timeout: 30000 }).should('be.visible').click();
+      cy.getByTestid('editor-button', { timeout: 30000 }).as('editor-button').get('@editor-button').click()
     })
     cy.getByTestid('navbar-editor', { timeout: 30000 }).should('be.visible');
     cy.screenshot(`${ssPrefix}-Sandbox-edit-page`);
@@ -197,4 +197,3 @@ context('Access to /me/all-in-app-notifications', () => {
    });
 
 })
-