Code in [[ https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/core/+/refs/heads/master/tests/selenium/specs/page.js | page.js ]] is skipping more tests than it should? The code was introduced in [[ https://gerrit.wikimedia.org/r/c/mediawiki/core/+/713682 | 713682 ]]. It was needed for WikiLambda [[ https://gerrit.wikimedia.org/r/c/mediawiki/extensions/WikiLambda/+/713548 | 713548 ]].
```
// Don't try to run wikitext-specific tests if the test namespace isn't wikitext by default.
if ( await Util.isTargetNotWikitext( name ) ) {
this.skip();
}
```
Master branch: 11 skipped, 3 passing. Full output: P40808.
```
/tests/selenium/specs/recentchanges.js
1 skipped
/tests/selenium/specs/page.js
9 skipped
/tests/selenium/wdio-mediawiki/specs/BlankPage.js
1 passing
/tests/selenium/specs/watchlist.js
1 skipped
/tests/selenium/specs/user.js
2 passing
```
[[ https://gerrit.wikimedia.org/r/c/mediawiki/core/+/860029 | 860029 ]] (still working on it): 7 skipped, 7 passing. Full output: P40808.
```
/tests/selenium/specs/page.js
2 passing
7 skipped
/tests/selenium/specs/recentchanges.js
1 passing
/tests/selenium/specs/user.js
2 passing
/tests/selenium/specs/watchlist.js
1 passing
/tests/selenium/wdio-mediawiki/specs/BlankPage.js
1 passing
```