Page MenuHomePhabricator

[Data Bridge][browser tests]Set appropriate timeouts for each waitFor* function
Closed, ResolvedPublic5 Estimated Story Points

Description

After an investigation in T281122 it was decided that the data bridge browser tests which make API calls should have a timeout of 20s, so the "flakiness" of the tests in CI is reduced.
That was done in https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Wikibase/+/682705

Not all data bridge browser tests which use a waitFor* function need to wait for 20s though.

Acceptance Criteria:🏕️🌟

  • Only the browser tests which make an API call should use the default timeout of 20s
  • The timeout in waitFor* functions which are not making API calls should be set on case-to-case basis

Interesting Links:

Event Timeline

@Tonina_Zhelyazkova_WMDE just a heads up but I imagine this would be classed as a "small task" if you just wanted to dive in and do it?
I'm guessing, but I don't think this will end up getting prioritized super high using the scoring system (I could be wrong though also as it is low effort), but that would also be one of the reasons to allow it to skip the scoring session with the small task initiative in mind.

Change 692610 had a related patch set uploaded (by Michael Große; author: Michael Große):

[mediawiki/extensions/Wikibase@master] bridge: standardize timeouts in selenium tests

https://gerrit.wikimedia.org/r/692610

Change 692610 merged by jenkins-bot:

[mediawiki/extensions/Wikibase@master] bridge: standardize timeouts in selenium tests

https://gerrit.wikimedia.org/r/692610