Page MenuHomePhabricator
Paste P13242

Logs For Selenium/How-to/Debug with Visual Studio Code
ActivePublic

Authored by Hulya on Nov 6 2020, 10:40 PM.
Run tests targeting MediaWiki-Docker
Setup MediaWiki-Docker
Start environment and install MediaWiki
mediawiki git:(master) docker-compose up -d
Creating network "mediawiki_default" with the default driver
Pulling mediawiki (docker-registry.wikimedia.org/dev/stretch-php72-fpm-apache2-xdebug:0.6.1)...
0.6.1: Pulling from dev/stretch-php72-fpm-apache2-xdebug
f4950aafeb34: Pulling fs layer
8e64bee919d5: Pulling fs layer
7ecb091f2267: Pulling fs layer
2c4564e6cff0: Pulling fs layer
01450fc4f6e3: Pulling fs layer
a2c9dae68ea5: Pulling fs layer
1c17fbd0146a: Pulling fs layer
8df273e99cc1: Pulling fs layer
c4d62258b865: Pulling fs layer
4281cbeb4eb7: Pulling fs layer
3999db4e449e: Pulling fs layer
5948f237aca0: Pulling fs layer
fda101932723: Pulling fs layer
cfdf7d96c0fe: Pulling fs layer
17ec549267a0: Pulling fs layer
cf9b5498454d: Pull complete b051909eca14: Pull complete 445b195a141f: Pull complete 2bf7db26a1b0: Pull complete 7fcfd860909d: Pull complete 4cd6db300733: Pull complete 1ea5ceae7e16: Pull complete 90a4e0202729: Pull complete Digest: sha256:b294209a75924a7cec7af77e62528958e600049d35927bc8460e9f35354f48cf
Status: Downloaded newer image for docker-registry.wikimedia.org/dev/stretch-php72-fpm-apache2-xdebug:0.6.1
Pulling mediawiki-jobrunner (docker-registry.wikimedia.org/dev/stretch-php72-jobrunner:0.1.0)...
0.1.0: Pulling from dev/stretch-php72-jobrunner
f4950aafeb34: Already exists
8e64bee919d5: Already exists
7ecb091f2267: Already exists
2c4564e6cff0: Already exists
01450fc4f6e3: Already exists
a2c9dae68ea5: Already exists
1c17fbd0146a: Already exists
8df273e99cc1: Already exists
c4d62258b865: Already exists
4281cbeb4eb7: Already exists
49eaf43db8cc: Pull complete 46ff7a85e9d2: Pull complete 4499dbd10051: Pull complete ba0d42befcdd: Pull complete 7873b6eaade3: Pull complete Digest: sha256:242ca9c3a6f9e54acfb2d6669d3486873f49c02742813fb6e2f5d0111fc85a7f
Status: Downloaded newer image for docker-registry.wikimedia.org/dev/stretch-php72-jobrunner:0.1.0
Creating mediawiki_mediawiki_1 ... done
Creating mediawiki_mediawiki-jobrunner_1 ... done
➜ mediawiki git:(master) docker-compose exec mediawiki composer update
ComposerHookHandler::onPreUpdate
Loading composer repositories with package information
Warning from https://repo.packagist.org: You are using an outdated version of Composer. Composer 2.0 is now available and you should upgrade. See https://getcomposer.org/2
Updating dependencies (including require-dev)
Package operations: 118 installs, 0 updates, 0 removals
Installing wikimedia/composer-merge-plugin (v1.4.1): DownloDownloading (100%)
Installing cssjanus/cssjanus (v1.3.0): Downloading (connectDownloading (100%)
Installing psr/http-message (1.0.1): Downloading (connectinDownloading (100%)
Installing psr/http-client (1.0.1): Downloading (connectingDownloading (100%)
Installing ralouphie/getallheaders (3.0.3): Downloading (coDownloading (100%)
Installing guzzlehttp/psr7 (1.7.0): Downloading (connectingDownloading (100%)
Installing guzzlehttp/promises (1.4.0): Downloading (connecDownloading (100%)
Installing guzzlehttp/guzzle (7.0.1): Downloading (connectiDownloading (100%)
Installing oojs/oojs-ui (v0.40.4): Downloading (connecting.Downloading (100%)
Installing pear/pear_exception (v1.0.1): Downloading (conneDownloading (100%)
Installing pear/console_getopt (v1.4.3): Downloading (conneDownloading (100%)
Installing pear/pear-core-minimal (v1.10.10): Downloading (Downloading (100%)
Installing pear/mail (v1.4.1): Downloading (100%)
Installing pear/mail_mime (1.10.9): Downloading (connectingDownloading (100%)
Installing pear/net_socket (v1.2.2): Downloading (connectinDownloading (100%)
Installing pear/net_smtp (1.9.2): Downloading (connecting..Downloading (100%)
Installing wikimedia/base-convert (v2.0.1): Downloading (coDownloading (100%)
Installing wikimedia/cdb (1.4.1): Downloading (connecting..Downloading (100%)
Installing wikimedia/cldr-plural-rule-parser (v1.0.0): DownDownloading (100%)
Installing pleonasm/bloom-filter (1.0.2): Downloading (connDownloading (100%)
Installing wikimedia/common-passwords (0.2.0): Downloading Downloading (100%)
Installing wikimedia/html-formatter (2.0.0): Downloading (cDownloading (100%)
Installing wikimedia/at-ease (v2.0.0): Downloading (connectDownloading (100%)
Installing wikimedia/ip-set (2.1.0): Downloading (connectinDownloading (100%)
Installing wikimedia/less.php (v3.0.0): Downloading (connecDownloading (100%)
Installing psr/log (1.1.3): Downloading (100%)
Installing wikimedia/php-session-serializer (v1.0.7): DownlDownloading (100%)
Installing wikimedia/purtle (v1.0.7): Downloading (connectiDownloading (100%)
Installing wikimedia/relpath (2.1.1): Downloading (connectiDownloading (100%)
Installing wikimedia/running-stat (v1.2.1): Downloading (coDownloading (100%)
Installing wikimedia/scoped-callback (v3.0.0): Downloading Downloading (100%)
Installing wikimedia/assert (v0.5.0): Downloading (connectiDownloading (100%)
Installing psr/container (1.0.0): Downloading (connecting..Downloading (100%)
Installing wikimedia/services (2.0.1): Downloading (connectDownloading (100%)
Installing wikimedia/utfnormal (v2.0.0): Downloading (conneDownloading (100%)
Installing wikimedia/wait-condition-loop (v1.0.1): DownloadDownloading (100%)
Installing wikimedia/wrappedstring (v3.2.0): Downloading (cDownloading (100%)
Installing wikimedia/timestamp (v3.0.0): Downloading (conneDownloading (100%)
Installing wikimedia/xmp-reader (0.7.0): Downloading (conneDownloading (100%)
Installing zordius/lightncandy (v1.2.5): Downloading (conneDownloading (100%)
Installing doctrine/event-manager (1.1.1): Downloading (conDownloading (100%)
Installing doctrine/cache (1.10.2): Downloading (connectingDownloading (100%)
Installing doctrine/dbal (2.10.4): Downloading (connecting.Downloading (100%)
Installing doctrine/sql-formatter (1.1.1): Downloading (conDownloading (100%)
Installing giorgiosironi/eris (0.10.0): Downloading (connecDownloading (100%)
Installing squizlabs/php_codesniffer (3.5.8): Downloading (Downloading (100%)
Installing composer/spdx-licenses (1.5.4): Downloading (conDownloading (100%)
Installing composer/semver (1.5.1): Downloading (connectingDownloading (100%)
Installing mediawiki/mediawiki-codesniffer (v33.0.0): DownlDownloading (100%)
Installing symfony/polyfill-php80 (v1.20.0): Downloading (cDownloading (100%)
Installing symfony/polyfill-intl-normalizer (v1.20.0): DownDownloading (100%)
Installing symfony/polyfill-intl-grapheme (v1.20.0): DownloDownloading (100%)
Installing symfony/string (v5.1.8): Downloading (connectingDownloading (100%)
Installing symfony/service-contracts (v2.2.0): Downloading Downloading (100%)
Installing symfony/polyfill-php73 (v1.20.0): Downloading (cDownloading (100%)
Installing symfony/console (v5.1.8): Downloading (connectinDownloading (100%)
Installing sabre/event (5.1.2):Downloading (100%) )
Installing netresearch/jsonmapper (v2.1.0): Downloading (coDownloading (100%)
Installing microsoft/tolerant-php-parser (v0.0.20): DownloaDownloading (100%)
Installing phpdocumentor/reflection-common (2.2.0): DownloaDownloading (100%)
Installing webmozart/assert (1.9.1): Downloading (connectinDownloading (100%)
Installing phpdocumentor/type-resolver (1.4.0): DownloadingDownloading (100%)
Installing phpdocumentor/reflection-docblock (5.2.2): DownlDownloading (100%)
Installing felixfbecker/advanced-json-rpc (v3.1.1): DownloaDownloading (100%)
Installing composer/xdebug-handler (1.4.4): Downloading (coDownloading (100%)
Installing phan/phan (2.6.1): Downloading (100%)
Installing mediawiki/phan-taint-check-plugin (3.0.3): DownlDownloading (100%)
Installing mediawiki/mediawiki-phan-config (0.10.3): DownloDownloading (100%)
Installing nmred/kafka-php (v0.1.5): Downloading (connectinDownloading (100%)
Installing php-parallel-lint/php-console-color (v0.3): DownDownloading (100%)
Installing php-parallel-lint/php-console-highlighter (v0.5): Downloading (100%)
Installing php-parallel-lint/php-parallel-lint (v1.2.0): DoDownloading (100%)
Installing pimple/pimple (v3.3.0): Downloading (connecting.Downloading (100%)
Installing dnoegel/php-xdg-base-dir (v0.1.1): Downloading (Downloading (100%)
Installing nikic/php-parser (v4.10.0): Downloading (connectDownloading (100%)
Installing symfony/var-dumper (v5.1.8): Downloading (connecDownloading (100%)
Installing psy/psysh (v0.10.4):Downloading (100%) )
Installing seld/jsonlint (1.7.1): Downloading (connecting..Downloading (100%)
Installing wikimedia/avro (v1.9.0): Downloading (connectingDownloading (100%)
Installing wikimedia/testing-access-wrapper (1.0.0): DownloDownloading (100%)
Installing wikimedia/zest-css (1.1.3): Downloading (connectDownloading (100%)
Installing wikimedia/wikipeg (2.0.4): Downloading (connectiDownloading (100%)
Installing wikimedia/remex-html (2.2.0): Downloading (conneDownloading (100%)
Installing wikimedia/object-factory (v2.1.0): Downloading (Downloading (100%)
Installing wikimedia/ip-utils (1.0.0): Downloading (connectDownloading (100%)
Installing liuggio/statsd-php-client (v1.0.18): DownloadingDownloading (100%)
Installing wikimedia/parsoid (v0.13.0-a16): Downloading (coDownloading (100%)
Installing sebastian/version (2.0.1): Downloading (connectiDownloading (100%)
Installing sebastian/type (1.1.3): Downloading (connecting.Downloading (100%)
Installing sebastian/resource-operations (2.0.1): DownloadiDownloading (100%)
Installing sebastian/recursion-context (3.0.0): DownloadingDownloading (100%)
Installing sebastian/object-reflector (1.1.1): Downloading Downloading (100%)
Installing sebastian/object-enumerator (3.0.3): DownloadingDownloading (100%)
Installing sebastian/global-state (3.0.0): Downloading (conDownloading (100%)
Installing sebastian/exporter (3.1.2): Downloading (connectDownloading (100%)
Installing sebastian/environment (4.2.3): Downloading (connDownloading (100%)
Installing sebastian/diff (3.0.2): Downloading (connecting.Downloading (100%)
Installing sebastian/comparator (3.0.2): Downloading (conneDownloading (100%)
Installing phpunit/php-timer (2.1.2): Downloading (connectiDownloading (100%)
Installing phpunit/php-text-template (1.2.1): Downloading (Downloading (100%)
Installing phpunit/php-file-iterator (2.0.2): Downloading (Downloading (100%)
Installing theseer/tokenizer (1.2.0): Downloading (connectiDownloading (100%)
Installing sebastian/code-unit-reverse-lookup (1.0.1): DownDownloading (100%)
Installing phpunit/php-token-stream (3.1.1): Downloading (cDownloading (100%)
Installing phpunit/php-code-coverage (7.0.10): Downloading Downloading (100%)
Installing doctrine/instantiator (1.3.1): Downloading (connDownloading (100%)
Installing phpspec/prophecy (1.12.1): Downloading (connectiDownloading (100%)
Installing phar-io/version (2.0.1): Downloading (connectingDownloading (100%)
Installing phar-io/manifest (1.0.3): Downloading (connectinDownloading (100%)
Installing myclabs/deep-copy (1.10.1): Downloading (connectDownloading (100%)
Installing phpunit/phpunit (8.5.8): Downloading (connectingDownloading (100%)
Installing johnkary/phpunit-speedtrap (v3.2.0): DownloadingDownloading (100%)
Installing justinrainbow/json-schema (5.2.10): Downloading Downloading (100%)
Installing monolog/monolog (1.25.5): Downloading (connectinDownloading (100%)
Installing symfony/deprecation-contracts (v2.2.0): DownloadDownloading (100%)
Installing symfony/yaml (v5.1.8): Downloading (connecting..Downloading (100%)
Installing hamcrest/hamcrest-php (v2.0.1): Downloading (conDownloading (100%)
Installing wmde/hamcrest-html-matchers (v0.1.1): DownloadinDownloading (100%)
guzzlehttp/psr7 suggests installing laminas/laminas-httphandlerrunner (Emit PSR-7 responses)
pear/net_smtp suggests installing pear/auth_sasl (Install optionally via your project's composer.json)
doctrine/cache suggests installing alcaeus/mongo-php-adapter (Required to use legacy MongoDB driver)
giorgiosironi/eris suggests installing icomefromthenet/reverse-regex (v0.0.6.3 for the regex() Generator)
symfony/service-contracts suggests installing symfony/service-implementation
symfony/console suggests installing symfony/event-dispatcher
symfony/console suggests installing symfony/lock
symfony/console suggests installing symfony/process
phan/phan suggests installing ext-ast (Needed for parsing ASTs (unless --use-fallback-parser is used). 1.0.1+ is needed, 1.0.6+ is recommended.)
psy/psysh suggests installing ext-pdo-sqlite (The doc command requires SQLite to work.)
psy/psysh suggests installing hoa/console (A pure PHP readline implementation. You'll want this if your PHP install doesn't already support readline or libedit.)
wikimedia/parsoid suggests installing wikimedia/langconv (Provides script conversion support)
sebastian/global-state suggests installing ext-uopz (*)
phpunit/phpunit suggests installing phpunit/php-invoker (^2.0.0)
phpunit/phpunit suggests installing ext-soap (*)
monolog/monolog suggests installing graylog2/gelf-php (Allow sending log messages to a GrayLog2 server)
monolog/monolog suggests installing sentry/sentry (Allow sending log messages to a Sentry server)
monolog/monolog suggests installing doctrine/couchdb (Allow sending log messages to a CouchDB server)
monolog/monolog suggests installing ruflin/elastica (Allow sending log messages to an Elastic Search server)
monolog/monolog suggests installing php-amqplib/php-amqplib (Allow sending log messages to an AMQP server using php-amqplib)
monolog/monolog suggests installing ext-amqp (Allow sending log messages to an AMQP server (1.0+ required))
monolog/monolog suggests installing ext-mongo (Allow sending log messages to a MongoDB server)
monolog/monolog suggests installing mongodb/mongodb (Allow sending log messages to a MongoDB server via PHP Driver)
monolog/monolog suggests installing aws/aws-sdk-php (Allow sending log messages to AWS services like DynamoDB)
monolog/monolog suggests installing rollbar/rollbar (Allow sending log messages to Rollbar)
monolog/monolog suggests installing php-console/php-console (Allow sending log messages to Google Chrome)
Package phpunit/php-token-stream is abandoned, you should avoid using it. No replacement was suggested.
Writing lock file
Generating optimized autoload files
20 packages you are using are looking for funding.
Use the composer fund command to find out more!
ComposerHookHandler::onPreUpdate
Loading composer repositories with package information
Warning from https://repo.packagist.org: You are using an outdated version of Composer. Composer 2.0 is now available and you should upgrade. See https://getcomposer.org/2
Updating dependencies (including require-dev)
Nothing to install or update
Package phpunit/php-token-stream is abandoned, you should avoid using it. No replacement was suggested.
Generating optimized autoload files
20 packages you are using are looking for funding.
Use the composer fund command to find out more!
ComposerVendorHtaccessCreator::onEvent
ComposerVendorHtaccessCreator::onEvent
➜ mediawiki git:(master) docker-compose exec mediawiki /bin/bash /docker/install.sh
+ php maintenance/install.php --server http://localhost:8080 --scriptpath=/w --dbtype sqlite --dbpath /var/www/html/w/cache/sqlite --lang en --pass dockerpass MediaWiki admin
PHP 7.2.31-1+0~20200514.41+debian9~1.gbpe2a56b+wmf1 is installed.
Found GD graphics library built-in. Image thumbnailing will be enabled if you enable uploads.
Found the Git version control software: /usr/bin/git.
Using server name "http://localhost".
Using server URL "http://localhost:8080/w".
Warning: Your default directory for uploads (/var/www/html/w/images/) is not checked for vulnerability to arbitrary script execution during the CLI install.
Using the PHP intl extension for Unicode normalization.
The environment has been checked. You can install MediaWiki.
Setting up database
done
Creating tables, step one
done
Creating tables, step two
Warning: MediaWiki tables seem to already exist. Skipping creation.
done
Populating default interwiki table
done
Initializing statistics
done
Generating secret keys
done
Prevent running unneeded updates
done
Restoring mediawiki services
done
Creating administrator user account
done
Creating main page with default content
done
Database was successfully set up
MediaWiki has been successfully installed. You can now visit http://localhost:8080/w to view your wiki. If you have questions, check out our frequently asked questions list: https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:FAQ or use one of the support forums linked on that page.
➜ mediawiki git:(master) git clone "https://gerrit.wikimedia.org/r/mediawiki/skins/Vector" skins/Vector
Cloning into 'skins/Vector'...
remote: Counting objects: 49, done
remote: Finding sources: 100% (44/44)
remote: Getting sizes: 100% (28/28)
remote: Compressing objects: 100% (66497/66497)
remote: Total 9604 (delta 11), reused 9579 (delta 7)
Receiving objects: 100% (9604/9604), 2.54 MiB | 749.00 KiB/s, done.
Resolving deltas: 100% (7080/7080), done.
➜ mediawiki git:(master) echo "wfLoadSkin("Vector");">> LocalSttings.php
➜ mediawiki git:(master) ✗ docker-compose exec mediawiki /bin/bash /docker/install.sh
+ php maintenance/install.php --server http://localhost:8080 --scriptpath=/w --dbtype sqlite --dbpath /var/www/html/w/cache/sqlite --lang en --pass dockerpass MediaWiki admin
PHP 7.2.31-1+0~20200514.41+debian9~1.gbpe2a56b+wmf1 is installed.
Found GD graphics library built-in. Image thumbnailing will be enabled if you enable uploads.
Found the Git version control software: /usr/bin/git.
Using server name "http://localhost".
Using server URL "http://localhost:8080/w".
Warning: Your default directory for uploads (/var/www/html/w/images/) is not checked for vulnerability to arbitrary script execution during the CLI install.
Using the PHP intl extension for Unicode normalization.
The environment has been checked. You can install MediaWiki.
Setting up database
done
Creating tables, step one
done
Creating tables, step two
Warning: MediaWiki tables seem to already exist. Skipping creation.
done
Populating default interwiki table
done
Initializing statistics
done
Generating secret keys
done
Prevent running unneeded updates
done
Restoring mediawiki services
done
Creating administrator user account
done
Creating main page with default content
done
Database was successfully set up
MediaWiki has been successfully installed. You can now visit http://localhost:8080/w to view your wiki. If you have questions, check out our frequently asked questions list: https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:FAQ or use one of the support forums linked on that page.
➜ mediawiki git:(master) ✗ maintenance/update.php
MediaWiki 1.36.0-alpha Updater
Your composer.lock file is up to date with current dependencies!
Wikimedia\Rdbms\DBConnectionError from line 1422 of /Users/hulyakarakaya/mediawiki/includes/libs/rdbms/loadbalancer/LoadBalancer.php: Cannot access the database: Unknown error (localhost)
#0 /Users/hulyakarakaya/mediawiki/includes/libs/rdbms/loadbalancer/LoadBalancer.php(935): Wikimedia\Rdbms\LoadBalancer->reportConnectionError()
#1 /Users/hulyakarakaya/mediawiki/includes/libs/rdbms/loadbalancer/LoadBalancer.php(902): Wikimedia\Rdbms\LoadBalancer->getServerConnection(0, 'my_wiki', 4)
#2 /Users/hulyakarakaya/mediawiki/includes/libs/rdbms/loadbalancer/LoadBalancer.php(1048): Wikimedia\Rdbms\LoadBalancer->getConnection(-2, Array, 'my_wiki', 4)
#3 /Users/hulyakarakaya/mediawiki/maintenance/includes/Maintenance.php(1374): Wikimedia\Rdbms\LoadBalancer->getMaintenanceConnectionRef(-2, Array, 'my_wiki')
#4 /Users/hulyakarakaya/mediawiki/maintenance/update.php(141): Maintenance->getDB(-2)
#5 /Users/hulyakarakaya/mediawiki/maintenance/doMaintenance.php(106): UpdateMediaWiki->execute()
#6 /Users/hulyakarakaya/mediawiki/maintenance/update.php(253): require_once('/Users/hulyakar...')
#7 {main}
➜ mediawiki git:(master) ✗ npm ci
npm WARN prepare removing existing node_modules/ before installation
@ffmpeg-installer/darwin-x64@4.1.0 postinstall /Users/hulyakarakaya/mediawiki/node_modules/@ffmpeg-installer/darwin-x64
chmod u+x ffmpeg
@ffmpeg-installer/linux-x64@4.1.0 postinstall /Users/hulyakarakaya/mediawiki/node_modules/@ffmpeg-installer/linux-x64
chmod u+x ffmpeg
@ffmpeg-installer/linux-ia32@4.1.0 postinstall /Users/hulyakarakaya/mediawiki/node_modules/@ffmpeg-installer/linux-ia32
chmod u+x ffmpeg
@ffmpeg-installer/linux-arm64@4.1.4 postinstall /Users/hulyakarakaya/mediawiki/node_modules/@ffmpeg-installer/linux-arm64
chmod u+x ffmpeg
@ffmpeg-installer/linux-arm@4.1.3 postinstall /Users/hulyakarakaya/mediawiki/node_modules/@ffmpeg-installer/linux-arm
chmod u+x ffmpeg
fibers@4.0.3 install /Users/hulyakarakaya/mediawiki/node_modules/fibers
node build.js || nodejs build.js
darwin-x64-72 exists; testing
Binary is fine; exiting
sauce-connect-launcher-update@1.3.2 postinstall /Users/hulyakarakaya/mediawiki/node_modules/sauce-connect-launcher-update
node scripts/install.js || nodejs scripts/install.js
core-js@3.6.5 postinstall /Users/hulyakarakaya/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 1504 packages in 22.498s
➜ mediawiki git:(master) ✗ export MW_SERVER=http://localhost:8080
export MW_SCRIPT_PATH=/w
export MEDIAWIKI_USER=Admin
export MEDIAWIKI_PASSWORD=dockerpass
npm run selenium
@ selenium /Users/hulyakarakaya/mediawiki
bash ./tests/selenium/selenium.sh
@ selenium-test /Users/hulyakarakaya/mediawiki
wdio ./tests/selenium/wdio.conf.js
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.
Execution of 6 spec files started at 2020-11-06T20:14:43.330Z
[0-0] RUNNING in chrome - /tests/selenium/wdio-mediawiki/specs/BlankPage.js
[0-0] (node:34839) DeprecationWarning: Got: "options.rejectUnauthorized" is now deprecated, please use "options.https.rejectUnauthorized"
[0-0]
Screenshot location: /Users/hulyakarakaya/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] RUNNING in chrome - /tests/selenium/specs/page.js
[0-1] (node:34864) DeprecationWarning: Got: "options.rejectUnauthorized" is now deprecated, please use "options.https.rejectUnauthorized"
[0-1] [12:14:52] [S] [MWBOT] Login successful: Admin@http://localhost:8080/w
[0-1]
Screenshot location: /Users/hulyakarakaya/mediawiki/tests/selenium/log/Page-should-be-previewable.png
[0-1]
Screenshot location: /Users/hulyakarakaya/mediawiki/tests/selenium/log/Page-should-be-creatable.png
[0-1]
Screenshot location: /Users/hulyakarakaya/mediawiki/tests/selenium/log/Page-should-be-re-creatable.png
[0-1]
Screenshot location: /Users/hulyakarakaya/mediawiki/tests/selenium/log/Page-should-be-editable-%40daily.png
[0-1]
Screenshot location: /Users/hulyakarakaya/mediawiki/tests/selenium/log/Page-should-have-history-%40daily.png
[0-1]
Screenshot location: /Users/hulyakarakaya/mediawiki/tests/selenium/log/Page-should-be-deletable.png
[0-1]
Screenshot location: /Users/hulyakarakaya/mediawiki/tests/selenium/log/Page-should-be-restorable.png
[0-1]
Screenshot location: /Users/hulyakarakaya/mediawiki/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:34912) DeprecationWarning: Got: "options.rejectUnauthorized" is now deprecated, please use "options.https.rejectUnauthorized"
[0-2] PASSED in chrome - /tests/selenium/specs/rollback.js
[0-3] RUNNING in chrome - /tests/selenium/specs/specialrecentchanges.js
[0-3] (node:34925) DeprecationWarning: Got: "options.rejectUnauthorized" is now deprecated, please use "options.https.rejectUnauthorized"
[0-3] [12:16:00] [S] [MWBOT] Login successful: Admin@http://localhost:8080/w
[0-3]
Screenshot location: /Users/hulyakarakaya/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:34936) DeprecationWarning: Got: "options.rejectUnauthorized" is now deprecated, please use "options.https.rejectUnauthorized"
[0-4] [12:16:13] [S] [MWBOT] Login successful: Admin@http://localhost:8080/w
[0-4]
Screenshot location: /Users/hulyakarakaya/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:34947) DeprecationWarning: Got: "options.rejectUnauthorized" is now deprecated, please use "options.https.rejectUnauthorized"
[0-5] [12:16:31] [S] [MWBOT] Login successful: Admin@http://localhost:8080/w
[0-5]
Screenshot location: /Users/hulyakarakaya/mediawiki/tests/selenium/log/User-should-be-able-to-create-account.png
[0-5]
Screenshot location: /Users/hulyakarakaya/mediawiki/tests/selenium/log/User-should-be-able-to-log-in-%40daily.png
[0-5] (node:34947) UnhandledPromiseRejectionWarning: Error: ENOENT: no such file or directory, open '/Users/hulyakarakaya/mediawiki/tests/selenium/log/rawSeleniumVideoGrabs/User--should-be-able-to-log-in-daily--CHROME--11-06-2020--12-16-37-946/0006.png'
at Object.openSync (fs.js:462:3)
at Object.writeFileSync (fs.js:1384:35)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at Video.onTestEnd (/Users/hulyakarakaya/mediawiki/node_modules/wdio-video-reporter/dist/wdio-video-reporter.js:584:19)
at Video.<anonymous> (/Users/hulyakarakaya/mediawiki/node_modules/wdio-video-reporter/node_modules/@wdio/reporter/build/index.js:132:12)
at /Users/hulyakarakaya/mediawiki/node_modules/@wdio/runner/build/reporter.js:38:49
at Array.forEach (<anonymous>)
at BaseReporter.emit (/Users/hulyakarakaya/mediawiki/node_modules/@wdio/runner/build/reporter.js:38:20)
at MochaAdapter.emit (/Users/hulyakarakaya/mediawiki/node_modules/@wdio/mocha-framework/build/index.js:258:19)
at /Users/hulyakarakaya/mediawiki/node_modules/mocha/lib/runner.js:779:14
at done (/Users/hulyakarakaya/mediawiki/node_modules/mocha/lib/runnable.js:314:5)
at /Users/hulyakarakaya/mediawiki/node_modules/mocha/lib/runnable.js:379:11
[0-5] (node:34947) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:34947) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
[0-5] (node:34947) PromiseRejectionHandledWarning: Promise rejection was handled asynchronously (rejection id: 1)
[0-5] PASSED in chrome - /tests/selenium/specs/user.js
"dot" Reporter:
....................
Spec Files: 6 passed, 6 total (100% completed) in 00:02:01
Create .vscode/launch.json file.
➜ mediawiki git:(master) chromedriver --url-base=/wd/hub --port=4444
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.