cypress_test/integration_tests/mobile/writer/styles_spec.js | 3 +++ 1 file changed, 3 insertions(+)
New commits: commit 9eaecc1b0634604e5b8f0761659e7aa39076d4ee Author: Tamás Zolnai <tamas.zol...@collabora.com> AuthorDate: Thu Feb 20 09:41:41 2020 +0100 Commit: Tamás Zolnai <tamas.zol...@collabora.com> CommitDate: Thu Feb 20 10:19:38 2020 +0100 cypress: mobile: Fix-up hidden style items test. Without waiting for the mobile wizard to be opened the not exist check will allways pass no matter whether the items are actually hidden or not. First we need an indicator that the mobile wizard is opened and then we can check whether the removed styles items are not there. Change-Id: I00c1aaf6e11351cf8714be3ed6d5b9d2ff000324 Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89074 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com> Reviewed-by: Tamás Zolnai <tamas.zol...@collabora.com> diff --git a/cypress_test/integration_tests/mobile/writer/styles_spec.js b/cypress_test/integration_tests/mobile/writer/styles_spec.js index 6d0a25064..48023b2bf 100644 --- a/cypress_test/integration_tests/mobile/writer/styles_spec.js +++ b/cypress_test/integration_tests/mobile/writer/styles_spec.js @@ -93,6 +93,9 @@ describe('Apply/modify styles.', function() { cy.get('#tb_actionbar_item_mobile_wizard') .click(); + cy.get('#applystyle') + .should('exist'); + cy.get('#StyleUpdateByExample') .should('not.exist'); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits