diff options
author | Tamás Zolnai <tamas.zolnai@collabora.com> | 2020-01-20 16:25:58 +0100 |
---|---|---|
committer | Tamás Zolnai <tamas.zolnai@collabora.com> | 2020-01-20 16:25:58 +0100 |
commit | 0ca53c71670b04a880bb423bff5b06ef9f05758f (patch) | |
tree | 0204094e230629c1e3b576877812eb43320297f8 | |
parent | cypress: Fix name of mobile wizard test suit. (diff) | |
download | online-feature/cypress_integration.tar.gz online-feature/cypress_integration.zip |
cypress: Update README with instructions how to run one test case.
feature/cypress_integration
Change-Id: Ib6e80f92d64565471f30abc89b3ed4a1bbcebb20
-rw-r--r-- | cypress_test/README | 7 |
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. |