diff options
author | Szymon Kłos <szymon.klos@collabora.com> | 2023-05-19 10:08:34 +0200 |
---|---|---|
committer | Szymon Kłos <eszkadev@gmail.com> | 2023-05-25 13:16:29 +0200 |
commit | 8fe7cf5fec3735d2f6dc5ccbb59b9689ead4f0c9 (patch) | |
tree | 7e65ca46c754ac4cc3087ec761c5d18b9dce6b55 /cypress_test/integration_tests/desktop/writer | |
parent | Added image path for icons when toggle to dark theme (diff) | |
download | online-8fe7cf5fec3735d2f6dc5ccbb59b9689ead4f0c9.tar.gz online-8fe7cf5fec3735d2f6dc5ccbb59b9689ead4f0c9.zip |
navigator: fix switching in compact mode
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Ia5582f36df528235e6ca3f8df583412becd47203
Diffstat (limited to 'cypress_test/integration_tests/desktop/writer')
-rw-r--r-- | cypress_test/integration_tests/desktop/writer/annotation_spec.js | 4 | ||||
-rw-r--r-- | cypress_test/integration_tests/desktop/writer/top_toolbar_spec.js | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/cypress_test/integration_tests/desktop/writer/annotation_spec.js b/cypress_test/integration_tests/desktop/writer/annotation_spec.js index db76d8fb9e..2bf1124756 100644 --- a/cypress_test/integration_tests/desktop/writer/annotation_spec.js +++ b/cypress_test/integration_tests/desktop/writer/annotation_spec.js @@ -12,7 +12,7 @@ describe(['tagdesktop'], 'Annotation Tests', function() { cy.viewport(1400, 600); testFileName = helper.beforeAll(origTestFileName, 'writer'); desktopHelper.switchUIToNotebookbar(); - cy.cGet('[id="SidebarDeck.PropertyDeck"]').click(); // Hide sidebar. + cy.cGet('#optionscontainer div[id^="SidebarDeck.PropertyDeck"]').click(); // Hide sidebar. selectZoomLevel('50'); }); @@ -70,7 +70,7 @@ describe(['tagdesktop'], 'Collapsed Annotation Tests', function() { beforeEach(function() { helper.beforeAll(testFileName, 'writer'); desktopHelper.switchUIToNotebookbar(); - cy.cGet('[id="SidebarDeck.PropertyDeck"]').click(); // Hide sidebar. + cy.cGet('#optionscontainer div[id^="SidebarDeck.PropertyDeck"]').click(); // Hide sidebar. }); afterEach(function() { diff --git a/cypress_test/integration_tests/desktop/writer/top_toolbar_spec.js b/cypress_test/integration_tests/desktop/writer/top_toolbar_spec.js index 126b3511d0..89a617e762 100644 --- a/cypress_test/integration_tests/desktop/writer/top_toolbar_spec.js +++ b/cypress_test/integration_tests/desktop/writer/top_toolbar_spec.js @@ -298,10 +298,10 @@ describe(['tagdesktop'], 'Top toolbar tests.', function() { cy.cGet('#View-tab-label').click(); cy.cGet('#sidebar-dock-wrapper').should('be.visible'); // Hide. - cy.cGet('#Sidebar').click(); + cy.cGet('[id="SidebarDeck.PropertyDeck"]').click(); cy.cGet('#sidebar-dock-wrapper').should('not.be.visible'); // Show. - cy.cGet('#Sidebar').click(); + cy.cGet('[id="SidebarDeck.PropertyDeck"]').click(); cy.cGet('#sidebar-dock-wrapper').should('be.visible'); }); |