summaryrefslogtreecommitdiffstats
path: root/cypress_test/integration_tests/desktop/writer
diff options
context:
space:
mode:
authorMarco Cecchetti <marco.cecchetti@collabora.com>2023-06-22 08:27:29 +0200
committerMarco Cecchetti <mrcekets@gmail.com>2023-06-29 13:43:13 +0200
commitef02d909a2e7ef8a40f3ebfc0372b7e5a02f25cb (patch)
treedad790b93d50a1b96531f2027e91520cf498ac84 /cypress_test/integration_tests/desktop/writer
parentScripts: Add parser used in forum for monthly leaderboard (diff)
downloadonline-ef02d909a2e7ef8a40f3ebfc0372b7e5a02f25cb.tar.gz
online-ef02d909a2e7ef8a40f3ebfc0372b7e5a02f25cb.zip
a cypress env var for enable/disable a11y on testing + a a11y tags
Now you can use CYPRESS_A11Y for enable/disable accessibility state on testing. Moreover you can use the taga11yenabled tag for tests that should be run only when accessibility is enabled, and the taga11ydisabled tag for test that should be run only when accessibility is disabled Signed-off-by: Marco Cecchetti <marco.cecchetti@collabora.com> Change-Id: I4c44e78e5394477b64cc17ac6b815d9d70b059f5
Diffstat (limited to 'cypress_test/integration_tests/desktop/writer')
-rw-r--r--cypress_test/integration_tests/desktop/writer/editable_area_spec.js16
1 files changed, 8 insertions, 8 deletions
diff --git a/cypress_test/integration_tests/desktop/writer/editable_area_spec.js b/cypress_test/integration_tests/desktop/writer/editable_area_spec.js
index 1c5734953f..d6c37912e8 100644
--- a/cypress_test/integration_tests/desktop/writer/editable_area_spec.js
+++ b/cypress_test/integration_tests/desktop/writer/editable_area_spec.js
@@ -4,7 +4,7 @@ var helper = require('../../common/helper');
var ceHelper = require('../../common/contenteditable_helper');
// var repairHelper = require('../../common/repair_document_helper');
-describe(['tagdesktop', 'tagnextcloud', 'tagproxy'], 'Editable area - Empty paragraph', function() {
+describe(['taga11yenabled'], 'Editable area - Empty paragraph', function() {
var testFileName = 'undo_redo.odt';
beforeEach(function () {
@@ -51,7 +51,7 @@ describe(['tagdesktop', 'tagnextcloud', 'tagproxy'], 'Editable area - Empty para
});
});
-describe(['tagdesktop', 'tagnextcloud', 'tagproxy'], 'Editable area - Basic typing and caret moving', function() {
+describe(['taga11yenabled'], 'Editable area - Basic typing and caret moving', function() {
var testFileName = 'undo_redo.odt';
beforeEach(function () {
@@ -351,7 +351,7 @@ describe(['tagdesktop', 'tagnextcloud', 'tagproxy'], 'Editable area - Basic typi
});
});
-describe(['tagdesktop', 'tagnextcloud', 'tagproxy'], 'Editable area - Inner selection', function() {
+describe(['taga11yenabled'], 'Editable area - Inner selection', function() {
var testFileName = 'undo_redo.odt';
beforeEach(function () {
@@ -495,7 +495,7 @@ describe(['tagdesktop', 'tagnextcloud', 'tagproxy'], 'Editable area - Inner sele
});
});
-describe(['tagdesktop', 'tagnextcloud', 'tagproxy'], 'Editable area - Multi-paragraph selection', function() {
+describe(['taga11yenabled'], 'Editable area - Multi-paragraph selection', function() {
var testFileName = 'undo_redo.odt';
beforeEach(function () {
@@ -650,7 +650,7 @@ describe(['tagdesktop', 'tagnextcloud', 'tagproxy'], 'Editable area - Multi-para
});
});
-describe(['tagdesktop', 'tagnextcloud', 'tagproxy'], 'Editable area - Empty selection', function() {
+describe(['taga11yenabled'], 'Editable area - Empty selection', function() {
var testFileName = 'undo_redo.odt';
beforeEach(function () {
@@ -736,7 +736,7 @@ describe(['tagdesktop', 'tagnextcloud', 'tagproxy'], 'Editable area - Empty sele
});
});
-describe(['tagdesktop', 'tagnextcloud', 'tagproxy'], 'Editable area - Undo/Redo', function() {
+describe(['taga11yenabled'], 'Editable area - Undo/Redo', function() {
var testFileName = 'undo_redo.odt';
beforeEach(function () {
@@ -816,7 +816,7 @@ describe(['tagdesktop', 'tagnextcloud', 'tagproxy'], 'Editable area - Undo/Redo'
});
});
-describe(['tagdesktop', 'tagnextcloud', 'tagproxy'], 'Editable area - More typing', function() {
+describe(['taga11yenabled'], 'Editable area - More typing', function() {
var testFileName = 'undo_redo.odt';
beforeEach(function() {
@@ -908,7 +908,7 @@ describe(['tagdesktop', 'tagnextcloud', 'tagproxy'], 'Editable area - More typin
// ◦ Item 1.2
// • Item 2
// • Item 3
-describe(['tagdesktop', 'tagnextcloud', 'tagproxy'], 'Editable area - Unordered lists', function() {
+describe(['taga11yenabled'], 'Editable area - Unordered lists', function() {
var testFileName = 'unordered_list.odt';
beforeEach(function () {