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

Tamás Zolnai (via logerrit) logerrit at kemper.freedesktop.org
Wed Jun 24 16:59:00 UTC 2020


 cypress_test/integration_tests/mobile/impress/insertion_wizard_spec.js |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

New commits:
commit a672219c9736a3e2c24dfee402b837bb352371d0
Author:     Tamás Zolnai <tamas.zolnai at collabora.com>
AuthorDate: Thu Jun 18 14:43:57 2020 +0200
Commit:     Tamás Zolnai <tamas.zolnai at collabora.com>
CommitDate: Wed Jun 24 18:58:41 2020 +0200

    cypress: fix date field insertion tests.
    
    Change-Id: Iff55cd552c02954df104ac9b37b3eea9b630b257
    Reviewed-on: https://gerrit.libreoffice.org/c/online/+/96986
    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/impress/insertion_wizard_spec.js b/cypress_test/integration_tests/mobile/impress/insertion_wizard_spec.js
index e41d6f826..6c65caf8f 100644
--- a/cypress_test/integration_tests/mobile/impress/insertion_wizard_spec.js
+++ b/cypress_test/integration_tests/mobile/impress/insertion_wizard_spec.js
@@ -27,8 +27,8 @@ describe('Impress insertion wizard.', function() {
 				expect(svg[0].getBBox().height).to.be.greaterThan(0);
 			});
 
-		cy.get('.leaflet-pane.leaflet-overlay-pane g.Page g')
-			.should('have.class', 'com.sun.star.drawing.TextShape');
+		cy.get('.leaflet-pane.leaflet-overlay-pane svg g.com\\.sun\\.star\\.drawing\\.TextShape')
+			.should('exist');
 
 		// Check also that the shape is fully visible
 		// TODO: shapes are hungs out of the slide after insertion
@@ -210,7 +210,7 @@ describe('Impress insertion wizard.', function() {
 		helper.expectTextForClipboard('Tap to edit text');
 	});
 
-	it.skip('Insert date field (fixed).', function() {
+	it('Insert date field (fixed).', function() {
 		mobileHelper.openInsertionWizard();
 
 		cy.contains('.menu-entry-with-icon', 'More Fields...')
@@ -230,7 +230,7 @@ describe('Impress insertion wizard.', function() {
 		helper.matchClipboardText(regex);
 	});
 
-	it.skip('Insert date field (variable).', function() {
+	it('Insert date field (variable).', function() {
 		mobileHelper.openInsertionWizard();
 
 		cy.contains('.menu-entry-with-icon', 'More Fields...')


More information about the Libreoffice-commits mailing list