Yuken Tezuka %!s(int64=3) %!d(string=hai) anos
pai
achega
816ecd6872

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

@@ -113,8 +113,7 @@ context('Access to page', () => {
     cy.get('.grw-editor-navbar-bottom').should('be.visible');
     cy.get('.grw-editor-navbar-bottom').should('be.visible');
 
 
     // check editing contents with shortcut key
     // check editing contents with shortcut key
-    cy.get('.CodeMirror-line').children().first().should(($elm) => {
-      const text = $elm.text()
+    cy.get('.CodeMirror-line').children().first().invoke('text').then((text) => {
       cy.get('.CodeMirror').type(body2);
       cy.get('.CodeMirror').type(body2);
       cy.get('.CodeMirror').contains(text+body2);
       cy.get('.CodeMirror').contains(text+body2);
       cy.get('.page-editor-preview-body').contains(text+body2);
       cy.get('.page-editor-preview-body').contains(text+body2);