summaryrefslogtreecommitdiffstats
path: root/cypress_test
diff options
context:
space:
mode:
authorTamás Zolnai <tamas.zolnai@collabora.com>2021-03-18 09:51:26 +0100
committerTamás Zolnai <zolnaitamas2000@gmail.com>2021-03-19 17:35:00 +0100
commitac9fb051f5fe31b239322a5d1b205a2e43cdc84e (patch)
tree71cc7b2464e9653058a271ad651f5fdf9e94d5be /cypress_test
parentcypress: disable macro test for NC run. (diff)
downloadonline-ac9fb051f5fe31b239322a5d1b205a2e43cdc84e.tar.gz
online-ac9fb051f5fe31b239322a5d1b205a2e43cdc84e.zip
cypress: remove this unreliable test.
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com> Change-Id: I00467a0c0102b0a5022cf9c809c48f2a7965f7e9 (cherry picked from commit dacffbc3ee2a2e5a6cd4eb88b4e7a96c99708e1b)
Diffstat (limited to 'cypress_test')
-rw-r--r--cypress_test/Makefile.am3
-rw-r--r--cypress_test/integration_tests/multiuser/impress/slide_operations_user1_spec.js38
-rw-r--r--cypress_test/integration_tests/multiuser/impress/slide_operations_user2_spec.js42
3 files changed, 1 insertions, 82 deletions
diff --git a/cypress_test/Makefile.am b/cypress_test/Makefile.am
index 5057afb9c3..9463fb06ec 100644
--- a/cypress_test/Makefile.am
+++ b/cypress_test/Makefile.am
@@ -70,8 +70,7 @@ MULTIUSER_TESTS= \
writer/paragraph_prop \
writer/sidebar_visibility \
writer/simultaneous_typing \
- calc/sheet_operations \
- impress/slide_operations
+ calc/sheet_operations
MOBILE_TEST_FILES_DONE= \
$(foreach test_file,$(MOBILE_TEST_FILES),$(MOBILE_TRACK_FOLDER)/$(test_file).done)
diff --git a/cypress_test/integration_tests/multiuser/impress/slide_operations_user1_spec.js b/cypress_test/integration_tests/multiuser/impress/slide_operations_user1_spec.js
deleted file mode 100644
index f70fffe201..0000000000
--- a/cypress_test/integration_tests/multiuser/impress/slide_operations_user1_spec.js
+++ /dev/null
@@ -1,38 +0,0 @@
-/* global describe it cy beforeEach require afterEach */
-
-var helper = require('../../common/helper');
-var impressHelper = require('../../common/impress_helper');
-
-describe('Slide operations: user-1.', function() {
- var testFileName = 'slide_operations.odp';
-
- beforeEach(function() {
- helper.beforeAll(testFileName, 'impress');
- });
-
- afterEach(function() {
- helper.afterAll(testFileName, this.currentTest.state);
- });
-
- it('Insert/delete slide.', function() {
- // user-2 loads the same document
- cy.get('#tb_actionbar_item_userlist')
- .should('be.visible');
-
- cy.get('#tb_actionbar_item_userlist .w2ui-tb-caption')
- .should('have.text', '2 users');
-
- // We have one slide by default
- impressHelper.assertNumberOfSlidePreviews(1);
-
- // Add one more slide
- cy.get('#tb_presentation-toolbar_item_insertpage')
- .click();
-
- impressHelper.assertNumberOfSlidePreviews(2);
-
- // then user-2 removes one of the slides
- impressHelper.assertNumberOfSlidePreviews(1);
- });
-
-});
diff --git a/cypress_test/integration_tests/multiuser/impress/slide_operations_user2_spec.js b/cypress_test/integration_tests/multiuser/impress/slide_operations_user2_spec.js
deleted file mode 100644
index 1d27d8dee1..0000000000
--- a/cypress_test/integration_tests/multiuser/impress/slide_operations_user2_spec.js
+++ /dev/null
@@ -1,42 +0,0 @@
-/* global describe it cy beforeEach require afterEach */
-
-var helper = require('../../common/helper');
-var impressHelper = require('../../common/impress_helper');
-
-describe('Slide operations: user-2.', function() {
- var testFileName = 'slide_operations.odp';
-
- beforeEach(function() {
- helper.beforeAll(testFileName, 'impress', true);
- });
-
- afterEach(function() {
- helper.afterAll(testFileName, this.currentTest.state);
- });
-
- it('Insert/delete slide.', function() {
- // user-1 loads the same document
- cy.get('#tb_actionbar_item_userlist')
- .should('be.visible');
-
- cy.get('#tb_actionbar_item_userlist .w2ui-tb-caption')
- .should('have.text', '2 users');
-
- // user-1 inserts a new slide
- impressHelper.assertNumberOfSlidePreviews(2);
-
- // remove the second slide
- cy.get('#slide-sorter .preview-frame:nth-of-type(3)')
- .click();
-
- cy.get('#slide-sorter .preview-frame:nth-of-type(3) .preview-img')
- .should('have.class', 'preview-img-currentpart');
-
- helper.clickOnIdle('#tb_presentation-toolbar_item_deletepage');
-
- cy.get('.vex-dialog-form .vex-dialog-button-primary')
- .click();
-
- impressHelper.assertNumberOfSlidePreviews(1);
- });
-});