aboutsummaryrefslogtreecommitdiffhomepage
path: root/support/doc/development/tests.md
diff options
context:
space:
mode:
Diffstat (limited to 'support/doc/development/tests.md')
-rw-r--r--support/doc/development/tests.md15
1 files changed, 15 insertions, 0 deletions
diff --git a/support/doc/development/tests.md b/support/doc/development/tests.md
index e311d3267..fb3a05326 100644
--- a/support/doc/development/tests.md
+++ b/support/doc/development/tests.md
@@ -70,3 +70,18 @@ To run tests on browser stack:
70``` 70```
71$ BROWSERSTACK_USER=your_user BROWSERSTACK_KEY=your_key npm run e2e:browserstack 71$ BROWSERSTACK_USER=your_user BROWSERSTACK_KEY=your_key npm run e2e:browserstack
72``` 72```
73
74### Add E2E tests
75
76To add E2E tests and quickly run tests using a local Chrome, first create a test instance:
77
78```
79$ npm run clean:server:test && NODE_APP_INSTANCE=1 NODE_ENV=test npm start
80```
81
82Then, just run your suite using:
83
84```
85$ cd client/e2e
86$ ../node_modules/.bin/wdio wdio.local-test.conf.ts # you can also add --mochaOpts.grep to only run tests you want
87```