summaryrefslogtreecommitdiffstats
path: root/cypress_test/integration_tests/desktop/calc
diff options
context:
space:
mode:
authorSzymon Kłos <szymon.klos@collabora.com>2022-12-15 12:49:51 +0100
committerSzymon Kłos <eszkadev@gmail.com>2022-12-16 09:09:07 +0100
commit80ebb7735c7f424a41515bc82d38a42c95b48953 (patch)
treeb1a635f8cf0d8aad3335dd77646210d32d4460a3 /cypress_test/integration_tests/desktop/calc
parentwsd: test: add read-only storage tests (diff)
downloadonline-80ebb7735c7f424a41515bc82d38a42c95b48953.tar.gz
online-80ebb7735c7f424a41515bc82d38a42c95b48953.zip
Simplify rename of tab
introduce JSDialog based input modal Signed-off-by: Szymon Kłos <szymon.klos@collabora.com> Change-Id: If0525c3baa50f8f45777f196e13e542cee789051
Diffstat (limited to 'cypress_test/integration_tests/desktop/calc')
-rw-r--r--cypress_test/integration_tests/desktop/calc/sheet_operation_spec.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/cypress_test/integration_tests/desktop/calc/sheet_operation_spec.js b/cypress_test/integration_tests/desktop/calc/sheet_operation_spec.js
index f00931b82f..49fb789343 100644
--- a/cypress_test/integration_tests/desktop/calc/sheet_operation_spec.js
+++ b/cypress_test/integration_tests/desktop/calc/sheet_operation_spec.js
@@ -118,11 +118,11 @@ describe('Sheet Operations.', function () {
selectOptionFromContextMenu('Rename Sheet...');
- cy.get('.vex-content').should('exist');
+ cy.get('#modal-dialog-rename-calc-sheet').should('exist');
- cy.get('#rename-calc-sheet-modal').clear().type('renameSheet');
+ cy.get('#input-modal-input').clear().type('renameSheet');
- clickVexDialogButton('OK');
+ cy.get('#response-ok').click();
cy.get('.spreadsheet-tab.spreadsheet-tab-selected').should('have.text', 'renameSheet');
});