aboutsummaryrefslogtreecommitdiffhomepage
path: root/support
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-09-03 10:27:04 +0200
committerChocobozzz <me@florianbigard.com>2021-09-03 16:35:18 +0200
commit6d210220be0875d63461829d83c6e3a59d05cf7a (patch)
tree60ec5b596ef06295b70ebb553920a39b549e0f13 /support
parent2ede07153ce0282b116345dfee09bff902355a75 (diff)
downloadPeerTube-6d210220be0875d63461829d83c6e3a59d05cf7a.tar.gz
PeerTube-6d210220be0875d63461829d83c6e3a59d05cf7a.tar.zst
PeerTube-6d210220be0875d63461829d83c6e3a59d05cf7a.zip
Fix NSFW filter and add tests
Diffstat (limited to 'support')
-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```