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

Tamás Zolnai (via logerrit) logerrit at kemper.freedesktop.org
Fri Sep 11 16:29:03 UTC 2020


 cypress_test/integration_tests/desktop/writer/copy_paste_spec.js     |    6 ++++++
 cypress_test/integration_tests/mobile/impress/hamburger_menu_spec.js |    3 +++
 2 files changed, 9 insertions(+)

New commits:
commit beb84fb38cebf92786e42095cb402634cb95d625
Author:     Tamás Zolnai <tamas.zolnai at collabora.com>
AuthorDate: Fri Sep 11 16:35:18 2020 +0200
Commit:     Tamás Zolnai <tamas.zolnai at collabora.com>
CommitDate: Fri Sep 11 18:28:52 2020 +0200

    cypress: NC: fix copy&paste desktop test.
    
    Change-Id: I5cd8ad2fe6682e34100fdc0409c2792acd115566
    Reviewed-on: https://gerrit.libreoffice.org/c/online/+/102475
    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/desktop/writer/copy_paste_spec.js b/cypress_test/integration_tests/desktop/writer/copy_paste_spec.js
index 5883d235b..767fae9b4 100644
--- a/cypress_test/integration_tests/desktop/writer/copy_paste_spec.js
+++ b/cypress_test/integration_tests/desktop/writer/copy_paste_spec.js
@@ -35,5 +35,11 @@ describe('Clipboard operations.', function() {
 		// https://github.com/cypress-io/cypress/issues/2851
 		cy.get('.vex-dialog-message p')
 			.should('have.text', 'Your browser has very limited access to the clipboard, so use these keyboard shortcuts:');
+
+		cy.get('.vex-dialog-form button[type=\'submit\']')
+			.click();
+
+		cy.get('.vex-dialog-form')
+			.should('not.be.visible');
 	});
 });
commit 5bdab937e13b88daa58836259bff8ca2131eaa92
Author:     Tamás Zolnai <tamas.zolnai at collabora.com>
AuthorDate: Fri Sep 11 15:40:56 2020 +0200
Commit:     Tamás Zolnai <tamas.zolnai at collabora.com>
CommitDate: Fri Sep 11 18:28:43 2020 +0200

    cypress: NC: fix undo / redo test in Impress.
    
    Change-Id: Iac2d6f9a31206eec162b869629e77157daeec5c8
    Reviewed-on: https://gerrit.libreoffice.org/c/online/+/102474
    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/hamburger_menu_spec.js b/cypress_test/integration_tests/mobile/impress/hamburger_menu_spec.js
index 92d3e6dbc..25ddb2f20 100644
--- a/cypress_test/integration_tests/mobile/impress/hamburger_menu_spec.js
+++ b/cypress_test/integration_tests/mobile/impress/hamburger_menu_spec.js
@@ -29,6 +29,9 @@ describe('Trigger hamburger menu options.', function() {
 				cy.get('body')
 					.dblclick(XPos, YPos);
 			});
+
+		cy.get('.leaflet-cursor.blinking-cursor')
+			.should('exist');
 	}
 
 	it('Save', function() {


More information about the Libreoffice-commits mailing list