summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTamás Zolnai <tamas.zolnai@collabora.com>2020-01-20 16:25:58 +0100
committerTamás Zolnai <tamas.zolnai@collabora.com>2020-01-21 15:15:48 +0100
commite11c0f8efa8a873eb699873613e86395d7e23200 (patch)
tree46f324e6f36525eec4402cf50808574c6bd15415
parentcypress: Don't run cypress test for top level make check for now. (diff)
downloadonline-feature/cypress_integration2.tar.gz
online-feature/cypress_integration2.zip
cypress: Update README with instructions how to run one test case. feature/cypress_integration2
Change-Id: Ib6e80f92d64565471f30abc89b3ed4a1bbcebb20
-rw-r--r--cypress_test/README7
1 files changed, 7 insertions, 0 deletions
diff --git a/cypress_test/README b/cypress_test/README
index 0bc100241e..04fc24e31f 100644
--- a/cypress_test/README
+++ b/cypress_test/README
@@ -30,6 +30,13 @@ To run one specific test suit of mobile tests:
make check-mobile spec=toolbar_spec.js
+To run one test case of a test suit you can use Mocha's
+'only' feature. Just replace the it(...) function with
+it.only(...) in the spec file for the selected test case
+and run the test suit using the spec parameter (see above).
+This 'only' feature affects both make check and make run
+commands.
+
You can also open cypress tests in the browser, so you can
check what happens during test run. It's useful for writing
new tests or checking why an existing test fails.