[Libreoffice-commits] online.git: cypress_test/integration_tests

Tamás Zolnai (via logerrit) logerrit at kemper.freedesktop.org
Thu Feb 20 09:19:56 UTC 2020


 cypress_test/integration_tests/mobile/writer/styles_spec.js |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit 9eaecc1b0634604e5b8f0761659e7aa39076d4ee
Author:     Tamás Zolnai <tamas.zolnai at collabora.com>
AuthorDate: Thu Feb 20 09:41:41 2020 +0100
Commit:     Tamás Zolnai <tamas.zolnai at 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 <jenkinscollaboraoffice at gmail.com>
    Reviewed-by: Tamás Zolnai <tamas.zolnai at 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');
 


More information about the Libreoffice-commits mailing list