Shun Miyazawa 3 лет назад
Родитель
Сommit
01e73f001e

+ 1 - 1
packages/app/test/cypress/integration/20-basic-features/use-tools.spec.ts

@@ -70,7 +70,7 @@ context('Modal for page operation', () => {
       cy.getByTestid('btn-create-page-under-below').click();
     });
     cy.getByTestid('page-editor').should('be.visible');
-    cy.getByTestid('btn-submit').click();
+    cy.getByTestid('save-page-btn').click();
     cy.get('body').should('not.have.class', 'on-edit');
 
     cy.getByTestid('grw-contextual-sub-nav').should('be.visible');

+ 1 - 1
packages/app/test/cypress/integration/50-sidebar/access-to-side-bar.spec.ts

@@ -52,7 +52,7 @@ context('Access to sidebar', () => {
     cy.get('.grw-sidebar-content-header.h5').find('a').click();
     cy.get('.CodeMirror textarea').type(content, {force: true});
     cy.screenshot(`${ssPrefix}custom-sidebar-2-custom-sidebar-editor`);
-    cy.getByTestid('btn-submit').click();
+    cy.getByTestid('save-page-btn').click();
     cy.get('body').should('not.have.class', 'on-edit');
 
     // What to do when UserUISettings is not saved in time