awight added a comment.
Quibble runs some services in the background, which you would also need in order to run browser tests. Specifically I think you're missing: - xvfb in order to run headless, like `xvfb :94 -screen 0 1280x1024x24 -nolisten tcp -nolisten unix` - chromedriver, either the npm driver or standalone: `chromedriver --port=4444 --url-base=/wd/hub` It might also be possible to use Quibble as the test runner, like `quibble --run selenium`, for example in this template <https://github.com/wikimedia/integration-config/blob/master/jjb/mediawiki.yaml#L371>, but I'm not sure whether anyone has tried this outside of mediawiki-extensions-* yet? > Task inspection note: we probably want to start with adding the browser_test to the `test` script in `package.json` and see what happens This sounds slightly nasty to me, don't you sometimes want to run just the simple tests locally? It's fine to have a separate script target and your CI configuration can call both `npm run test` and `npm run selenium-test`. But if you decide you really do want to merge the test suites, that should work too. TASK DETAIL https://phabricator.wikimedia.org/T222200 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Tonina_Zhelyazkova_WMDE, awight Cc: Lucas_Werkmeister_WMDE, Addshore, awight, Smalyshev, hashar, zeljkofilipin, noarave, WMDE-leszek, Aklapper, Alter-paule, Beast1978, Un1tY, Akuckartz, Hook696, Iflorez, darthmon_wmde, Kent7301, alaa_wmde, Ferenczy, sarhan.alaa, Samuditha24, IM3847, joker88john, CucyNoiD, Nandana, kostajh, Gaboe420, Giuliamocci, Cpaulf30, Lahi, Gq86, Af420, Bsandipan, GoranSMilovanovic, Jayprakash12345, Chicocvenancio, MichaelSchoenitzer_WMDE, QZanden, LawExplorer, Lewizho99, Maathavan, Jogi_don, _jensen, rosalieper, xSavitar, Scott_WUaS, Jonas, thcipriani, Wikidata-bugs, aude, Lydia_Pintscher, Mbch331, jayantanth, Rxy, Jay8g
_______________________________________________ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs