Addshore added a comment. |
In T204205#4580022, @zeljkofilipin wrote:@Ladsgroup @Addshore do you know what is the problem?
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?
TASK DETAIL
EMAIL PREFERENCES
To: Addshore
Cc: Addshore, Ladsgroup, Aklapper, zeljkofilipin, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, Jonas, Wikidata-bugs, aude, Lydia_Pintscher, Mbch331
Cc: Addshore, Ladsgroup, Aklapper, zeljkofilipin, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, Jonas, Wikidata-bugs, aude, Lydia_Pintscher, Mbch331
_______________________________________________ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs