We are trying to update the CI jobs for Quibble from Stretch to Buster (which bring in a new version of Chromium) and the new image fails test on Wikibase.
It can be seen by commenting in Gerrit check experimental on a mediawiki/extensions/Wikibase change. It will trigger the job quibble-vendor-mysql-php72_buster-docker which is based on Buster. A Selenium test for the data bridge ends up with:
Spec: /workspace/src/extensions/Wikibase/client/data-bridge/tests/selenium/specs/errorHandling.js Running: chrome (v88.0.4324.182) on linux Session ID: e16f0cf3d3db0bfd386d9695a7bf7331 App ✓ shows ErrorUnknown when launching bridge for a non-existent entity ✓ can be relaunched from ErrorUnknown ✓ can retry saving bridge from ErrorSaving ✖ can go back from a save error both on desktop and mobile when assertuser fails ✓ can retry saving without assertuser ✓ can login and retry saving ✓ still asserts user after logging in ✓ shows custom Bridge warning on login page when there is an edit conflict ✓ reloads on reload button click ✓ reloads on close button click 9 passing (1m 1.4s) 1 failing 1) App can go back from a save error both on desktop and mobile element (".oo-ui-dialog #data-bridge-app .wb-db-error-saving__back") still displayed after 10000ms Error: element (".oo-ui-dialog #data-bridge-app .wb-db-error-saving__back") still displayed after 10000ms at Context.it (/workspace/src/extensions/Wikibase/client/data-bridge/tests/selenium/specs/errorHandling.js:200:40)
An example build failure is: https://integration.wikimedia.org/ci/job/quibble-vendor-mysql-php72_buster-docker/50/
I have tried to reproduce with Quibble using:
ZUUL_PROJECT=mediawiki/extensions/Wikibase \ quibble --git-cache="$HOME/projects" --packages-source=composer \ -c bash \ mediawiki/extensions/UniversalLanguageSelector
Which prepare the repos and dependencies and drop into a shell. Then:
export MW_SERVER=http://127.0.0.1:9412 export MW_SCRIPT_PATH=/ export MEDIAWIKI_USER=WikiAdmin export MEDIAWIKI_PASSWORD=testwikijenkinspass cd extensions/Wikibase/client/data-bridge npm ci ./node_modules/.bin/wdio tests/selenium/wdio.conf.js --spec tests/selenium/specs/errorHandling.js:129
Though that got me 4 specs failing with:
element (".oo-ui-dialog #data-bridge-app .wb-db-thankyou") still not displayed after 10000ms
So I guess I am missing a dependency :]