Page MenuHomePhabricator

Error in "item.can add a statement using the keyboard" Error: waitUntil condition timed out after 10000ms
Closed, DeclinedPublic

Description

Seen on a Translate patch; https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Translate/+/813911/

16:07:36 [0-1] Error in "item.can add a statement using the keyboard"
16:07:36 Error: waitUntil condition timed out after 10000ms
16:07:36     at Context.<anonymous> (/workspace/src/extensions/Wikibase/repo/tests/selenium/specs/item.js:60:11)
16:07:36 [0-1] 
16:07:40 [0-1] 	Screenshot: /workspace/log/old-revisions-do-not-have-an-edit-link-2022-07-14T15-07-40-067Z.png
16:07:40 [0-1] 
16:07:40 [0-1] FAILED in chrome - /repo/tests/selenium/specs/item.js

Event Timeline

Does it happen consistently or did it go away with a recheck?

It went away with a recheck...

Thanks for clarifying. As long as it doesn’t happen too often, I don’t think there’s much we can do here – I think the test is valuable enough that we shouldn’t just disable it, I don’t see any obvious problem in the referenced line (repo/tests/selenium/specs/item.js:60), and I don’t think we should look deeper into this specific test at the moment. There is a longer-term task to migrate some of our browser tests, which might include migrating this and other tests away from Selenium towards a more stable platform – see T180228, especially T180228#7178058.