summaryrefslogtreecommitdiffstats
path: root/cypress_test
diff options
context:
space:
mode:
authorRash419 <rashesh.padia@collabora.com>2022-03-10 15:26:19 +0530
committerRashesh Padia <rasheshpadia419@gmail.com>2022-03-10 16:11:05 +0530
commit4853e464286fb69db86d58712fe004aee9b9dc91 (patch)
tree7ed16b9b46250d85227087897816a90bdbde5801 /cypress_test
parentLeaflet anchor-marker use var colors (diff)
downloadonline-4853e464286fb69db86d58712fe004aee9b9dc91.tar.gz
online-4853e464286fb69db86d58712fe004aee9b9dc91.zip
cypress:fix: writer/undo_redo_spec.js
Signed-off-by: Rash419 <rashesh.padia@collabora.com> Change-Id: I03d1f0ded1c177838bd493f11778ee1d4d8c542e
Diffstat (limited to 'cypress_test')
-rw-r--r--cypress_test/integration_tests/desktop/writer/undo_redo_spec.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/cypress_test/integration_tests/desktop/writer/undo_redo_spec.js b/cypress_test/integration_tests/desktop/writer/undo_redo_spec.js
index 75037b5529..a4fb3c0d80 100644
--- a/cypress_test/integration_tests/desktop/writer/undo_redo_spec.js
+++ b/cypress_test/integration_tests/desktop/writer/undo_redo_spec.js
@@ -48,6 +48,8 @@ describe('Editing Operations', function() {
cy.contains('.leaflet-popup-content table tbody tr','Typing: “World”')
.dblclick();
- helper.expectTextForClipboard('\nHello');
+ helper.selectAllText();
+
+ helper.expectTextForClipboard('\nHello \n');
});
});