diff options
author | Tamás Zolnai <tamas.zolnai@collabora.com> | 2020-09-11 16:46:59 +0200 |
---|---|---|
committer | Tamás Zolnai <tamas.zolnai@collabora.com> | 2020-09-11 18:29:02 +0200 |
commit | 9f7cf27f7b9a5f65a21f1bfce00859a74d71725f (patch) | |
tree | 37cd4da0391769c59a2845a50c218c657ca523f0 /cypress_test | |
parent | cypress: NC: fix copy&paste desktop test. (diff) | |
download | online-9f7cf27f7b9a5f65a21f1bfce00859a74d71725f.tar.gz online-9f7cf27f7b9a5f65a21f1bfce00859a74d71725f.zip |
cypress: NC: document running tests with nextcloud.
Change-Id: I9f2075e36c6d569537cf2c11cc99eb31dbd1f84f
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/102484
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Diffstat (limited to 'cypress_test')
-rw-r--r-- | cypress_test/README | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/cypress_test/README b/cypress_test/README index a7cc3a0fc9..c604b32cd9 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 ------------ |