diff options
author | Ċ½eljko Filipin <zeljko.filipin@gmail.com> | 2021-04-16 15:35:47 +0200 |
---|---|---|
committer | Jforrester <jforrester@wikimedia.org> | 2021-04-16 17:01:53 +0000 |
commit | 2320f00eef6ea43aa803e1df65fcc8f84b4ea292 (patch) | |
tree | d4e28d8f45f6caa25c1d4d880b44a4457a732edc /tests/phpunit/includes/resourceloader/ResourceLoaderModuleTest.php | |
parent | c6a8b0c0334b041f62d7f249dd66f7b91ee5d8d4 (diff) | |
download | mediawikicore-2320f00eef6ea43aa803e1df65fcc8f84b4ea292.tar.gz mediawikicore-2320f00eef6ea43aa803e1df65fcc8f84b4ea292.zip |
selenium: Explicitly make screenshots for passing and failing tests
There is code in wdio.conf.js to only take screenshots of failed tests.
For a while now, `test.passed` is returning `undefined`, so screenshots
are taken for both passing and failing tests. The change probably
happened when we upgraded webdriverio to v5 or v6, but nobody noticed
it.
I actually like the current behavior. We take videos for both passing
and failing tests, so it makes sense to take screenshots too. Both
screenshots and videos are small files.
(The biggest screenshot is 539 KB, the biggest video is 21 KB.)
Bug: T280355
Change-Id: I8a73afcda19d6dc1cad75256835448488aff37d5
Diffstat (limited to 'tests/phpunit/includes/resourceloader/ResourceLoaderModuleTest.php')
0 files changed, 0 insertions, 0 deletions