[Libreoffice-commits] online.git: cypress_test/integration_tests
mert (via logerrit)
logerrit at kemper.freedesktop.org
Wed Apr 15 12:33:08 UTC 2020
cypress_test/integration_tests/mobile/calc/number_format_spec.js | 16 +++++-----
1 file changed, 8 insertions(+), 8 deletions(-)
New commits:
commit 744b1ced2a90d319474d198a9a4eed5e821be912
Author: mert <mert.tumer at collabora.com>
AuthorDate: Wed Apr 15 15:08:30 2020 +0300
Commit: Tamás Zolnai <tamas.zolnai at collabora.com>
CommitDate: Wed Apr 15 14:32:51 2020 +0200
fix cypress failure due to id change of element
Change-Id: I1df07e10c4b3c5bdc88417eb785dc711fc6dd0e2
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92265
Tested-by: Tamás Zolnai <tamas.zolnai at collabora.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai at collabora.com>
diff --git a/cypress_test/integration_tests/mobile/calc/number_format_spec.js b/cypress_test/integration_tests/mobile/calc/number_format_spec.js
index 79cb17cc0..dbf8f7ddc 100644
--- a/cypress_test/integration_tests/mobile/calc/number_format_spec.js
+++ b/cypress_test/integration_tests/mobile/calc/number_format_spec.js
@@ -22,7 +22,7 @@ describe('Apply number formatting.', function() {
cy.get('#ScNumberFormatPropertyPanel')
.click();
- cy.get('#category')
+ cy.get('#numberformatcombobox')
.should('be.visible');
});
@@ -32,14 +32,14 @@ describe('Apply number formatting.', function() {
function selectFormatting(formattingString) {
// Select formatting list
- cy.get('#category')
+ cy.get('#numberformatcombobox')
.click();
cy.contains('.mobile-wizard.ui-combobox-text', formattingString)
.click();
// Combobox entry contains the selected format
- cy.get('#category .ui-header-left')
+ cy.get('#numberformatcombobox .ui-header-left')
.should('have.text', formattingString);
}
@@ -82,7 +82,7 @@ describe('Apply number formatting.', function() {
.should('have.class', 'selected');
// TODO: combobox entry is not updated
- //cy.get('#category .ui-header-left')
+ //cy.get('#numberformatcombobox .ui-header-left')
// .should('have.text', 'Percent');
// Decimal and leading zeros are changed.
@@ -140,7 +140,7 @@ describe('Apply number formatting.', function() {
.should('have.class', 'selected');
// TODO: combobox entry is not updated
- //cy.get('#category .ui-header-left')
+ //cy.get('#numberformatcombobox .ui-header-left')
// .should('have.text', 'Currency');
// Decimal and leading zeros are changed.
@@ -207,7 +207,7 @@ describe('Apply number formatting.', function() {
// .should('have.class', 'selected');
// TODO: combobox entry is not updated
- //cy.get('#category .ui-header-left')
+ //cy.get('#numberformatcombobox .ui-header-left')
// .should('have.text', 'Number');
calcHelper.copyContentToClipboard();
@@ -218,14 +218,14 @@ describe('Apply number formatting.', function() {
it('Select date format from list.', function() {
// Change to date
- cy.get('#category')
+ cy.get('#numberformatcombobox')
.click();
cy.contains('.mobile-wizard.ui-combobox-text', 'Date')
.click();
// Combobox entry contains the selected format
- cy.get('#category .ui-header-left')
+ cy.get('#numberformatcombobox .ui-header-left')
.should('have.text', 'Date ');
// Decimal and leading zeros are changed.
More information about the Libreoffice-commits
mailing list