mediawiki-extensions-AbuseF.../tests/selenium/.eslintrc.json
vidhi-mody f2759a17c9 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`.

Bug: T253167
Change-Id: Ia26da6d0f56398a908bd4e99ae77db603647f533
2020-05-21 12:36:32 +00:00

17 lines
226 B
JSON

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