summaryrefslogtreecommitdiffstats
path: root/cypress_test/integration_tests
diff options
context:
space:
mode:
authorHenry Castro <hcastro@collabora.com>2021-11-03 09:00:09 -0400
committerJan Holesovsky <holesovsky@gmail.com>2021-11-10 17:18:56 +0100
commit5e023c745e3d37f811f531b6afd5ec15e6801828 (patch)
tree01b4fb6c6f8da26954aa67c15b1e0ad4e0fb0738 /cypress_test/integration_tests
parentdocker: update comment (diff)
downloadonline-5e023c745e3d37f811f531b6afd5ec15e6801828.tar.gz
online-5e023c745e3d37f811f531b6afd5ec15e6801828.zip
cypress: rename loleaflet -> browser
Change-Id: I2a68f397e2ef8e392ccea421020a2d3cfaf9d3b5 Signed-off-by: Henry Castro <hcastro@collabora.com>
Diffstat (limited to 'cypress_test/integration_tests')
-rw-r--r--cypress_test/integration_tests/common/helper.js8
-rw-r--r--cypress_test/integration_tests/common/interference_user_spec.js4
-rw-r--r--cypress_test/integration_tests/desktop/writer/copy_paste_spec.js2
3 files changed, 7 insertions, 7 deletions
diff --git a/cypress_test/integration_tests/common/helper.js b/cypress_test/integration_tests/common/helper.js
index d457f85e8e..c784e03e21 100644
--- a/cypress_test/integration_tests/common/helper.js
+++ b/cypress_test/integration_tests/common/helper.js
@@ -43,12 +43,12 @@ function loadTestDocNoIntegration(fileName, subFolder, noFileCopy, isMultiUser)
}
if (subFolder === undefined) {
- URI += '/loleaflet/' +
+ URI += '/browser/' +
Cypress.env('WSD_VERSION_HASH') +
'/cool.html?lang=en-US&file_path=file://' +
Cypress.env('DATA_WORKDIR') + fileName;
} else {
- URI += '/loleaflet/' +
+ URI += '/browser/' +
Cypress.env('WSD_VERSION_HASH') +
'/cool.html?lang=en-US&file_path=file://' +
Cypress.env('DATA_WORKDIR') + subFolder + '/' + fileName;
@@ -58,7 +58,7 @@ function loadTestDocNoIntegration(fileName, subFolder, noFileCopy, isMultiUser)
cy.viewport(2000,660);
var frameURI = 'http://localhost' +
':' + Cypress.env('SERVER_PORT') +
- '/loleaflet/' +
+ '/browser/' +
Cypress.env('WSD_VERSION_HASH') +
'/cypress-multiuser.html';
@@ -565,7 +565,7 @@ function afterAll(fileName, testState) {
// Make sure that the document is closed
cy.visit('http://admin:admin@localhost:' +
Cypress.env('SERVER_PORT') +
- '/loleaflet/dist/admin/admin.html');
+ '/browser/dist/admin/admin.html');
// https://github.com/cypress-io/cypress/issues/9207
if (testState === 'failed') {
diff --git a/cypress_test/integration_tests/common/interference_user_spec.js b/cypress_test/integration_tests/common/interference_user_spec.js
index 0955cc7375..5151a0d637 100644
--- a/cypress_test/integration_tests/common/interference_user_spec.js
+++ b/cypress_test/integration_tests/common/interference_user_spec.js
@@ -18,7 +18,7 @@ describe('Interfering second user.', function() {
// Wait for the user-1 to open the document
cy.visit('http://admin:admin@localhost:' +
Cypress.env('SERVER_PORT') +
- '/loleaflet/dist/admin/admin.html');
+ '/browser/dist/admin/admin.html');
cy.get('#uptime')
.should('not.have.text', '0');
@@ -69,7 +69,7 @@ describe('Interfering second user.', function() {
// If there is no more document we can assume the test is finished.
cy.visit('http://admin:admin@localhost:' +
Cypress.env('SERVER_PORT') +
- '/loleaflet/dist/admin/admin.html');
+ '/browser/dist/admin/admin.html');
cy.get('#uptime')
.should('not.have.text', '0');
diff --git a/cypress_test/integration_tests/desktop/writer/copy_paste_spec.js b/cypress_test/integration_tests/desktop/writer/copy_paste_spec.js
index da3695e7fb..2788604c68 100644
--- a/cypress_test/integration_tests/desktop/writer/copy_paste_spec.js
+++ b/cypress_test/integration_tests/desktop/writer/copy_paste_spec.js
@@ -29,7 +29,7 @@ describe('Clipboard operations.', function() {
cy.contains('.context-menu-link', 'Copy')
.click();
- // Loleaflet code can not execute document.execCommand() when executed by cypress
+ // COOL code can not execute document.execCommand() when executed by cypress
// https://github.com/cypress-io/cypress/issues/2851
cy.get('.vex-dialog-message p')
.should('have.text', 'Your browser has very limited access to the clipboard, so use these keyboard shortcuts:');