diff options
Diffstat (limited to 'cypress_test/integration_tests/common/helper.js')
-rw-r--r-- | cypress_test/integration_tests/common/helper.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cypress_test/integration_tests/common/helper.js b/cypress_test/integration_tests/common/helper.js index d1789530d..505315594 100644 --- a/cypress_test/integration_tests/common/helper.js +++ b/cypress_test/integration_tests/common/helper.js @@ -177,7 +177,8 @@ function detectLOCoreVersion() { cy.get('#lokit-version') .then(function(items) { expect(items).have.lengthOf(1); - if (items[0].textContent.includes('Collabora OfficeDev 6.2')) { + if (items[0].textContent.includes('Collabora') && + items[0].textContent.includes('6.2')) { Cypress.env('LO_CORE_VERSION', 'cp-6-2');} else { Cypress.env('LO_CORE_VERSION', 'master'); |