cypress_test/integration_tests/mobile/writer/shape_properties_spec.js |   14 
++--------
 1 file changed, 4 insertions(+), 10 deletions(-)

New commits:
commit 4a9ae824975948b6c4f582db1a02306e8fbd3675
Author:     Tamás Zolnai <tamas.zol...@collabora.com>
AuthorDate: Wed Jul 8 16:29:41 2020 +0200
Commit:     Tamás Zolnai <tamas.zol...@collabora.com>
CommitDate: Wed Jul 8 18:27:10 2020 +0200

    cypress: reenable some shape related tests.
    
    Change-Id: Ic21b812cf8c0370dcab9e8474f30206a2b88f70a
    Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98381
    Tested-by: Jenkins
    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/shape_properties_spec.js 
b/cypress_test/integration_tests/mobile/writer/shape_properties_spec.js
index e8c442cee..6f5b43321 100644
--- a/cypress_test/integration_tests/mobile/writer/shape_properties_spec.js
+++ b/cypress_test/integration_tests/mobile/writer/shape_properties_spec.js
@@ -113,7 +113,7 @@ describe('Change shape properties via mobile wizard.', 
function() {
                        .should('have.attr', 'd', 'M 1965,4863 L 7957,18073 
1965,18073 1965,4863 1965,4863 Z');
        });
 
-       it.skip('Change size with keep ratio enabled.', function() {
+       it('Change size with keep ratio enabled.', function() {
                openPosSizePanel();
 
                // Enable keep ratio
@@ -122,14 +122,8 @@ describe('Change shape properties via mobile wizard.', 
function() {
                cy.get('#ratio #ratio')
                        .should('have.prop', 'checked', true);
 
-               // TODO: flickering here?
-               cy.wait(300);
-
                // Change height
-               cy.get('#selectheight .spinfield')
-                       .clear()
-                       .type('5.2')
-                       .type('{enter}');
+               helper.inputOnIdle('#selectheight .spinfield', '5.2');
 
                cy.get('.leaflet-pane.leaflet-overlay-pane svg g svg g g g 
path')
                        .should('not.have.attr', 'd', defaultGeometry);
@@ -195,7 +189,7 @@ describe('Change shape properties via mobile wizard.', 
function() {
                        .should('have.attr', 'stroke', 'rgb(152,0,0)');
        });
 
-       it.skip('Change line style', function() {
+       it('Change line style', function() {
                openLinePropertyPanel();
 
                helper.clickOnIdle('#linestyle');
@@ -208,7 +202,7 @@ describe('Change shape properties via mobile wizard.', 
function() {
                        .should('have.length.greaterThan', 12);
        });
 
-       it.skip('Change line width', function() {
+       it('Change line width', function() {
                openLinePropertyPanel();
 
                cy.get('#linewidth .spinfield')
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to