hashar created this task.
hashar added projects: Wikibase, Wikidata-Campsite.
Restricted Application added a subscriber: Aklapper.
Restricted Application added a project: Wikidata.

TASK DESCRIPTION
  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:
  
  counterexample
    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 
<https://phabricator.wikimedia.org/tag/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 :]

TASK DETAIL
  https://phabricator.wikimedia.org/T279068

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: hashar
Cc: Aklapper, Jdforrester-WMF, hashar, Invadibot, maantietaja, Akuckartz, 
darthmon_wmde, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, 
_jensen, rosalieper, Scott_WUaS, Jonas, Wikidata-bugs, aude, Lydia_Pintscher, 
Mbch331
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to