mediawiki-extensions-Revisi.../tests/selenium/.eslintrc.json
vidhi-mody 94b952e78a Selenium: Update to WebdriverIO v5
Update NPM packages: webdriverio, wdio-mediawiki.
Update ESlint configuration.

Replace NPM packages:
- wdio-mocha-framework with @wdio/mocha-framework.
- wdio-spec-reporter with @wdio/spec-reporter.

New NPM packages: @wdio/cli, @wdio/local-runner, @wdio/sync.

Replace:
- `browser.element` with `$`.
- `chromeOptions` with `'goog:chromeOptions'`.
- `password` with `mwPwd`.
- `username` with `mwUser`.
- `waitForVisible()` with `waitForDisplayed()`.
- `moveToObject()` with `moveTo()`.

Bug: T250601
Change-Id: I2c2e79800433eb964368d932954def69af936195
2020-05-24 01:21:04 +05:30

20 lines
267 B
JSON

{
"root": true,
"extends": [
"wikimedia/server",
"wikimedia/language/es2017",
"wikimedia/jquery"
],
"env": {
"mocha": true
},
"globals": {
"browser": false,
"mw": false
},
"rules": {
"no-console": 0,
"no-jquery/no-global-selector": "off"
}
}