summaryrefslogtreecommitdiffstats
path: root/cypress_test/integration_tests/desktop/calc
diff options
context:
space:
mode:
authorSzymon Kłos <szymon.klos@collabora.com>2023-04-07 09:41:04 +0200
committerSzymon Kłos <eszkadev@gmail.com>2023-04-07 12:09:53 +0200
commit57ff9a33343bdde597574df19753c46d24137ca6 (patch)
tree9715120cabf38c7f28f1c4e59dab38b5679747b0 /cypress_test/integration_tests/desktop/calc
parentjsdialog: center radiobuttons without using exact units (diff)
downloadonline-57ff9a33343bdde597574df19753c46d24137ca6.tar.gz
online-57ff9a33343bdde597574df19753c46d24137ca6.zip
Revert of "a11y: TextInput: switch from <textarea> to content editable <div>"
This reverts commit 1d2607e8363dab839e7060ab38612123d284c98f. Signed-off-by: Szymon Kłos <szymon.klos@collabora.com> Change-Id: I6de00182cee32b37c6ced957431c3c21f2734c24
Diffstat (limited to 'cypress_test/integration_tests/desktop/calc')
-rw-r--r--cypress_test/integration_tests/desktop/calc/focus_spec.js4
-rw-r--r--cypress_test/integration_tests/desktop/calc/undo_redo_spec.js2
2 files changed, 3 insertions, 3 deletions
diff --git a/cypress_test/integration_tests/desktop/calc/focus_spec.js b/cypress_test/integration_tests/desktop/calc/focus_spec.js
index 8e586409ba..6d402714c7 100644
--- a/cypress_test/integration_tests/desktop/calc/focus_spec.js
+++ b/cypress_test/integration_tests/desktop/calc/focus_spec.js
@@ -27,7 +27,7 @@ describe('Calc focus tests', function() {
// Type some text.
var text1 = 'Hello from Calc';
- helper.typeText('#clipboard-area', text1);
+ helper.typeText('textarea.clipboard', text1);
calcHelper.typeIntoFormulabar('{enter}');
// Select the first cell to edit the same one.
@@ -46,7 +46,7 @@ describe('Calc focus tests', function() {
calcHelper.clickFormulaBar();
helper.assertCursorAndFocus();
var text2 = ', this is a test.';
- helper.typeText('#clipboard-area', text2);
+ helper.typeText('textarea.clipboard', text2);
// Validate.
calcHelper.typeIntoFormulabar('{ctrl}a');
helper.expectTextForClipboard(text1 + text2);
diff --git a/cypress_test/integration_tests/desktop/calc/undo_redo_spec.js b/cypress_test/integration_tests/desktop/calc/undo_redo_spec.js
index d57a84ed44..4e3e3e4cd6 100644
--- a/cypress_test/integration_tests/desktop/calc/undo_redo_spec.js
+++ b/cypress_test/integration_tests/desktop/calc/undo_redo_spec.js
@@ -16,7 +16,7 @@ describe('Editing Operations', function() {
});
function undo() {
- helper.typeText('#clipboard-area', 'Hello World');
+ helper.typeText('textarea.clipboard', 'Hello World');
helper.typeIntoDocument('{ctrl}z');