summaryrefslogtreecommitdiffstats
path: root/cypress_test/integration_tests/desktop/writer
diff options
context:
space:
mode:
authorNickWingate <nick.wingate@collabora.com>2023-02-21 11:40:29 +0000
committerRashesh Padia <rasheshpadia419@gmail.com>2023-02-21 21:15:45 +0530
commite63b58eeff889088eaa525e3cd59d8c6cb0d4899 (patch)
tree428f4d5260cd563226a4bd55fa18db6094d875d7 /cypress_test/integration_tests/desktop/writer
parentDocument repair checks for jsdialog (diff)
downloadonline-e63b58eeff889088eaa525e3cd59d8c6cb0d4899.tar.gz
online-e63b58eeff889088eaa525e3cd59d8c6cb0d4899.zip
Specify which part of comment box to click
Three elements have the `.cool-annotation-collapsed` tag Specify the correct one Signed-off-by: NickWingate <nick.wingate@collabora.com> Change-Id: I1c8f16c9ef7cfedecf02fe0c46afbf5cbde90a7c
Diffstat (limited to 'cypress_test/integration_tests/desktop/writer')
-rw-r--r--cypress_test/integration_tests/desktop/writer/help_dialog_update_spec.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/cypress_test/integration_tests/desktop/writer/help_dialog_update_spec.js b/cypress_test/integration_tests/desktop/writer/help_dialog_update_spec.js
index d6f78768ca..a8e089d209 100644
--- a/cypress_test/integration_tests/desktop/writer/help_dialog_update_spec.js
+++ b/cypress_test/integration_tests/desktop/writer/help_dialog_update_spec.js
@@ -89,11 +89,11 @@ describe('Help dialog screenshot updation', function() {
cy.get('#new-mobile-comment-input-area').type('comment added');
- cy.get('.vex-dialog-buttons .button-primary').click();
+ cy.get('.vex-dialog-buttons .button-primary').click(); // save button
cy.wait(1000);
- cy.get('.cool-annotation-collapsed').click();
+ cy.get('.jsdialog-container.cool-annotation-collapsed').click();
cy.wait(1000);