| Addshore updated the task description. (Show Details) |
CHANGES TO TASK DESCRIPTION
**Report:**
[[ https://integration.wikimedia.org/ci/job/selenium-daily-beta-Wikibase/18/console | selenium-daily-beta-Wikibase ]] Jenkins job fails:
**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
[[ https://integration.wikimedia.org/ci/job/selenium-daily-beta-Wikibase/18/console | selenium-daily-beta-Wikibase ]] Jenkins job fails:
...
{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
TASK DETAIL
EMAIL PREFERENCES
To: Addshore
Cc: Addshore, Ladsgroup, Aklapper, zeljkofilipin, Nandana, Lahi, Gq86, GoranSMilovanovic, Jayprakash12345, QZanden, LawExplorer, Jonas, Izno, Wikidata-bugs, aude, Dinoguy1000, Lydia_Pintscher, Mbch331, Jay8g
Cc: Addshore, Ladsgroup, Aklapper, zeljkofilipin, Nandana, Lahi, Gq86, GoranSMilovanovic, Jayprakash12345, QZanden, LawExplorer, Jonas, Izno, Wikidata-bugs, aude, Dinoguy1000, Lydia_Pintscher, Mbch331, Jay8g
_______________________________________________ Wikidata-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
