... 00:00:11.769 no such file to load -- features/support/pages (LoadError) ...
Description
Details
Related Objects
- Mentioned In
- R1909:a8d6a8b3dbed: Fix paths in env.rb
Event Timeline
Change 291907 had a related patch set uploaded (by Zfilipin):
WIP Fix selenium-Wikibase Jenkins job
Change 291890 had a related patch set uploaded (by Zfilipin):
Fix selenium-Wikibase Jenkins job by fixing path to a file
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.
Change 300278 had a related patch set uploaded (by Tobias Gritschacher):
Fix paths in env.rb
Change 291890 abandoned by Tobias Gritschacher:
WIP Fix selenium-Wikibase Jenkins job by fixing path to a file
Reason:
This was resolved in https://gerrit.wikimedia.org/r/#/c/300508/15/tests/browser/features/support/env.rb