Page MenuHomePhabricator
Paste P12971

Outreachy: Selenium Microtasks, Task #5, T265011, Js636f
ActivePublic

Authored by Js636f on Oct 12 2020, 7:22 PM.
Tags
None
Referenced Files
F32384648: Outreachy: Selenium Microtasks, Task #5, T265011, Js636f
Oct 14 2020, 2:41 PM
F32382631: Outreachy: Selenium Microtasks, Task #5, T265011, Js636f
Oct 12 2020, 7:22 PM
Subscribers
None
#Outreachy: Selenium Microtasks, T265011
##System spec
OS: Ubuntu 20.04.1 LTS
Node.js: v14.13.1
Docker: 19.03.13
Docker-compose: 1.27.4
ChromeDriver: 85.0.4183.121
##Preparing development environment and running tests
1. Cloning mediawiki/core repository
2. Installing Skin Vector
3. Installing Docker
4. Installing Docker Compose
5. Installing Chromedriver
6. Adjusting settings, running docker-compose
7. Running tests
###Terminal output
> @ selenium /home/alex/r/mwcore/core
> bash ./tests/selenium/selenium.sh
Starting ChromeDriver 85.0.4183.121 (a81aa729a8e1fd413943a339393c82e7b8055ddc-refs/branch-heads/4183@{#1864}) on port 4444
Only local connections are allowed.
Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
ChromeDriver was started successfully.
> @ selenium-test /home/alex/r/mwcore/core
> wdio ./tests/selenium/wdio.conf.js
Execution of 6 spec files started at 2020-10-12T19:17:58.326Z
[0-0] RUNNING in chrome - /tests/selenium/wdio-mediawiki/specs/BlankPage.js
[0-0] (node:96019) DeprecationWarning: Got: "options.rejectUnauthorized" is now deprecated, please use "options.https.rejectUnauthorized"
(Use `node --trace-deprecation ...` to show where the warning was created)
[0-0]
Screenshot location: /home/alex/r/mwcore/core/tests/selenium/log/BlankPage-should-have-its-title-%40daily.png
[0-0] PASSED in chrome - /tests/selenium/wdio-mediawiki/specs/BlankPage.js
[0-1] RUNNING in chrome - /tests/selenium/specs/page.js
[0-1] (node:96235) DeprecationWarning: Got: "options.rejectUnauthorized" is now deprecated, please use "options.https.rejectUnauthorized"
(Use `node --trace-deprecation ...` to show where the warning was created)
[0-1] [22:18:03] [S] [MWBOT] Login successful: Admin@http://localhost:8080/w
[0-1]
Screenshot location: /home/alex/r/mwcore/core/tests/selenium/log/Page-should-be-previewable.png
[0-1]
Screenshot location: /home/alex/r/mwcore/core/tests/selenium/log/Page-should-be-creatable.png
[0-1]
Screenshot location: /home/alex/r/mwcore/core/tests/selenium/log/Page-should-be-re-creatable.png
[0-1]
Screenshot location: /home/alex/r/mwcore/core/tests/selenium/log/Page-should-be-editable-%40daily.png
[0-1]
Screenshot location: /home/alex/r/mwcore/core/tests/selenium/log/Page-should-have-history-%40daily.png
[0-1]
Screenshot location: /home/alex/r/mwcore/core/tests/selenium/log/Page-should-be-deletable.png
[0-1]
Screenshot location: /home/alex/r/mwcore/core/tests/selenium/log/Page-should-be-restorable.png
[0-1]
Screenshot location: /home/alex/r/mwcore/core/tests/selenium/log/Page-should-be-undoable.png
[0-1] PASSED in chrome - /tests/selenium/specs/page.js
[0-2] RUNNING in chrome - /tests/selenium/specs/rollback.js
[0-2] (node:96756) DeprecationWarning: Got: "options.rejectUnauthorized" is now deprecated, please use "options.https.rejectUnauthorized"
(Use `node --trace-deprecation ...` to show where the warning was created)
[0-2] PASSED in chrome - /tests/selenium/specs/rollback.js
[0-3] RUNNING in chrome - /tests/selenium/specs/specialrecentchanges.js
[0-3] (node:96951) DeprecationWarning: Got: "options.rejectUnauthorized" is now deprecated, please use "options.https.rejectUnauthorized"
(Use `node --trace-deprecation ...` to show where the warning was created)
[0-3] [22:18:58] [S] [MWBOT] Login successful: Admin@http://localhost:8080/w
[0-3]
Screenshot location: /home/alex/r/mwcore/core/tests/selenium/log/Special%3ARecentChanges-shows-page-creation.png
[0-3] PASSED in chrome - /tests/selenium/specs/specialrecentchanges.js
[0-4] RUNNING in chrome - /tests/selenium/specs/specialwatchlist.js
[0-4] (node:97166) DeprecationWarning: Got: "options.rejectUnauthorized" is now deprecated, please use "options.https.rejectUnauthorized"
(Use `node --trace-deprecation ...` to show where the warning was created)
[0-4] [22:19:04] [S] [MWBOT] Login successful: Admin@http://localhost:8080/w
[0-4]
Screenshot location: /home/alex/r/mwcore/core/tests/selenium/log/Special%3AWatchlist-should-show-page-with-new-edit.png
[0-4] PASSED in chrome - /tests/selenium/specs/specialwatchlist.js
[0-5] RUNNING in chrome - /tests/selenium/specs/user.js
[0-5] (node:97395) DeprecationWarning: Got: "options.rejectUnauthorized" is now deprecated, please use "options.https.rejectUnauthorized"
(Use `node --trace-deprecation ...` to show where the warning was created)
[0-5] [22:19:16] [S] [MWBOT] Login successful: Admin@http://localhost:8080/w
[0-5]
Screenshot location: /home/alex/r/mwcore/core/tests/selenium/log/User-should-be-able-to-create-account.png
[0-5]
Screenshot location: /home/alex/r/mwcore/core/tests/selenium/log/User-should-be-able-to-log-in-%40daily.png
[0-5] PASSED in chrome - /tests/selenium/specs/user.js
"dot" Reporter:
....................
Spec Files: 6 passed, 6 total (100% completed) in 00:01:30