Yuki Takei 2 anni fa
parent
commit
611b91c1fb

+ 2 - 1
apps/app/test/cypress/e2e/23-editor/23-editor--saving.cy.ts

@@ -117,8 +117,9 @@ context('PageCreateModal', () => {
       cy.getByTestid('grw-btn-edit-page').should('be.visible').click();
       cy.getByTestid('grw-btn-edit-page').should('be.visible').click();
     });
     });
     cy.get('.Toastify__toast').should('be.visible');
     cy.get('.Toastify__toast').should('be.visible');
-    cy.collapseSidebar(true);
+
     cy.screenshot(`${ssPrefix}create-template-for-children-error`);
     cy.screenshot(`${ssPrefix}create-template-for-children-error`);
+
     cy.get('.Toastify__toast').should('be.visible').within(() => {
     cy.get('.Toastify__toast').should('be.visible').within(() => {
       cy.get('.Toastify__close-button').should('be.visible').click();
       cy.get('.Toastify__close-button').should('be.visible').click();
       cy.get('.Toastify__progress-bar').invoke('attr', 'style', 'display: none')
       cy.get('.Toastify__progress-bar').invoke('attr', 'style', 'display: none')