In /tests/selenium/specs directory nodejs inbuilt assert module is being used. The project already uses webdriverio that comes with its own assertion library called expect-webdriverio that provides more complex assertions methods as well as are more readable. The task is to change assert to expect. Even the jest directory uses expect.
Description
Description
Details
Details
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
selenium-test: change assert to expect | mediawiki/extensions/WikiLambda | master | +6 -8 |
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Open | None | T210726 Selenium framework maintenance | |||
Open | None | T324685 Upgrade WebdriverIO to v8 in all repositories | |||
In Progress | zeljkofilipin | T325740 Replace Node.js Assert library with WebdriverIO Expect library | |||
Resolved | Nik.xyz.in | T331484 Change `assert` to `expect` in WikiLambda browser tests |
Event Timeline
Comment Actions
Change 894584 had a related patch set uploaded (by Nik.xyz.in; author: Nik.xyz.in):
[mediawiki/extensions/WikiLambda@master] selenium-test: change assert to expect
Comment Actions
Change 894584 merged by jenkins-bot:
[mediawiki/extensions/WikiLambda@master] selenium-test: change assert to expect