Commit graph

69 commits

Author SHA1 Message Date
libraryupgrader 29bc5928a9 build: Updating dependencies
composer:
* php-parallel-lint/php-parallel-lint: 1.3.2 → 1.4.0

npm:
* eslint-config-wikimedia: 0.26.0 → 0.27.0

Change-Id: I49f3e6f619c6f3ba13f5167bc1c946c7fe601d27
2024-03-30 13:14:05 +00:00
libraryupgrader 9d658fdb81 build: Updating wdio-mediawiki to 2.5.0
Change-Id: I1fb123255bd10e8fab7247b3edbc94af407e1f5b
2024-02-12 16:16:49 +00:00
James D. Forrester 607ebb965c build: Upgrade eslint-config-wikimedia from 0.25.1 to 0.26.0
LibUp was getting caught out by the false-positive hit to
es-x/no-resizable-and-growable-arraybuffers, so doing a
manual fix to make progress.

Otherwise just whitespace changes.

Change-Id: Ibf20dd2d88613b0a74813c33239e7d0bac682b17
2024-02-06 09:26:59 -05:00
Ed Sanders 3d23de9893 build: Update linters
Change-Id: Ieb7a2999a7f75697cc866ff29ec9707bdc9618db
2023-11-08 14:05:03 +00:00
Daimona Eaytoy 080dadf78e Update selenium and related dependencies
These are the latest 7.x versions available. It looks like upgrading to
version 8 is a bigger task, so leaving that aside for now.

Change-Id: I5eb67f19d24b8e28dcd6ae80ef9e00db18ec2bda
2023-07-12 19:22:45 +00:00
libraryupgrader ed21eb407c build: Updating npm dependencies
* grunt-banana-checker: 0.10.0 → 0.11.0
* stylelint-config-wikimedia: 0.14.0 → 0.15.0

Change-Id: I5c2eb1325cf0f7d4b01c74720f93595c4b899202
2023-05-20 22:38:40 +00:00
libraryupgrader 50a4308bbe build: Updating eslint-config-wikimedia to 0.25.0
Change-Id: I9741f4373b57840a3272ae3ea7c59f3ae7bc9479
2023-04-28 23:03:06 +00:00
libraryupgrader ba5c1d6639 build: Updating dependencies
composer:
* mediawiki/mediawiki-phan-config: 0.12.0 → 0.12.1

npm:
* grunt-eslint: 24.0.0 → 24.0.1

Change-Id: Iac8a060065c88d020ce765b46c3d6f0790bdd69f
2023-04-26 22:41:38 +00:00
Peter Wangai 00ac95decd selenium: Refactor WebdriverIO tests from sync to async mode
WebdriverIO has dropped support of sync mode, hence changed to async.

Update npm packages: @wdio/*, wdio-mediawiki
because async mode needs at least @wdio v7.9.

Remove npm packages: @wdio/dot-reporter and @wdio/sync.

Bug: T300790
Change-Id: Ifcc95a8c7e47ba4513f6910620ecce83e1ead15a
2023-03-28 17:50:18 +03:00
libraryupgrader 50ec43bcdd build: Updating npm dependencies
* grunt: 1.5.3 → 1.6.1
* stylelint-config-wikimedia: 0.13.1 → 0.14.0

Change-Id: I25ff6030a2d56ef343a16bfe8d4ff06d7b988635
2023-03-11 19:08:20 +00:00
libraryupgrader c636c501bb build: Updating eslint-config-wikimedia to 0.24.0
Change-Id: I18191de8f0db09a237e73a079dda3f30bb8881e5
2023-01-18 00:31:04 +00:00
Željko Filipin cd876b9892 selenium: Remove webdriverio npm package
The `webdriverio` package does not need to be an explicit dependency.
It is a dependency of `@wdio/cli`.

Bug: T325059
Change-Id: I6064c8a8709b464a0efd3232c17d72d21a92cc7b
2022-12-13 16:48:52 +01:00
libraryupgrader ffa85923c0 build: Updating grunt-stylelint to 0.18.0
Change-Id: I946aff31089712eb82e69012db7e12430a98b844
2022-11-11 00:31:57 +00:00
libraryupgrader 380f7b010a
build: Updating dependencies
composer:
* mediawiki/mediawiki-phan-config: 0.11.1 → 0.12.0

npm:
* stylelint-config-wikimedia: 0.13.0 → 0.13.1

Change-Id: I424244de96b2da894d781047a1e336514cb7707c
2022-10-07 21:05:41 +03:00
James D. Forrester 94034ad727 build: Upgrade eslint-config-wikimedia from 0.22.1 to 0.23.0
Manually fixed as there's no fixer (and we're likely to bin this
rule upstream anyway as it has too many false positives).

Change-Id: Ia00113afa56af57c851ee8730760a60d6f858e7c
2022-10-07 11:09:55 -04:00
libraryupgrader 95d4dc528a build: Updating grunt-banana-checker to 0.10.0
Change-Id: I0149c6a7083891eee6cd101324446e0152fab979
2022-07-11 21:15:23 +00:00
libraryupgrader 9d978abf71 build: Updating grunt to 1.5.3
Change-Id: Id7c6776fd27714d20938647de2ef9bcc36fddc72
2022-05-26 05:33:18 +00:00
libraryupgrader fc03124622 build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 38.0.0 → 39.0.0
* php-parallel-lint/php-console-highlighter: 0.5.0 → 1.0.0
* php-parallel-lint/php-parallel-lint: 1.3.1 → 1.3.2

npm:
* grunt: 1.4.1 → 1.5.2
* stylelint-config-wikimedia: 0.12.2 → 0.13.0
* async: 0.9.2 → 3.2.3
  * https://github.com/advisories/GHSA-fwr7-v2mv-hh25
  * https://github.com/advisories/GHSA-fwr7-v2mv-hh25
* ejs: 3.1.6 → 3.1.8
  * https://github.com/advisories/GHSA-phwq-j96m-2c2q
* jake: 10.8.2 → 10.8.5
  * https://github.com/advisories/GHSA-fwr7-v2mv-hh25
  * https://github.com/advisories/GHSA-fwr7-v2mv-hh25
* minimist: 1.2.5 → 1.2.6
  * https://github.com/advisories/GHSA-xvch-5gv4-984h

Change-Id: I818c26d94a2d4bd9b94b1bcda3287aea0951e035
2022-05-20 05:00:10 +00:00
Ed Sanders 3892280f1d build: Update linters
Change-Id: Icc5076d5cf757e7e70511c2b75a82b0a45cb47c9
2022-03-17 22:19:08 +00:00
libraryupgrader ae53539a04 build: Updating eslint-config-wikimedia to 0.22.1
Change-Id: I08046d87b818b336fd9c5934c889dcb9f9f9b50c
2022-02-10 03:45:09 +00:00
libraryupgrader f3de0d1984 build: Updating postcss-less to 3.1.4
* https://github.com/advisories/GHSA-566m-qj78-rww5

Additional changes:
* Set `name` in package.json.

Change-Id: I16a1ffddb8c0460575e7bff9476207c5db0fb213
2022-02-02 04:52:01 +00:00
libraryupgrader f29cea6791 build: Updating npm dependencies
* wdio-mediawiki: 1.1.1 → 1.2.0
* mocha: 9.1.2 → 9.2.0
  * https://github.com/advisories/GHSA-qrpm-p2h7-hrv2
* nanoid: 3.1.25 → 3.2.0
  * https://github.com/advisories/GHSA-qrpm-p2h7-hrv2
* node-fetch: 2.6.1 → 2.6.7
  * https://github.com/advisories/GHSA-r683-j2x4-v87g
* postcss-less: 3.1.4 → 3.1.4
  * https://github.com/advisories/GHSA-566m-qj78-rww5

Change-Id: Ifce1b2630907e646861b125f85fe2c99ba63d956
2022-02-01 05:08:00 +00:00
Umherirrender e9a80335d3 build: Update eslint-config-wikimedia to 0.21.0
This includes the update of lockFile version

Bug: T225730
Change-Id: Iebef765120d24c2969251fc4985a383e21cb136b
2021-12-21 22:53:00 +01:00
libraryupgrader 8f11883da4 build: Updating npm dependencies
* grunt: 1.4.0 → 1.4.1
* validator: 13.6.0 → 13.7.0
  * https://npmjs.com/advisories/1004784 (CVE-2021-3765)

Change-Id: Ic6c6b7681945931975ddcd9a0debdd149ec6f33b
2021-11-04 07:09:33 +00:00
libraryupgrader a5e7f02218 build: Updating npm dependencies
* @wdio/mocha-framework: 7.4.6 → 7.13.2
  * https://npmjs.com/advisories/5197 (CVE-2021-3807)
* ansi-regex: 5.0.0 → 5.0.1
  * https://npmjs.com/advisories/5197 (CVE-2021-3807)

Additional changes:
* composer.json: Updated phpcs command in composer test (T280592).
* composer.json: Added phpcs command to scripts (T280592).

Change-Id: I853391c119b5f017040090afe620566d589a34c8
2021-10-04 06:42:04 +00:00
libraryupgrader 04693b060d build: Updating dependencies
composer:
* php-parallel-lint/php-parallel-lint: 1.3.0 → 1.3.1

npm:
* stylelint-config-wikimedia: 0.10.3 → 0.11.1

Change-Id: I2a79b93fbaa0e13cc723dc40ae4d35fbcd83f7a5
2021-09-02 00:07:53 +00:00
sahil fb04dada81 selenium: Upgrade WebdriverIO to v7
Update npm packages: @wdio/* and webdriverio.

Bug: T274579
Change-Id: I76323458eb45642990370ecbae5b159ffda40ddd
2021-06-09 20:45:38 +05:30
sahil 5fca7c2f51 selenium: Update wdio-mediawiki
wdio-mediawiki v1.1.1:
- Includes wdio-defaults.conf.js file that vastly simplifies wdio.conf.js.
- Replaces @wdio/spec-reporter with @wdio/dot-reporter.
- Introduces video recording.

Bug: T283597
Change-Id: I603626d20eb060ba6d90b1a91d49afe13e29d945
2021-05-28 01:04:55 +05:30
libraryupgrader d10647a532 build: Updating npm dependencies
* grunt: 1.3.0 → 1.4.0
* hosted-git-info: 2.8.8 → 2.8.9
  * https://npmjs.com/advisories/1677 (CVE-2021-23362)

Change-Id: I51cdfe5e8af6540a6725163f6eeea6da863cef86
2021-05-07 20:33:48 +00:00
libraryupgrader d38838cfa0 build: Updating eslint-config-wikimedia to 0.20.0
Change-Id: I92cb3e462c96792157c855abc40617861f291927
2021-04-07 21:23:03 +00:00
libraryupgrader aeccd5b8b9 build: Updating eslint-config-wikimedia to 0.19.0
Additional changes:
* eslint: Renamed `wikimedia/client` profile to `client-es5` (T277085).

Change-Id: I2ef2da7d95f8f40fe9ccfa9c9a5aff34bef42ef3
2021-03-10 23:05:48 +00:00
libraryupgrader ebea8cd3de build: Updating eslint-config-wikimedia to 0.18.2
Change-Id: I83981fb720ee219230f9f6094c18fdf29d7f4ba0
2021-03-05 04:35:46 +00:00
libraryupgrader c00395f6c6 build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 34.0.0 → 35.0.0
  The following sniffs are failing and were disabled:
  * MediaWiki.Usage.SuperGlobalsUsage.SuperGlobals

* mediawiki/minus-x: 1.1.0 → 1.1.1

npm:
* eslint-config-wikimedia: 0.18.0 → 0.18.1

Additional changes:
* Added the "composer phan" command to conveniently run phan.

Change-Id: Iaa3a8844fa93040a4f344b62d0d9173574ed3189
2021-01-28 21:17:54 +00:00
James D. Forrester 48b1b509fc build: Upgrade eslint-config-wikimedia from 0.17.0 to 0.18.0 and make pass
Change-Id: I2053ee5521434bc04a28b137eb3745e2c6f3c06a
2021-01-25 10:10:44 -08:00
libraryupgrader b7a40e702c build: Updating npm dependencies
* grunt-stylelint: 0.15.0 → 0.16.0
* stylelint-config-wikimedia: 0.10.1 → 0.10.3

Change-Id: I8536a09b1833797ab7ed6b6316df2f9d0bb08f39
2020-11-21 19:38:27 +00:00
libraryupgrader 324988568e build: Updating npm dependencies
* eslint-config-wikimedia: 0.16.2 → 0.17.0
* grunt: 1.2.1 → 1.3.0

Change-Id: If5037cda474db1da785bab0ac690bd002a8a1dae
2020-09-03 09:31:08 +00:00
libraryupgrader 6931744971 build: Updating grunt to 1.2.1
Change-Id: I238f9ee9e4294d07e3589c7398aa6d28a9e2c000
2020-07-17 18:12:17 +00:00
libraryupgrader 9bb4a612a4 build: Updating eslint-config-wikimedia to 0.16.2
Change-Id: Iffcdfe6444828789a1f98e411a2882be01948da4
2020-07-15 19:19:05 +00:00
Ed Sanders 9f81f74608 eslint config tweaks
Change-Id: I7822a9345428791a469251a4b327b76e8422ade0
2020-06-09 19:39:03 +01:00
jaredblumer 12f9be5e69 eslint: Update to eslint-config-wikimedia 0.16.0
* Update ESLint config with Selenium WebdriverIO test suite
* Update modules and Selenium pageobjects and specs per ESLint
requirements
* Update grunt-eslint package to 23.0.0 as required by
eslint-config-wikimedia 0.16.0

Bug: T254495
Change-Id: Ibfcf9115adedf9f2c3e7dac1ac626b41fc97b7c4
2020-06-08 21:17:50 -04:00
vidhi-mody 76025137a3 Selenium: Update to WebdriverIO v6
Update NPM packages: @wdio/* and webdriverio.

Bug: T253167
Change-Id: I11edb5dca8d1d45ffc336c805a40c502b815ce1f
2020-05-28 19:56:43 +05:30
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
libraryupgrader 54c9f85e0e build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 29.0.0 → 30.0.0

npm:
* eslint-config-wikimedia: 0.15.0 → 0.15.3
* grunt-stylelint: 0.14.0 → 0.15.0
* stylelint-config-wikimedia: 0.9.0 → 0.10.1

Change-Id: I36af8f746b8b30082faec0ab75194f5c84fee151
2020-04-21 17:38:43 +00:00
libraryupgrader 07f11f8092 build: Updating grunt-banana-checker to 0.9.0
Change-Id: I5c2cb1280d11273205c0e5e417612800f97e7ff0
2020-04-20 02:58:38 +00:00
libraryupgrader be0605b580 build: Updating npm dependencies
* minimist: 0.0.8 → 1.2.5
  * https://npmjs.com/advisories/1179
* acorn: 7.1.1 → 7.1.1
  * https://npmjs.com/advisories/1488

Change-Id: If688e466c9743db5b1c84afa8f4534a775f0acd4
2020-03-17 17:41:36 +00:00
libraryupgrader b97818867d build: Updating npm dependencies
* grunt-stylelint: 0.13.0 → 0.14.0
* stylelint-config-wikimedia: 0.8.0 → 0.9.0

Change-Id: I3113038f3f57b63d2f7c1cf2e7b41946d1e52bdd
2020-02-20 17:23:00 +00:00
libraryupgrader 1d911b8187 build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 28.0.0 → 29.0.0
  The following sniffs are failing and were disabled:
  * MediaWiki.Commenting.FunctionComment.MissingParamTag
  * MediaWiki.Commenting.FunctionComment.ParamNameNoMatch

npm:
* eslint-config-wikimedia: 0.13.1 → 0.15.0
* grunt-stylelint: 0.11.1 → 0.13.0
* stylelint-config-wikimedia: 0.6.0 → 0.8.0

Additional changes:
* Remove direct "stylelint" dependency in favor of "grunt-stylelint".
* Also sorted "composer fix" command to run phpcbf last.
* Removing manual reportUnusedDisableDirectives for eslint.

Change-Id: I8f73202db1333fbc36ccf556b3bb05b1e8c279cb
2020-01-21 07:38:54 +00:00
libraryupgrader b47b6cea38 build: Updating grunt-banana-checker to 0.8.1
Additional changes:
* Added .eslintcache to .gitignore.

Change-Id: I51f571f920fde95575497cc7b98ef3b9bbc37d2f
2019-12-15 13:49:12 +00:00
libraryupgrader 08d3431130 build: Updating grunt-stylelint to 0.11.1
Additional changes:
* Added .eslintcache to .gitignore.

Change-Id: Ia603aec7dd94a397867a24ebf721906d50b959ea
2019-10-20 23:04:43 +00:00
Željko Filipin 0a95a6572c Selenium: make it possible to run daily Jenkins job targeting beta cluster
Bug: T199113
Change-Id: Idce6d7d014ab5bb0c9602d5f1e5321cd9c0d1615
2019-10-04 16:23:22 +02:00