summaryrefslogtreecommitdiffstats
path: root/cypress_test/integration_tests/desktop/calc
diff options
context:
space:
mode:
authorRash419 <rashesh.padia@collabora.com>2023-03-16 12:23:38 +0530
committerAndras Timar <andras.timar@collabora.com>2023-03-17 21:27:01 +0100
commita5dbe0a4307f491c47b79d9f29abd9d3096e2d28 (patch)
tree871d639c404718013c1544f20e44cc0a571a45c0 /cypress_test/integration_tests/desktop/calc
parentMake dark mode button send an uno command to change the core theme (diff)
downloadonline-a5dbe0a4307f491c47b79d9f29abd9d3096e2d28.tar.gz
online-a5dbe0a4307f491c47b79d9f29abd9d3096e2d28.zip
cypress: updated the test for core co-23-05
Signed-off-by: Rash419 <rashesh.padia@collabora.com> Change-Id: If4c2b252ca53ecfe4e3db6722d2bb7cb5069a242
Diffstat (limited to 'cypress_test/integration_tests/desktop/calc')
-rw-r--r--cypress_test/integration_tests/desktop/calc/autofilter_spec.js10
-rw-r--r--cypress_test/integration_tests/desktop/calc/delete_objects_spec.js6
2 files changed, 3 insertions, 13 deletions
diff --git a/cypress_test/integration_tests/desktop/calc/autofilter_spec.js b/cypress_test/integration_tests/desktop/calc/autofilter_spec.js
index 9c85a2b883..25865dd4a9 100644
--- a/cypress_test/integration_tests/desktop/calc/autofilter_spec.js
+++ b/cypress_test/integration_tests/desktop/calc/autofilter_spec.js
@@ -133,16 +133,10 @@ describe('AutoFilter', function() {
//empty
openAutoFilterMenu(true);
- cy.contains('.autofilter', 'Empty')
+ cy.get('#check_list_box > tbody > ul > li:nth-child(1) > span > input')
.click();
- assertDataOnFilter(['Cypress Test', 'Status', 'Test 4', '']);
-
- //non-empty
- openAutoFilterMenu(true);
-
- cy.contains('.autofilter', 'Not Empty')
- .click();
+ cy.get('#ok').click();
assertDataOnFilter(['Cypress Test', 'Status', 'Test 1', 'Pass', 'Test 2', 'Fail', 'Test 3', 'Pass', 'Test 5', 'Fail']);
});
diff --git a/cypress_test/integration_tests/desktop/calc/delete_objects_spec.js b/cypress_test/integration_tests/desktop/calc/delete_objects_spec.js
index c275ac4c9e..2bd76bcc1c 100644
--- a/cypress_test/integration_tests/desktop/calc/delete_objects_spec.js
+++ b/cypress_test/integration_tests/desktop/calc/delete_objects_spec.js
@@ -53,11 +53,7 @@ describe('Delete Objects', function() {
cy.get('#tb_editbar_item_insertobjectchart')
.click();
- cy.get('.lokdialog_canvas').click();
-
- helper.typeIntoDocument('{shift}{enter}');
-
- cy.wait(2000);
+ cy.get('.ui-pushbutton.jsdialog.button-primary').click();
cy.get('.leaflet-control-buttons-disabled path.leaflet-interactive')
.should('exist');