[[ https://integration.wikimedia.org/ci/job/WikibaseLexeme-npm-browser-run-selenium-daily-node-6-docker | WikibaseLexeme-npm-browser-run-selenium-daily-node-6-docker ]] Jenkins job does this:
```
git clone WikibaseLexeme
npm install
npm run selenium-daily
```
It fails because WikibaseLexeme repository assumes Wikibase repository will be available at a specific location.
Failures:
```
ERROR: Cannot find module '../../../Wikibase/repo/tests/selenium/wikibase.api'
ERROR: Cannot find module '../../../../Wikibase/repo/tests/selenium/pagesections/mixinbuilder'
ERROR: Cannot find module '../../../../Wikibase/repo/tests/selenium/wikibase.api'
```
If code from Wikibase is required to run WikibaseLexeme, then the code should be extracted to a library, like [[ https://www.npmjs.com/package/wdio-mediawiki | wdio-mediawiki ]], or by creating wdio-wikibase.
**Steps**
[] Extract the files into a single directory in the Wikibase repo (similar to the wdio-mediawiki directory) https://gerrit.wikimedia.org/g/mediawiki/core/+/master/tests/selenium/wdio-mediawiki/
[] Publish an npm package, from within the Wikibase repo, similar to https://www.npmjs.com/package/wdio-mediawiki, called wdio-wikibase under the wmde org
[] Load the npm package in WikibaseLexeme and use the code from there rather than referring to files in Wikibase