Page MenuHomePhabricator

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


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


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

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

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