Page MenuHomePhabricator
Paste P13010

Update to T265011 Outreachy Selenium Microtask #5 with steps followed to run test
ActivePublic

Authored by santana on Fri, Oct 16, 2:17 AM.
~ env
...
NVM_BIN=/Users/nimda/.nvm/versions/node/v10.15.0/bin
NVM_INC=/Users/nimda/.nvm/versions/node/v10.15.0/include/node
MW_SERVER=http://localhost:8080
MW_SCRIPT_PATH=/w
MEDIAWIKI_USER=Admin
MEDIAWIKI_PASSWORD=dockerpass
XDEBUG_CONFIG=remote_enable=1 remote_host=172.17.0.1 remote_log=/tmp/xdebug.log remote_port=9009
_=/usr/bin/env
~ node -v
v10.15.0
~ npm -v
6.4.1
~ nvm ls
...
-> v10.15.0
...
~/wiki cd core
~/wiki/core (master ✔) docker-compose up -d
~/wiki/core (master ✔) docker-compose exec mediawiki composer update
~/wiki/core (master ✔) docker-compose exec mediawiki /bin/bash /docker/install.sh
~/wiki/core (master ✔) git clone "https://gerrit.wikimedia.org/r/mediawiki/skins/Vector" skins/Vector
~/wiki/core (master ✔) echo "wfLoadSkin( 'Vector' );" >> LocalSettings.php
~/wiki/core (master ✔) npm ci
~/wiki/core (master ✔) npm run selenium
> @ selenium /Users/nimda/wiki/core
> bash ./tests/selenium/selenium.sh
Starting ChromeDriver 86.0.4240.22 (398b0743353ff36fb1b82468f63a3a93b4e2e89e-refs/branch-heads/4240@{#378}) 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 /Users/nimda/wiki/core
> wdio ./tests/selenium/wdio.conf.js
Execution of 6 spec files started at 2020-10-16T01:44:15.138Z
(node:1980) ExperimentalWarning: The dns.promises API is experimental
(node:1980) ExperimentalWarning: The fs.promises API is experimental
[0-0] (node:2054) ExperimentalWarning: The dns.promises API is experimental
[0-0] (node:2054) ExperimentalWarning: The fs.promises API is experimental
[0-0] RUNNING in chrome - /tests/selenium/wdio-mediawiki/specs/BlankPage.js
[0-0] (node:2054) DeprecationWarning: Got: "options.rejectUnauthorized" is now deprecated, please use "options.https.rejectUnauthorized"
[0-0] (node:2054) ExperimentalWarning: Readable[Symbol.asyncIterator] is an experimental feature. This feature could change at any time
[0-0]
Screenshot location: /Users/nimda/wiki/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] (node:2188) ExperimentalWarning: The dns.promises API is experimental
[0-1] (node:2188) ExperimentalWarning: The fs.promises API is experimental
[0-1] RUNNING in chrome - /tests/selenium/specs/page.js
[0-1] (node:2188) DeprecationWarning: Got: "options.rejectUnauthorized" is now deprecated, please use "options.https.rejectUnauthorized"
[0-1] (node:2188) ExperimentalWarning: Readable[Symbol.asyncIterator] is an experimental feature. This feature could change at any time
[0-1] [21:44:29] [S] [MWBOT] Login successful: Admin@http://localhost:8080/w
[0-1]
Screenshot location: /Users/nimda/wiki/core/tests/selenium/log/Page-should-be-previewable.png
[0-1]
Screenshot location: /Users/nimda/wiki/core/tests/selenium/log/Page-should-be-creatable.png
[0-1]
Screenshot location: /Users/nimda/wiki/core/tests/selenium/log/Page-should-be-re-creatable.png
[0-1]
Screenshot location: /Users/nimda/wiki/core/tests/selenium/log/Page-should-be-editable-%40daily.png
[0-1]
Screenshot location: /Users/nimda/wiki/core/tests/selenium/log/Page-should-have-history-%40daily.png
[0-1]
Screenshot location: /Users/nimda/wiki/core/tests/selenium/log/Page-should-be-deletable.png
[0-1]
Screenshot location: /Users/nimda/wiki/core/tests/selenium/log/Page-should-be-restorable.png
[0-1]
Screenshot location: /Users/nimda/wiki/core/tests/selenium/log/Page-should-be-undoable.png
[0-1] PASSED in chrome - /tests/selenium/specs/page.js
[0-2] (node:4021) ExperimentalWarning: The dns.promises API is experimental
[0-2] (node:4021) ExperimentalWarning: The fs.promises API is experimental
[0-2] RUNNING in chrome - /tests/selenium/specs/rollback.js
[0-2] (node:4021) DeprecationWarning: Got: "options.rejectUnauthorized" is now deprecated, please use "options.https.rejectUnauthorized"
[0-2] (node:4021) ExperimentalWarning: Readable[Symbol.asyncIterator] is an experimental feature. This feature could change at any time
[0-2] PASSED in chrome - /tests/selenium/specs/rollback.js
[0-3] (node:4324) ExperimentalWarning: The dns.promises API is experimental
[0-3] (node:4324) ExperimentalWarning: The fs.promises API is experimental
[0-3] RUNNING in chrome - /tests/selenium/specs/specialrecentchanges.js
[0-3] (node:4324) DeprecationWarning: Got: "options.rejectUnauthorized" is now deprecated, please use "options.https.rejectUnauthorized"
[0-3] (node:4324) ExperimentalWarning: Readable[Symbol.asyncIterator] is an experimental feature. This feature could change at any time
[0-3] [21:46:56] [S] [MWBOT] Login successful: Admin@http://localhost:8080/w
[0-3]
Screenshot location: /Users/nimda/wiki/core/tests/selenium/log/Special%3ARecentChanges-shows-page-creation.png
[0-3] PASSED in chrome - /tests/selenium/specs/specialrecentchanges.js
[0-4] (node:4668) ExperimentalWarning: The dns.promises API is experimental
[0-4] (node:4668) ExperimentalWarning: The fs.promises API is experimental
[0-4] RUNNING in chrome - /tests/selenium/specs/specialwatchlist.js
[0-4] (node:4668) DeprecationWarning: Got: "options.rejectUnauthorized" is now deprecated, please use "options.https.rejectUnauthorized"
[0-4] (node:4668) ExperimentalWarning: Readable[Symbol.asyncIterator] is an experimental feature. This feature could change at any time
[0-4] [21:47:27] [S] [MWBOT] Login successful: Admin@http://localhost:8080/w
[0-4]
Screenshot location: /Users/nimda/wiki/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] (node:5013) ExperimentalWarning: The dns.promises API is experimental
[0-5] (node:5013) ExperimentalWarning: The fs.promises API is experimental
[0-5] RUNNING in chrome - /tests/selenium/specs/user.js
[0-5] (node:5013) DeprecationWarning: Got: "options.rejectUnauthorized" is now deprecated, please use "options.https.rejectUnauthorized"
[0-5] (node:5013) ExperimentalWarning: Readable[Symbol.asyncIterator] is an experimental feature. This feature could change at any time
[0-5] [21:47:59] [S] [MWBOT] Login successful: Admin@http://localhost:8080/w
[0-5]
Screenshot location: /Users/nimda/wiki/core/tests/selenium/log/User-should-be-able-to-create-account.png
[0-5]
Screenshot location: /Users/nimda/wiki/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:04:09
~/wiki/core (master ✔)