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

Michael Meeks (via logerrit) logerrit at kemper.freedesktop.org
Wed Aug 19 12:24:38 UTC 2020


 cypress_test/integration_tests/desktop/writer/focus_spec.js |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

New commits:
commit ab0538bf30a47df5c57658c21b692de101e0220b
Author:     Michael Meeks <michael.meeks at collabora.com>
AuthorDate: Tue Aug 18 19:54:41 2020 +0100
Commit:     Michael Meeks <michael.meeks at collabora.com>
CommitDate: Wed Aug 19 14:24:19 2020 +0200

    Enable cypress search / focus test.
    
    Change-Id: I9f6482d80fac4dae677dcb471deff3b3575dbbfd
    Reviewed-on: https://gerrit.libreoffice.org/c/online/+/100986
    Tested-by: Jenkins
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
    Reviewed-by: Michael Meeks <michael.meeks at collabora.com>

diff --git a/cypress_test/integration_tests/desktop/writer/focus_spec.js b/cypress_test/integration_tests/desktop/writer/focus_spec.js
index ab830e34a..780ee0619 100644
--- a/cypress_test/integration_tests/desktop/writer/focus_spec.js
+++ b/cypress_test/integration_tests/desktop/writer/focus_spec.js
@@ -70,10 +70,10 @@ describe('Focus tests', function() {
 
 		// Search field still has the focus.
 		// We have a focus issue here.
-		//cy.document().its('activeElement.id')
-		//	.should('be.eq', 'search-input');
+		cy.document().its('activeElement.id')
+			.should('be.eq', 'search-input');
 
-		//cy.get('#search-input')
-		//	.should('have.prop', 'value', text);
+		cy.get('#search-input')
+			.should('have.prop', 'value', text);
 	});
 });


More information about the Libreoffice-commits mailing list