Page MenuHomePhabricator
Paste P13095

T265011 Outreachy: Selenium Microtasks #5
ActivePublic

Authored by 435643 on Oct 28 2020, 9:28 PM.
Mediawiki
Download chromeDriver and added it to the path
Installed dependencies using npm ci
Set up the required environment variable
Started the chromeDriver
Starting ChromeDriver 87.0.4280.20 (c99e81631faa0b2a448e658c0dbd8311fb04ddbd-refs/branch-heads/4280@{#355}) 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.
Run all spec using npm run selenium-test
Execution of 6 spec files started at 2020-10-27T13:17:34.839Z
[0-1] PASSED in chrome - /tests/selenium/specs/page.js
[0-2] RUNNING in chrome - /tests/selenium/specs/rollback.js
[0-2] (node:16192) 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:16263) 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] [14:23:12] [S] [MWBOT] Login successful: Admin@http://localhost:8080/w
[0-3]
Screenshot location: /Users/pc/.ssh/mediawiki/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:16334) 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] [14:25:10] [S] [MWBOT] Login successful: Admin@http://localhost:8080/w
[0-4]
Screenshot location: /Users/pc/.ssh/mediawiki/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:16405) 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] [14:27:30] [S] [MWBOT] Login successful: Admin@http://localhost:8080/w
[0-5]
Screenshot location: /Users/pc/.ssh/mediawiki/tests/selenium/log/User-should-be-able-to-create-account.png
[0-5]
Screenshot location: /Users/pc/.ssh/mediawiki/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:04:30