Addshore added a comment.
In T273327#6863053 <https://phabricator.wikimedia.org/T273327#6863053>, @Reedy wrote: > Still an issue > > https://gerrit.wikimedia.org/r/c/mediawiki/vendor/+/666707/ > https://integration.wikimedia.org/ci/job/wmf-quibble-selenium-php72-docker/81176/console Preserving the log here. 23:17:17 [chrome 73.0.3683.75 Linux #0-5] Spec: /workspace/src/extensions/Wikibase/client/data-bridge/tests/selenium/specs/init.js 23:17:17 [chrome 73.0.3683.75 Linux #0-5] Running: chrome (v73.0.3683.75) on Linux 23:17:17 [chrome 73.0.3683.75 Linux #0-5] Session ID: 2ffecfec7427d922a3e97a2e57dc39d0 23:17:17 [chrome 73.0.3683.75 Linux #0-5] 23:17:17 [chrome 73.0.3683.75 Linux #0-5] init 23:17:17 [chrome 73.0.3683.75 Linux #0-5] ✓ opens app in OOUI dialog 23:17:17 [chrome 73.0.3683.75 Linux #0-5] ✓ indicates loading while app gathers its data 23:17:17 [chrome 73.0.3683.75 Linux #0-5] 23:17:17 [chrome 73.0.3683.75 Linux #0-5] once app is launched 23:17:17 [chrome 73.0.3683.75 Linux #0-5] ✖ shows the current targetValue 23:17:17 [chrome 73.0.3683.75 Linux #0-5] ✓ shows the current targetReference 23:17:17 [chrome 73.0.3683.75 Linux #0-5] 23:17:17 [chrome 73.0.3683.75 Linux #0-5] target property label 23:17:17 [chrome 73.0.3683.75 Linux #0-5] ✓ uses the label from the page content language 23:17:17 [chrome 73.0.3683.75 Linux #0-5] ✓ uses the label from a non-English fallback language 23:17:17 [chrome 73.0.3683.75 Linux #0-5] ✓ uses the label from the English fallback language 23:17:17 [chrome 73.0.3683.75 Linux #0-5] ✓ uses the property ID if no label in fallback chain found 23:17:17 [chrome 73.0.3683.75 Linux #0-5] 23:17:17 [chrome 73.0.3683.75 Linux #0-5] warning for anonymous edits 23:17:17 [chrome 73.0.3683.75 Linux #0-5] ✓ is not shown when logged in 23:17:17 [chrome 73.0.3683.75 Linux #0-5] 23:17:17 [chrome 73.0.3683.75 Linux #0-5] when anonymous 23:17:17 [chrome 73.0.3683.75 Linux #0-5] ✓ is shown and can be dismissed 23:17:17 [chrome 73.0.3683.75 Linux #0-5] ✓ is shown and leads to login page 23:17:17 [chrome 73.0.3683.75 Linux #0-5] 23:17:17 [chrome 73.0.3683.75 Linux #0-5] 10 passing (1m 21.7s) 23:17:17 [chrome 73.0.3683.75 Linux #0-5] 1 failing 23:17:17 [chrome 73.0.3683.75 Linux #0-5] 23:17:17 [chrome 73.0.3683.75 Linux #0-5] 1) once app is launched shows the current targetValue 23:17:17 [chrome 73.0.3683.75 Linux #0-5] element (".oo-ui-dialog #data-bridge-app .wb-db-bridge") still not displayed after 5000ms 23:17:17 [chrome 73.0.3683.75 Linux #0-5] Error: element (".oo-ui-dialog #data-bridge-app .wb-db-bridge") still not displayed after 5000ms 23:17:17 [chrome 73.0.3683.75 Linux #0-5] at Context.it (/workspace/src/extensions/Wikibase/client/data-bridge/tests/selenium/specs/init.js:107:26) I smell a fish, though i'm not sure if it is a herring. `element (".oo-ui-dialog #data-bridge-app .wb-db-bridge") still not displayed after 5000ms``` However the video artifact of the test is only 3 seconds long? https://integration.wikimedia.org/ci/job/wmf-quibble-selenium-php72-docker/81176/artifact/log/once-app-is-launched_shows-the-current-targetValue.mp4 And the timeout that is failing is 5 seconds long? Not only that but the test makes at least 3 api calls that should be taking some amount of time, after which the 5second time out should start... This could just be an issue with the video recording though? const title = DataBridgePage.getDummyTitle(); const propertyId = browser.call( () => WikibaseApi.getProperty( 'string' ) ); const stringPropertyExampleValue = 'ExampleString'; const entityId = browser.call( () => WikibaseApi.createItem( 'data bridge browser test item', { 'claims': [ { 'mainsnak': { 'snaktype': 'value', 'property': propertyId, 'datavalue': { 'value': stringPropertyExampleValue, 'type': 'string' }, }, 'type': 'statement', 'rank': 'normal', } ], } ) ); const content = DataBridgePage.createInfoboxWikitext( [ { label: 'official website', entityId, propertyId, editFlow: 'single-best-value', } ] ); browser.call( () => Api.bot().then( ( bot ) => bot.edit( title, content ) ) ); DataBridgePage.openAppOnPage( title ); DataBridgePage.bridge.waitForDisplayed( 5000 ); TASK DETAIL https://phabricator.wikimedia.org/T273327 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Addshore Cc: Addshore, Aklapper, Reedy, maantietaja, Akuckartz, Michael, DannyS712, Nandana, Lahi, Gq86, Pablo-WMDE, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Jonas, abian, Wikidata-bugs, aude, Lydia_Pintscher, zeljkofilipin, Jdforrester-WMF, Mbch331
_______________________________________________ Wikidata-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
