Page MenuHomePhabricator
Paste P13077

Result test following the guidelines in the topic "Selenium/How-to/Run tests targeting MediaWiki-Docker using Fresh"
ActivePublic

Authored by Akanksha_Bhattachan on Oct 27 2020, 1:42 PM.
root@akanksha:/home/akanksha/Documents/outreachy/mediawiki# fresh-node -env -net
# fresh: 20.08.1 (2020-08-27)
# image: docker-registry.wikimedia.org/releng/node10-test-browser:0.6.2
# software: Debian GNU/Linux 9 (stretch)
# Node.js v10.15.2 (npm 6.14.5)
# Chromium 71.0.3578.80
# Mozilla Firefox 68.11.0esr
# JSDuck 5.3.4 (Ruby 2.3.3)
# mount: /mediawiki ➟ /home/akanksha/Documents/outreachy/mediawiki (read-write)
# /mediawiki/.git ➟ /home/akanksha/Documents/outreachy/mediawiki/.git (read-only)
# env: MW_*, MEDIAWIKI_*
# net: expose host
🌱 Fresh!
root@akanksha:/mediawiki# npm ci
npm WARN prepare removing existing node_modules/ before installation
> @ffmpeg-installer/darwin-x64@4.1.0 postinstall /mediawiki/node_modules/@ffmpeg-installer/darwin-x64
> chmod u+x ffmpeg
> @ffmpeg-installer/linux-x64@4.1.0 postinstall /mediawiki/node_modules/@ffmpeg-installer/linux-x64
> chmod u+x ffmpeg
> @ffmpeg-installer/linux-ia32@4.1.0 postinstall /mediawiki/node_modules/@ffmpeg-installer/linux-ia32
> chmod u+x ffmpeg
> @ffmpeg-installer/linux-arm64@4.1.4 postinstall /mediawiki/node_modules/@ffmpeg-installer/linux-arm64
> chmod u+x ffmpeg
> @ffmpeg-installer/linux-arm@4.1.3 postinstall /mediawiki/node_modules/@ffmpeg-installer/linux-arm
> chmod u+x ffmpeg
> fibers@4.0.3 install /mediawiki/node_modules/fibers
> node build.js || nodejs build.js
`linux-x64-64-glibc` exists; testing
Binary is fine; exiting
> sauce-connect-launcher-update@1.3.2 postinstall /mediawiki/node_modules/sauce-connect-launcher-update
> node scripts/install.js || nodejs scripts/install.js
> core-js@3.6.5 postinstall /mediawiki/node_modules/core-js
> node -e "try{require('./postinstall')}catch(e){}"
Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!
The project needs your help! Please consider supporting of core-js on Open Collective or Patreon:
> https://opencollective.com/core-js
> https://www.patreon.com/zloirock
Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)
added 1380 packages in 54.363s
root@akanksha:/mediawiki# npm run selenium
> @ selenium /mediawiki
> bash ./tests/selenium/selenium.sh
Starting ChromeDriver 71.0.3578.80 on port 4444
Only local connections are allowed.
[1603806537.586][SEVERE]: bind() returned an error, errno=98: Address already in use (98)
IPv6 port not available. Exiting...
> @ selenium-test /mediawiki
> wdio ./tests/selenium/wdio.conf.js
Execution of 6 spec files started at 2020-10-27T13:48:59.554Z
(node:92) ExperimentalWarning: The dns.promises API is experimental
(node:92) ExperimentalWarning: The fs.promises API is experimental
[0-0] (node:101) ExperimentalWarning: The dns.promises API is experimental
[0-0] (node:101) ExperimentalWarning: The fs.promises API is experimental
[0-0] RUNNING in chrome - /tests/selenium/wdio-mediawiki/specs/BlankPage.js
[0-0] (node:101) DeprecationWarning: Got: "options.rejectUnauthorized" is now deprecated, please use "options.https.rejectUnauthorized"
[0-0] (node:101) ExperimentalWarning: Readable[Symbol.asyncIterator] is an experimental feature. This feature could change at any time
[0-0]
Screenshot location: /mediawiki/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:148) ExperimentalWarning: The dns.promises API is experimental
[0-1] (node:148) ExperimentalWarning: The fs.promises API is experimental
[0-1] RUNNING in chrome - /tests/selenium/specs/page.js
[0-1] (node:148) DeprecationWarning: Got: "options.rejectUnauthorized" is now deprecated, please use "options.https.rejectUnauthorized"
[0-1] (node:148) ExperimentalWarning: Readable[Symbol.asyncIterator] is an experimental feature. This feature could change at any time
[0-1] [13:49:09] [S] [MWBOT] Login successful: Admin@http://localhost:8080/w
[0-1]
Screenshot location: /mediawiki/tests/selenium/log/Page-should-be-previewable.png
[0-1]
Screenshot location: /mediawiki/tests/selenium/log/Page-should-be-creatable.png
[0-1]
Screenshot location: /mediawiki/tests/selenium/log/Page-should-be-re-creatable.png
[0-1]
Screenshot location: /mediawiki/tests/selenium/log/Page-should-be-editable-%40daily.png
[0-1]
Screenshot location: /mediawiki/tests/selenium/log/Page-should-have-history-%40daily.png
[0-1]
Screenshot location: /mediawiki/tests/selenium/log/Page-should-be-deletable.png
[0-1]
Screenshot location: /mediawiki/tests/selenium/log/Page-should-be-restorable.png
[0-1]
Screenshot location: /mediawiki/tests/selenium/log/Page-should-be-undoable.png
[0-1] PASSED in chrome - /tests/selenium/specs/page.js
[0-2] (node:433) ExperimentalWarning: The dns.promises API is experimental
[0-2] (node:433) ExperimentalWarning: The fs.promises API is experimental
[0-2] RUNNING in chrome - /tests/selenium/specs/rollback.js
[0-2] (node:433) DeprecationWarning: Got: "options.rejectUnauthorized" is now deprecated, please use "options.https.rejectUnauthorized"
[0-2] (node:433) 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:446) ExperimentalWarning: The dns.promises API is experimental
[0-3] (node:446) ExperimentalWarning: The fs.promises API is experimental
[0-3] RUNNING in chrome - /tests/selenium/specs/specialrecentchanges.js
[0-3] (node:446) DeprecationWarning: Got: "options.rejectUnauthorized" is now deprecated, please use "options.https.rejectUnauthorized"
[0-3] (node:446) ExperimentalWarning: Readable[Symbol.asyncIterator] is an experimental feature. This feature could change at any time
[0-3] [13:51:32] [S] [MWBOT] Login successful: Admin@http://localhost:8080/w
[0-3]
Screenshot location: /mediawiki/tests/selenium/log/Special%3ARecentChanges-shows-page-creation.png
[0-3] PASSED in chrome - /tests/selenium/specs/specialrecentchanges.js
[0-4] (node:493) ExperimentalWarning: The dns.promises API is experimental
[0-4] (node:493) ExperimentalWarning: The fs.promises API is experimental
[0-4] RUNNING in chrome - /tests/selenium/specs/specialwatchlist.js
[0-4] (node:493) DeprecationWarning: Got: "options.rejectUnauthorized" is now deprecated, please use "options.https.rejectUnauthorized"
[0-4] (node:493) ExperimentalWarning: Readable[Symbol.asyncIterator] is an experimental feature. This feature could change at any time
[0-4] [13:51:46] [S] [MWBOT] Login successful: Admin@http://localhost:8080/w
[0-4]
Screenshot location: /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] (node:540) ExperimentalWarning: The dns.promises API is experimental
[0-5] (node:540) ExperimentalWarning: The fs.promises API is experimental
[0-5] RUNNING in chrome - /tests/selenium/specs/user.js
[0-5] (node:540) DeprecationWarning: Got: "options.rejectUnauthorized" is now deprecated, please use "options.https.rejectUnauthorized"
[0-5] (node:540) ExperimentalWarning: Readable[Symbol.asyncIterator] is an experimental feature. This feature could change at any time
[0-5] [13:52:44] [S] [MWBOT] Login successful: Admin@http://localhost:8080/w
[0-5]
Screenshot location: /mediawiki/tests/selenium/log/User-should-be-able-to-create-account.png
[0-5]
Screenshot location: /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:20