summaryrefslogtreecommitdiffstats
path: root/cypress_test
diff options
context:
space:
mode:
authorRash419 <rashesh.padia@collabora.com>2021-10-25 15:57:10 +0530
committerRashesh Padia <rasheshpadia419@gmail.com>2021-10-25 19:28:27 +0530
commit2460f0d162f52ebb4e989c9898fe670220141911 (patch)
treef3b22f6d7d482897d5e81f75db500482adca3fa9 /cypress_test
parentNB:shortcutsbar: don't apply filter to integrators' btns (diff)
downloadonline-2460f0d162f52ebb4e989c9898fe670220141911.tar.gz
online-2460f0d162f52ebb4e989c9898fe670220141911.zip
cypress: fix: close sidebar so elements don't overlap
Signed-off-by: Rash419 <rashesh.padia@collabora.com> Change-Id: Iab554b3866edb4dec0c42f501b9d62e2b5369929
Diffstat (limited to 'cypress_test')
-rw-r--r--cypress_test/integration_tests/desktop/impress/annotation_spec.js7
-rw-r--r--cypress_test/integration_tests/multiuser/calc/repair_document_spec.js2
2 files changed, 9 insertions, 0 deletions
diff --git a/cypress_test/integration_tests/desktop/impress/annotation_spec.js b/cypress_test/integration_tests/desktop/impress/annotation_spec.js
index 54e680358b..ab3ca14d2d 100644
--- a/cypress_test/integration_tests/desktop/impress/annotation_spec.js
+++ b/cypress_test/integration_tests/desktop/impress/annotation_spec.js
@@ -177,6 +177,13 @@ describe('Comment Scrolling',function() {
beforeEach(function() {
helper.beforeAll(testFileName, 'impress');
+
+ if (Cypress.env('USER_INTERFACE') === 'notebookbar') {
+ cy.get('#ModifyPage').click();
+ } else {
+ desktopHelper.hideSidebar();
+ }
+ desktopHelper.selectZoomLevel('50');
});
afterEach(function() {
diff --git a/cypress_test/integration_tests/multiuser/calc/repair_document_spec.js b/cypress_test/integration_tests/multiuser/calc/repair_document_spec.js
index 6b05b36ee5..cc15e026c3 100644
--- a/cypress_test/integration_tests/multiuser/calc/repair_document_spec.js
+++ b/cypress_test/integration_tests/multiuser/calc/repair_document_spec.js
@@ -32,6 +32,8 @@ describe('Repair Document', function() {
helper.typeIntoDocument('Hello{enter}', frameId2);
+ cy.wait(1000);
+
cy.customGet('#menu-editmenu', frameId2).click()
.customGet('#menu-repair', frameId2).click();