aboutsummaryrefslogtreecommitdiffstats
path: root/tests/selenium/README.md
diff options
context:
space:
mode:
authorZfilipin <zfilipin@wikimedia.org>2020-05-20 10:37:09 +0000
committerZfilipin <zfilipin@wikimedia.org>2020-05-20 10:37:09 +0000
commit157a1e3829934e2cea54b5256fba83c74e06ca16 (patch)
tree10463678a3d9be556b0ca4e27e7f69b4cb9b127c /tests/selenium/README.md
parentbabbbbc6e5aabfe641b5c10da235b5743f325257 (diff)
downloadmediawikicore-157a1e3829934e2cea54b5256fba83c74e06ca16.tar.gz
mediawikicore-157a1e3829934e2cea54b5256fba83c74e06ca16.zip
Revert "Selenium: Use wdio-video-reporter to record videos of test run"
This reverts commit babbbbc6e5aabfe641b5c10da235b5743f325257. Reason for revert: Video recording only works with WebdriverIO v5. It doesn't work with v6. Bug: T252523 Change-Id: I5dd0bb5ef03bcf5337207c63d26755e983634787
Diffstat (limited to 'tests/selenium/README.md')
-rw-r--r--tests/selenium/README.md8
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/selenium/README.md b/tests/selenium/README.md
index 6543352861c9..331538ccef25 100644
--- a/tests/selenium/README.md
+++ b/tests/selenium/README.md
@@ -37,7 +37,13 @@ environments this is probably set already. On macOS, set it to a dummy value lik
#### Video recording
-Starting from WebdriverIO v5, [wdio-video-reporter](https://www.npmjs.com/package/wdio-video-reporter) NPM package is used to record videos of test runs. By default, videos for all tests are recorded and saved under `tests/selenium/log` directory.
+To capture a video, the tests have to run in the context of an X11 server, with the `DISPLAY`
+environment variable set to its display name. If the shell has no X11 server or if you want
+to hide the output, you can also launch a virtual X11 display using Xvfb. Recording videos
+is currently supported only on Linux, and is triggered by the `DISPLAY` value starting with
+a colon (as Xvfb typically would). For example:
+
+ DISPLAY=:2 npm run selenium
#### Filter