Explorar o código

Merge branch 'feat/125925' into fix/125924

Shun Miyazawa %!s(int64=2) %!d(string=hai) anos
pai
achega
1f9101b4bf

+ 4 - 0
apps/app/test/cypress/e2e/23-editor/23-editor--with-navigation.cy.ts

@@ -68,7 +68,11 @@ context('Editor while uploading to a new page', () => {
     const filePath = path.relative('/', path.resolve(Cypress.spec.relative, '../assets/example.txt'));
     cy.get('.dropzone').selectFile(filePath, { action: 'drag-drop' });
 
+    // Update page using shortcut keys
+    cy.get('.CodeMirror').type('{ctrl+s}');
+
     // expect
+    cy.get('.Toastify__toast').should('contain.text', 'Saved successfully');
     cy.get('.CodeMirror').should('contain.text', body);
     cy.get('.CodeMirror').should('contain.text', '[example.txt](/attachment/');
     cy.getByTestid('grw-grant-selector').find('.dropdown-toggle').should('contain.text', 'Only me');