summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTamás Zolnai <tamas.zolnai@collabora.com>2021-02-05 16:26:33 +0100
committerTamás Zolnai <zolnaitamas2000@gmail.com>2021-02-12 14:52:00 +0100
commitfc9780820e7602cfb90a747446618860d1d21b6a (patch)
tree5528a419af7a255a7e0b979c23f4a3a9aa335ac4
parentcypress: fix some typos in helper method documentation. (diff)
downloadonline-fc9780820e7602cfb90a747446618860d1d21b6a.tar.gz
online-fc9780820e7602cfb90a747446618860d1d21b6a.zip
cypress: document some extra run option in the README.
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com> Change-Id: I49597e73d675ab9e916f7f73e740d5a89d2884b8 (cherry picked from commit 8cb2e537613950418a27a074fb8522f309c94bbb)
-rw-r--r--cypress_test/README19
1 files changed, 19 insertions, 0 deletions
diff --git a/cypress_test/README b/cypress_test/README
index 4f9992c75c..02dea19f59 100644
--- a/cypress_test/README
+++ b/cypress_test/README
@@ -158,6 +158,25 @@ Prerequisites:
https://github.com/CollaboraOnline/richdocumentscode/blob/master/proxy.php
* Put it under /srv/www/htdocs/richproxy/ folder.
+Other useful flags
+------------------
+
+1. ENABLE_VIDEO_REC
+
+You can enable video recording during running a test suite in headless mode.
+So you can check visually what happens in the browser during the test.
+Unfortunatelly this does not work for multi-user tests.
+
+ ENABLE_VIDEO_REC="1" make check-mobile spec=writer/apply_font_spec.js
+
+2. ENABLE_CONSOLE_LOG
+
+With this flag we can enable logging for console.error() messages and so they
+will be displayed in the command line. It's useful when we can reproduce a test
+failure only in headless mode and we need to debug the client-side JS code.
+
+ ENABLE_CONSOLE_LOG="1" make check-mobile spec=writer/apply_font_spec.js
+
Known issues
------------