Page MenuHomePhabricator
Paste P17485

media wiki$ npm run selenium-test
ActivePublic

Authored by Lykarungi on Oct 15 2021, 8:35 AM.
Tags
None
Referenced Files
F34689680: media wiki$ npm run selenium-tests
Oct 15 2021, 8:35 AM
Subscribers
None
lydiakarungi@Lydias-MacBook-Pro mediawiki % docker-compose exec mediawiki composer update
> ComposerHookHandler::onPreUpdate
Loading composer repositories with package information
Warning from https://repo.packagist.org: Support for Composer 1 is deprecated and some packages will not be available. You should upgrade to Composer 2. See https://blog.packagist.com/deprecating-composer-1-support/
Updating dependencies (including require-dev)
Package operations: 0 installs, 1 update, 0 removals
- Updating wikimedia/zest-css (2.0.1 => 2.0.2): Downloading (100%)
Package phpunit/php-token-stream is abandoned, you should avoid using it. No replacement was suggested.
Writing lock file
Generating optimized autoload files
40 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
> ComposerVendorHtaccessCreator::onEvent
lydiakarungi@Lydias-MacBook-Pro mediawiki % 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.34-18+0~20210223.60+debian10~1.gbpb21322+wmf1 is installed.
Found ImageMagick: /usr/bin/convert. 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
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.
lydiakarungi@Lydias-MacBook-Pro mediawiki % npm run selenium-test
> @ selenium-test /Users/lydiakarungi/Desktop/outreachy/mediawiki
> wdio ./tests/selenium/wdio.conf.js
Execution of 5 spec files started at 2021-10-15T08:33:54.676Z
[0-0] RUNNING in chrome - /tests/selenium/specs/page.js
[0-0] PASSED in chrome - /tests/selenium/specs/page.js
[0-1] RUNNING in chrome - /tests/selenium/specs/recentchanges.js
[0-1] PASSED in chrome - /tests/selenium/specs/recentchanges.js
[0-2] RUNNING in chrome - /tests/selenium/specs/user.js
[0-2] PASSED in chrome - /tests/selenium/specs/user.js
[0-3] RUNNING in chrome - /tests/selenium/specs/watchlist.js
[0-3] PASSED in chrome - /tests/selenium/specs/watchlist.js
[0-4] RUNNING in chrome - /tests/selenium/wdio-mediawiki/specs/BlankPage.js
[0-4] PASSED in chrome - /tests/selenium/wdio-mediawiki/specs/BlankPage.js
"dot" Reporter:
..............
Spec Files: 5 passed, 5 total (100% completed) in 00:00:48

Event Timeline

Lykarungi changed the title of this paste from media wiki$ npm run selenium-tests to media wiki$ npm run selenium-test.Oct 15 2021, 8:40 AM