Răsfoiți Sursa

Go directly to edit page

Shun Miyazawa 3 ani în urmă
părinte
comite
bb3fd5ec08

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

@@ -447,13 +447,9 @@ context('Shortcuts', () => {
     const body2 = 'world';
     const savePageShortcutKey = '{ctrl+s}'
 
-    cy.visit('/Sandbox/child');
+    cy.visit('/Sandbox/child#edit');
     cy.waitUntilSkeletonDisappear();
 
-    cy.get('#grw-subnav-container').within(() => {
-      cy.getByTestid('editor-button').should('be.visible').click();
-    })
-
     cy.get('.layout-root').should('have.class', 'editing');
     cy.get('.grw-editor-navbar-bottom').should('be.visible');
 
@@ -467,7 +463,6 @@ context('Shortcuts', () => {
     cy.get('.Toastify').should('not.be.visible');
     cy.screenshot(`${ssPrefix}-update-page-1`);
 
-
     // 2nd
     cy.get('.CodeMirror').type(body2);
     cy.get('.CodeMirror').contains(body2);