Page MenuHomePhabricator

selenium: ".lemma-widget_edit" still not visible after 10000ms
Closed, ResolvedPublic

Description

08:48:54 1) Lexeme:Forms can add representation:
08:48:54 element (".lemma-widget_edit") still not visible after 10000ms

e.g. https://integration.wikimedia.org/ci/job/mwext-mw-selenium-node-composer-jessie/1377/console

Appears to be happening for

  • mwext-mw-selenium-node-composer-jessie
  • mediawiki-core-qunit-selenium-jessie
  • mwext-mw-selenium-composer-jessie
  • quibble-composer-mysql-php70-docker

The header JS seems to be never loaded fully, consequently the page object never indicates the page to be fully loaded which makes many tests broken (during the setup phase)

Event Timeline

With masters of core, wikibase, lexeme we seem to be able to reproduce it locally (sometimes; likely cache related).

Error: Module "wikibase.lexeme.datamodel.Lemma" is not loaded.
...
jQuery.Deferred exception: Cannot read property 'buildLexemeHeader' of undefined TypeError: Cannot read property 'buildLexemeHeader' of undefined
    at Object.SELF.getEntityView (<anonymous>:795:934)
    at createEntityView (<anonymous>:648:74)
    at <anonymous>:652:567

Change 451603 had a related patch set uploaded (by Pablo Grass (WMDE); owner: Pablo Grass (WMDE)):
[mediawiki/extensions/WikibaseLexeme@master] newLexemeHeaderStore: specify dependencies

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

There appears to be an additional, unrelated flakyness in reading window.mw.config.get( 'LexemeLanguageCodePropertyId' ); possibly before resourceloader is fully finished. -> T201600

Change 451603 merged by Hoo man:
[mediawiki/extensions/WikibaseLexeme@master] newLexemeHeaderStore: specify dependencies

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