# Working on linux Steps that I followed : 1) I cloned the repo mediawiki . 2) Installed docker with linux commands . 3) Created a .env file and docker-compose.override.yml file . 4) Ran the following commands: echo "MW_DOCKER_UID=$(id -u) MW_DOCKER_GID=$(id -g)" >> .env docker-compose up -d docker-compose exec mediawiki composer update docker-compose exec mediawiki /bin/bash /docker/install.sh 5) Cloned vector repo in /skins and paste this echo "wfLoadSkin( 'Vector' );" >> LocalSettings.php. 6) Ran mediawiki on localhost . 7) Installed npm and chromium with linux commands. 6) Ran selenium commands mentioned below . umang@umang-VirtualBox:~/mediawiki$ export MW_SERVER=http://localhost:8080 umang@umang-VirtualBox:~/mediawiki$ export MW_SCRIPT_PATH=/w umang@umang-VirtualBox:~/mediawiki$ export MEDIAWIKI_USER=Admin umang@umang-VirtualBox:~/mediawiki$ export MEDIAWIKI_PASSWORD=dockerpass umang@umang-VirtualBox:~/mediawiki$ npm run selenium-test > @ selenium-test /home/umang/mediawiki > wdio ./tests/selenium/wdio.conf.js Execution of 6 spec files started at 2021-04-07T10:56:24.589Z [0-0] RUNNING in chrome - /tests/selenium/wdio-mediawiki/specs/BlankPage.js [0-0] Screenshot location: /home/umang/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] [16:26:50] [S] [MWBOT] Login successful: Admin@http://localhost:8080/w [0-1] Screenshot location: /home/umang/mediawiki/tests/selenium/log/Page-should-be-previewable.png [0-1] Screenshot location: /home/umang/mediawiki/tests/selenium/log/Page-should-be-creatable.png [0-1] Screenshot location: /home/umang/mediawiki/tests/selenium/log/Page-should-be-re-creatable.png [0-1] Screenshot location: /home/umang/mediawiki/tests/selenium/log/Page-should-be-editable-%40daily.png [0-1] Screenshot location: /home/umang/mediawiki/tests/selenium/log/Page-should-have-history-%40daily.png [0-1] Screenshot location: /home/umang/mediawiki/tests/selenium/log/Page-should-be-deletable.png [0-1] Screenshot location: /home/umang/mediawiki/tests/selenium/log/Page-should-be-restorable.png [0-1] PASSED in chrome - /tests/selenium/specs/page.js [0-2] RUNNING in chrome - /tests/selenium/specs/rollback.js [0-2] PASSED in chrome - /tests/selenium/specs/rollback.js [0-3] RUNNING in chrome - /tests/selenium/specs/specialrecentchanges.js [0-3] [16:32:04] [S] [MWBOT] Login successful: Admin@http://localhost:8080/w [0-3] Screenshot location: /home/umang/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] [16:32:22] [S] [MWBOT] Login successful: Admin@http://localhost:8080/w [0-4] Screenshot location: /home/umang/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] [16:32:45] [S] [MWBOT] Login successful: Admin@http://localhost:8080/w [0-5] Screenshot location: /home/umang/mediawiki/tests/selenium/log/User-should-be-able-to-create-account.png [0-5] Screenshot location: /home/umang/mediawiki/tests/selenium/log/User-should--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:06:39