zeljkofilipin added a comment. |
My comment on my commit in Gerrit (291907)
selenium-Wikibase job fails with
no such file to load -- features/support/pages (LoadError)The problem is that selenium* jobs run from repository root.
I have fixed the path in the Wikibase repo
https://gerrit.wikimedia.org/r/#/c/291890/
tested it, works fine
https://integration.wikimedia.org/ci/view/Selenium/job/selenium-Wikibase-291890/
but now mwext-mw-selenium-composer job fails with
no such file to load -- tests/browser/features/support/pages (LoadError)https://integration.wikimedia.org/ci/job/mwext-mw-selenium-composer/3403/consoleFull
because it is not running from the root of the repo but from tests/browser.
The folder is configured in tests-dir variable of mw-selenium-with-dir builder
https://phabricator.wikimedia.org/diffusion/CICF/browse/master/jjb/macro.yaml$353
I have seen it used in mw-selenium:
tests-dir: 'src/extensions/$EXT_NAME/tests/browser'https://phabricator.wikimedia.org/diffusion/CICF/browse/master/jjb/macro.yaml$388
and in mediawiki-selenium-integration
tests-dir: '.'https://phabricator.wikimedia.org/diffusion/CICF/browse/master/jjb/ruby-jobs.yaml$133
I am not sure which one is correct.
Cc: gerritbot, Aklapper, Zppix, Tobi_WMDE_SW, zeljkofilipin, Lewizho99, Maathavan, D3r1ck01, Izno, Wikidata-bugs, aude, Mbch331, greg
_______________________________________________ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs