[Libreoffice-commits] online.git: cypress_test/data cypress_test/integration_tests
Tamás Zolnai (via logerrit)
logerrit at kemper.freedesktop.org
Wed Apr 22 10:37:50 UTC 2020
cypress_test/integration_tests/desktop/example_desktop_test_spec.js | 34 ----------
dev/null |binary
2 files changed, 34 deletions(-)
New commits:
commit 06160fed5e5ffc8df8b13303e405bdcc8b47ca83
Author: Tamás Zolnai <tamas.zolnai at collabora.com>
AuthorDate: Wed Apr 22 11:32:29 2020 +0200
Commit: Tamás Zolnai <tamas.zolnai at collabora.com>
CommitDate: Wed Apr 22 12:37:32 2020 +0200
cypress: remove this example test code.
It was added initially to have some dekstop test too.
Now it fails, so no need to keep it.
Change-Id: I94aae2b5e86c46dfd5afa5decabb3333cefd1302
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92680
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai at collabora.com>
diff --git a/cypress_test/data/desktop/example.odt b/cypress_test/data/desktop/example.odt
deleted file mode 100644
index 833aa18fa..000000000
Binary files a/cypress_test/data/desktop/example.odt and /dev/null differ
diff --git a/cypress_test/integration_tests/desktop/example_desktop_test_spec.js b/cypress_test/integration_tests/desktop/example_desktop_test_spec.js
deleted file mode 100644
index 5f8f09e25..000000000
--- a/cypress_test/integration_tests/desktop/example_desktop_test_spec.js
+++ /dev/null
@@ -1,34 +0,0 @@
-/* global describe it cy require afterEach*/
-
-var helper = require('../common/helper');
-
-describe('Example test suit 1', function() {
-
- afterEach(function() {
- helper.afterAll('example.odt');
- });
-
- it('Example test case 1', function() {
- helper.loadTestDoc('example.odt');
-
- // Select a text
- cy.get('#document-container').dblclick();
- cy.get('.leaflet-marker-icon');
-
- // Click on bold toolbar button
- cy.get('#tb_editbar_item_bold').click();
-
- // Remove selection and do a reselection
- cy.get('#document-container').type('{leftarrow}');
- cy.get('.leaflet-marker-icon').should('not.be.visible');
-
- cy.get('#document-container').dblclick();
- cy.get('.leaflet-marker-icon');
-
- // Bold toolbar button is checked
- cy.get('#tb_editbar_item_bold table.w2ui-button.checked');
-
- // Click on bold toolbar button
- cy.get('#tb_editbar_item_bold').click();
- });
-});
More information about the Libreoffice-commits
mailing list