Page MenuHomePhabricator

Remove `Screenshot location...` messages
Closed, ResolvedPublic

Description

This is a typical output when running Selenium tests.

1~/Documents/gerrit/mediawiki/core$ npm run selenium-test
2
3> @ selenium-test /Users/z/Documents/gerrit/mediawiki/core
4> wdio ./tests/selenium/wdio.conf.js
5
6
7Execution of 6 spec files started at 2021-04-16T10:55:19.235Z
8
9[0-0] RUNNING in chrome - /tests/selenium/wdio-mediawiki/specs/BlankPage.js
10[0-0]
11 Screenshot location: /Users/z/Documents/gerrit/mediawiki/core/tests/selenium/log/BlankPage-should-have-its-title-%40daily.png
12
13[0-0] PASSED in chrome - /tests/selenium/wdio-mediawiki/specs/BlankPage.js
14[0-1] RUNNING in chrome - /tests/selenium/specs/page.js
15[0-1] [12:55:25] [S] [MWBOT] Login successful: Admin@http://localhost:8080/w
16[0-1]
17 Screenshot location: /Users/z/Documents/gerrit/mediawiki/core/tests/selenium/log/Page-should-be-previewable.png
18
19[0-1]
20 Screenshot location: /Users/z/Documents/gerrit/mediawiki/core/tests/selenium/log/Page-should-be-creatable.png
21
22[0-1]
23 Screenshot location: /Users/z/Documents/gerrit/mediawiki/core/tests/selenium/log/Page-should-be-re-creatable.png
24
25[0-1]
26 Screenshot location: /Users/z/Documents/gerrit/mediawiki/core/tests/selenium/log/Page-should-be-editable-%40daily.png
27
28[0-1]
29 Screenshot location: /Users/z/Documents/gerrit/mediawiki/core/tests/selenium/log/Page-should-have-history-%40daily.png
30
31[0-1]
32 Screenshot location: /Users/z/Documents/gerrit/mediawiki/core/tests/selenium/log/Page-should-be-deletable.png
33
34[0-1]
35 Screenshot location: /Users/z/Documents/gerrit/mediawiki/core/tests/selenium/log/Page-should-be-restorable.png
36
37[0-1] PASSED in chrome - /tests/selenium/specs/page.js
38[0-2] RUNNING in chrome - /tests/selenium/specs/rollback.js
39[0-2] PASSED in chrome - /tests/selenium/specs/rollback.js
40[0-3] RUNNING in chrome - /tests/selenium/specs/specialrecentchanges.js
41[0-3] [12:56:06] [S] [MWBOT] Login successful: Admin@http://localhost:8080/w
42[0-3]
43 Screenshot location: /Users/z/Documents/gerrit/mediawiki/core/tests/selenium/log/Special%3ARecentChanges-shows-page-creation.png
44
45[0-3] PASSED in chrome - /tests/selenium/specs/specialrecentchanges.js
46[0-4] RUNNING in chrome - /tests/selenium/specs/specialwatchlist.js
47[0-4] [12:56:13] [S] [MWBOT] Login successful: Admin@http://localhost:8080/w
48[0-4]
49 Screenshot location: /Users/z/Documents/gerrit/mediawiki/core/tests/selenium/log/Special%3AWatchlist-should-show-page-with-new-edit.png
50
51[0-4] PASSED in chrome - /tests/selenium/specs/specialwatchlist.js
52[0-5] RUNNING in chrome - /tests/selenium/specs/user.js
53[0-5] [12:56:24] [S] [MWBOT] Login successful: Admin@http://localhost:8080/w
54[0-5]
55 Screenshot location: /Users/z/Documents/gerrit/mediawiki/core/tests/selenium/log/User-should-be-able-to-create-account.png
56
57[0-5]
58 Screenshot location: /Users/z/Documents/gerrit/mediawiki/core/tests/selenium/log/User-should-be-able-to-log-in-%40daily.png
59
60[0-5] PASSED in chrome - /tests/selenium/specs/user.js
61
62 "dot" Reporter:
63....................
64
65Spec Files: 6 passed, 6 total (100% completed) in 00:01:14

There are a lot of Screenshot location: ... messages that are not useful and should be removed.

1~/Documents/gerrit/mediawiki/core$ npm run selenium-test
2
3> @ selenium-test /Users/z/Documents/gerrit/mediawiki/core
4> wdio ./tests/selenium/wdio.conf.js
5
6
7Execution of 6 spec files started at 2021-04-16T13:46:32.794Z
8
9[0-0] RUNNING in chrome - /tests/selenium/wdio-mediawiki/specs/BlankPage.js
10[0-0] PASSED in chrome - /tests/selenium/wdio-mediawiki/specs/BlankPage.js
11[0-1] RUNNING in chrome - /tests/selenium/specs/page.js
12[0-1] [15:46:38] [S] [MWBOT] Login successful: Admin@http://localhost:8080/w
13[0-1] PASSED in chrome - /tests/selenium/specs/page.js
14[0-2] RUNNING in chrome - /tests/selenium/specs/rollback.js
15[0-2] PASSED in chrome - /tests/selenium/specs/rollback.js
16[0-3] RUNNING in chrome - /tests/selenium/specs/specialrecentchanges.js
17[0-3] [15:47:15] [S] [MWBOT] Login successful: Admin@http://localhost:8080/w
18[0-3] PASSED in chrome - /tests/selenium/specs/specialrecentchanges.js
19[0-4] RUNNING in chrome - /tests/selenium/specs/specialwatchlist.js
20[0-4] [15:47:22] [S] [MWBOT] Login successful: Admin@http://localhost:8080/w
21[0-4] PASSED in chrome - /tests/selenium/specs/specialwatchlist.js
22[0-5] RUNNING in chrome - /tests/selenium/specs/user.js
23[0-5] [15:47:32] [S] [MWBOT] Login successful: Admin@http://localhost:8080/w
24[0-5] PASSED in chrome - /tests/selenium/specs/user.js
25
26 "dot" Reporter:
27....................
28
29Spec Files: 6 passed, 6 total (100% completed) in 00:01:05

Details

Event Timeline

zeljkofilipin moved this task from Inbox to Selenium on the MediaWiki-Core-Tests board.
zeljkofilipin moved this task from Backlog 🪒 to Deep work 🌊 on the User-zeljkofilipin board.
zeljkofilipin updated the task description. (Show Details)
zeljkofilipin updated the task description. (Show Details)
zeljkofilipin renamed this task from Remove `Screenshot location` messages to Remove `Screenshot location...` messages.Apr 16 2021, 1:44 PM

Change 680334 had a related patch set uploaded (by Zfilipin; author: Zfilipin):

[mediawiki/core@master] selenium: Remove `Screenshot location...` messages

https://gerrit.wikimedia.org/r/680334

zeljkofilipin updated the task description. (Show Details)
zeljkofilipin moved this task from Deep work 🌊 to Waiting 🏹 on the User-zeljkofilipin board.

Change 680334 merged by jenkins-bot:

[mediawiki/core@master] selenium: Remove `Screenshot location...` messages

https://gerrit.wikimedia.org/r/680334