[[ 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 this [[ https://www.mediawiki.org/wiki/Gerrit/New_repositories#Step_4:_Request_a_Git_repository | can be requested ]])
* Extract the files into the repo
* 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.