[[ 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-mediawiki-wikidata.
**Steps**
[] Make a gerrit repo (@Addshore & @WMDE-leszek can do this, this [[ https://www.mediawiki.org/wiki/Gerrit/New_repositories#Step_4:_Request_a_Git_repository | can be requested ]])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/
[] Extract the files into the repoPublish an npm package, from within the Wikibase repo, similar to https://www.npmjs.com/package/wdio-mediawiki, called wdio-wikibase under the wmde org
[] Make it a real npm package
[] Publish under wmde npmjs org: https://www.npmjs.com/org/wmde
[] Load the npm package in Wikibase and Lexeme, removing the old code.Load the npm package in WikibaseLexeme and use the code from there rather than referring to files in Wikibase