[Libreoffice-commits] online.git: cypress_test/README
Tamás Zolnai (via logerrit)
logerrit at kemper.freedesktop.org
Fri Sep 11 16:29:21 UTC 2020
cypress_test/README | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
New commits:
commit 9f7cf27f7b9a5f65a21f1bfce00859a74d71725f
Author: Tamás Zolnai <tamas.zolnai at collabora.com>
AuthorDate: Fri Sep 11 16:46:59 2020 +0200
Commit: Tamás Zolnai <tamas.zolnai at collabora.com>
CommitDate: Fri Sep 11 18:29:02 2020 +0200
cypress: NC: document running tests with nextcloud.
Change-Id: I9f2075e36c6d569537cf2c11cc99eb31dbd1f84f
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/102484
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai at collabora.com>
diff --git a/cypress_test/README b/cypress_test/README
index a7cc3a0fc..c604b32cd 100644
--- a/cypress_test/README
+++ b/cypress_test/README
@@ -128,6 +128,23 @@ This variable can be set to any value which is accepted by cypress
--browser command line argument:
https://docs.cypress.io/guides/guides/command-line.html#cypress-run-browser-lt-browser-name-or-path-gt
+Running tests with nextcloud integration
+----------------------------------------
+
+You can run any test runner command in an NC environment with setting
+CYPRESS_INTEGRATION environment variable. For example:
+
+CYPRESS_INTEGRATION="nextcloud" make check
+
+Prerequisites:
+* Need a local NC installation connected with LibreOffice Online
+* NC should be available at http://localhost/nextcloud/ (no ssl)
+* Need an NC user with 'cypress_test' as user name and password.
+
+Limitations:
+* NC integration uses iframes which makes harder to test with cypress.
+* cy.document() and cy.window() not properly works by now.
+
Known issues
------------
More information about the Libreoffice-commits
mailing list