**Report:**
[[ https://integration.wikimedia.org/ci/job/selenium-daily-beta-Wikibase/18/console | selenium-daily-beta-Wikibase ]] Jenkins job fails:
```
> MEDIAWIKI_USER='Selenium user' MW_SERVER=https://wikidata.beta.wmflabs.org:443 MW_SCRIPT_PATH=/w npm run selenium-test
> Wikibase@0.0.0 selenium-test /src
> wdio repo/tests/selenium/wdio.conf.js
[46.366][SEVERE]: Failed to create /nonexistent/.pki/nssdb directory.
Screenshot: /log/the-title-should-match.png
------------------------------------------------------------------
[chrome #0-0] Session ID: 456eac05a76dc7e4d1fdb7df4eb1fffc
[chrome #0-0] Spec: /src/repo/tests/selenium/specs/nonexisting.item.js
[chrome #0-0] Running: chrome
[chrome #0-0]
[chrome #0-0] WikibaseRepoNonExistingItemPage
[chrome #0-0] ✓ edit tab does should not be there
[chrome #0-0] 1) the title should match
[chrome #0-0]
[chrome #0-0]
[chrome #0-0] 1 passing (7s)
[chrome #0-0] 1 failing
[chrome #0-0]
[chrome #0-0] 1) WikibaseRepoNonExistingItemPage the title should match:
[chrome #0-0] 'Q1xy' === 'Item:Q1xy'
[chrome #0-0] AssertionError: 'Q1xy' === 'Item:Q1xy'
[chrome #0-0] at Context.<anonymous> (/src/repo/tests/selenium/specs/nonexisting.item.js:15:10)
[chrome #0-0] at Promise.F (/src/node_modules/core-js/library/modules/_export.js:36:28)
```
[[ https://integration.wikimedia.org/ci/job/selenium-daily-beta-Wikibase/18/artifact/log/ | Screenshot ]] from the job:
{F25807739}
**Diagnosis:**
@Addshore said:
This is down to the configuration / hardcoding of the namespace.
The test does this:
```
NonExistingItemPage.open();
// Which does the following internally page.openTitle( 'Item:Q1xy' );
assert.strictEqual( NonExistingItemPage.title.getText(), 'Item:Q1xy' );
```
beta is setup in the same was as wikidata.org which does not use the Item: namespace for items, instead it uses the mainspace.
We probably need some way to detect or pass in the item namespace of the wiki that the test is running on?
**Acceptance Criteria:**
[] The test does not have a hard coded namespace but instead gets the namespace from configuration
[] Test pases on beta