diff options
author | Szymon Kłos <szymon.klos@collabora.com> | 2022-09-12 20:47:43 +0200 |
---|---|---|
committer | Gökay ŞATIR <gokaysatir@gmail.com> | 2022-09-19 17:37:01 +0300 |
commit | 9f11337a99912fd6188d04a4b422a593ed759c4c (patch) | |
tree | a3b0c2d32ad874b265d807bb629287188837ee3e | |
parent | sidebar: show on demand (diff) | |
download | online-9f11337a99912fd6188d04a4b422a593ed759c4c.tar.gz online-9f11337a99912fd6188d04a4b422a593ed759c4c.zip |
cypress: use class instead of id in calc/alignment_options_spec.js
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Ic3a6035dd0ace1305f2e48fc39972f8227d24fa8
-rw-r--r-- | cypress_test/integration_tests/mobile/calc/alignment_options_spec.js | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/cypress_test/integration_tests/mobile/calc/alignment_options_spec.js b/cypress_test/integration_tests/mobile/calc/alignment_options_spec.js index 5ceae11565..f9853a99da 100644 --- a/cypress_test/integration_tests/mobile/calc/alignment_options_spec.js +++ b/cypress_test/integration_tests/mobile/calc/alignment_options_spec.js @@ -43,7 +43,7 @@ describe('Change alignment settings.', function() { helper.clickOnIdle('#ScAlignmentPropertyPanel'); - cy.get('#AlignLeft') + cy.get('.unoAlignLeft') .should('be.visible'); } @@ -51,7 +51,7 @@ describe('Change alignment settings.', function() { openAlignmentPaneForFirstCell(); // Set right aligment first - helper.clickOnIdle('#AlignRight'); + helper.clickOnIdle('.unoAlignRight'); calcHelper.selectEntireSheet(); @@ -65,7 +65,7 @@ describe('Change alignment settings.', function() { helper.clickOnIdle('#ScAlignmentPropertyPanel'); - helper.clickOnIdle('#AlignLeft'); + helper.clickOnIdle('.unoAlignLeft'); calcHelper.selectEntireSheet(); @@ -76,7 +76,7 @@ describe('Change alignment settings.', function() { it('Align to center horizontally.', function() { openAlignmentPaneForFirstCell(); - helper.clickOnIdle('#AlignHorizontalCenter'); + helper.clickOnIdle('.unoAlignHorizontalCenter'); calcHelper.selectEntireSheet(); @@ -87,7 +87,7 @@ describe('Change alignment settings.', function() { it('Change to block alignment.', function() { openAlignmentPaneForFirstCell(); - helper.clickOnIdle('#AlignBlock'); + helper.clickOnIdle('.unoAlignBlock'); calcHelper.selectEntireSheet(); @@ -112,7 +112,7 @@ describe('Change alignment settings.', function() { it('Align to the top and to bottom.', function() { openAlignmentPaneForFirstCell(); - helper.clickOnIdle('#AlignTop'); + helper.clickOnIdle('.unoAlignTop'); calcHelper.selectEntireSheet(); @@ -126,7 +126,7 @@ describe('Change alignment settings.', function() { helper.clickOnIdle('#ScAlignmentPropertyPanel'); - helper.clickOnIdle('#AlignBottom'); + helper.clickOnIdle('.unoAlignBottom'); calcHelper.selectEntireSheet(); @@ -137,7 +137,7 @@ describe('Change alignment settings.', function() { it('Align to center vertically.', function() { openAlignmentPaneForFirstCell(); - helper.clickOnIdle('#AlignVCenter'); + helper.clickOnIdle('.unoAlignVCenter'); calcHelper.selectEntireSheet(); @@ -265,7 +265,7 @@ describe('Change alignment settings.', function() { helper.clickOnIdle('#ScAlignmentPropertyPanel'); - cy.get('#AlignLeft') + cy.get('.unoAlignLeft') .should('be.visible'); cy.get('input#mergecells') |