[Libreoffice-commits] online.git: cypress_test/integration_tests
Tamás Zolnai (via logerrit)
logerrit at kemper.freedesktop.org
Fri Apr 10 10:48:32 UTC 2020
cypress_test/integration_tests/mobile/writer/shape_properties_spec.js | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
New commits:
commit fcd304ad5e5a0ee45d746c5d5951817c512e228c
Author: Tamás Zolnai <tamas.zolnai at collabora.com>
AuthorDate: Fri Apr 10 12:14:07 2020 +0200
Commit: Tamás Zolnai <tamas.zolnai at collabora.com>
CommitDate: Fri Apr 10 12:48:10 2020 +0200
cypress: mobile: fix random failure of 'Change line transparency' test.
Using an indicator after changing the trasnparency solves the issue.
Change-Id: I21f3f0571dbc42685594c868c056ce1b314df714
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92030
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/shape_properties_spec.js b/cypress_test/integration_tests/mobile/writer/shape_properties_spec.js
index 2d3e8bb7c..dcb47e03a 100644
--- a/cypress_test/integration_tests/mobile/writer/shape_properties_spec.js
+++ b/cypress_test/integration_tests/mobile/writer/shape_properties_spec.js
@@ -58,10 +58,8 @@ describe('Change shape properties via mobile wizard.', function() {
cy.get('#PosSizePropertyPanel')
.click();
- // TODO: we have some aditional flickering here
cy.get('.ui-content.level-0.mobile-wizard')
- .should('be.visible')
- .wait(300);
+ .should('be.visible');
}
function openLinePropertyPanel() {
@@ -276,6 +274,9 @@ describe('Change shape properties via mobile wizard.', function() {
.type('20')
.type('{enter}');
+ cy.get('#linetransparency .spinfield')
+ .should('have.attr', 'value', '20');
+
triggerNewSVG();
cy.get('.leaflet-pane.leaflet-overlay-pane svg g svg g g g defs mask linearGradient')
More information about the Libreoffice-commits
mailing list