summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCaolán McNamara <caolan.mcnamara@collabora.com>2024-04-15 17:02:22 +0100
committerAndras Timar <andras.timar@collabora.com>2024-04-16 13:22:56 +0200
commite3d5c168c1c3a954b5569daa6c45c6b91c584d69 (patch)
treed0319c4ef7efa3f9378951711722d6eb6b630623
parentunwanted extra quote at end of true in json (diff)
downloadonline-e3d5c168c1c3a954b5569daa6c45c6b91c584d69.tar.gz
online-e3d5c168c1c3a954b5569daa6c45c6b91c584d69.zip
try adding {force: true} to leaflet-layer clicks
error is: 1) Joining a document should not trigger an invalidation Join after document save and modify: CypressError: Timed out retrying after 10050ms: `cy.click()` failed because this element: `<div class="leaflet-layer" style="position: absolute; width: 642px; height: 484px;"></div>` is being covered by another element: `<div class="jsdialog ui-button-box end" id="">...</div>` Fix this problem, or use {force: true} to disable error checking. Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com> Change-Id: I8b0dde030b2aadf554db75872facb6c5c96a321c
-rw-r--r--cypress_test/integration_tests/multiuser/writer/invalidations_spec.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/cypress_test/integration_tests/multiuser/writer/invalidations_spec.js b/cypress_test/integration_tests/multiuser/writer/invalidations_spec.js
index 77e8947dd3..d8bba40fe1 100644
--- a/cypress_test/integration_tests/multiuser/writer/invalidations_spec.js
+++ b/cypress_test/integration_tests/multiuser/writer/invalidations_spec.js
@@ -36,7 +36,7 @@ describe(['tagmultiuser'], 'Joining a document should not trigger an invalidatio
cy.cSetActiveFrame('#iframe1');
writerHelper.selectAllTextOfDoc();
cy.cGet('#toolbar-down #StateWordCount').should('have.text', 'Selected: 1 word, 1 character');
- cy.cGet('.leaflet-layer').click();
+ cy.cGet('.leaflet-layer').click({force:true});
cy.cGet('#toolbar-down #StateWordCount').should('have.text', '1 word, 1 character');
cy.cGet('.empty-deltas').then(($before) => {
@@ -49,7 +49,7 @@ describe(['tagmultiuser'], 'Joining a document should not trigger an invalidatio
cy.cSetActiveFrame('#iframe1');
writerHelper.selectAllTextOfDoc();
cy.cGet('#toolbar-down #StateWordCount').should('have.text', 'Selected: 1 word, 1 character');
- cy.cGet('.leaflet-layer').click();
+ cy.cGet('.leaflet-layer').click({force:true});
cy.cGet('#toolbar-down #StateWordCount').should('have.text', '1 word, 1 character');
cy.cGet('.empty-deltas').should(($after) => {
@@ -76,7 +76,7 @@ describe(['tagmultiuser'], 'Joining a document should not trigger an invalidatio
cy.cSetActiveFrame('#iframe1');
writerHelper.selectAllTextOfDoc();
cy.cGet('#toolbar-down #StateWordCount').should('have.text', 'Selected: 1 word, 1 character');
- cy.cGet('.leaflet-layer').click();
+ cy.cGet('.leaflet-layer').click({force:true});
cy.cGet('#toolbar-down #StateWordCount').should('have.text', '1 word, 1 character');
cy.cGet('.empty-deltas').then(($before) => {
@@ -95,7 +95,7 @@ describe(['tagmultiuser'], 'Joining a document should not trigger an invalidatio
cy.cSetActiveFrame('#iframe1');
writerHelper.selectAllTextOfDoc();
cy.cGet('#toolbar-down #StateWordCount').should('have.text', 'Selected: 1 word, 1 character');
- cy.cGet('.leaflet-layer').click();
+ cy.cGet('.leaflet-layer').click({force:true});
cy.cGet('#toolbar-down #StateWordCount').should('have.text', '1 word, 1 character');
ceHelper.type('X');
cy.cGet('#toolbar-down #StateWordCount').should('have.text', '1 word, 2 characters');