Commit graph

58 commits

Author SHA1 Message Date
Volker E d9302a50b7 build: Update 'browserslist-db' to latest
Latest version:     1.0.30001474
Installed version:  1.0.30001312

Change-Id: Ic818d45b8ab6a70efcbc333091dffbbf12f1615c
2023-04-04 01:33:50 -07:00
libraryupgrader c280ff0947 build: Updating npm dependencies
* eslint-config-wikimedia: 0.22.1 → 0.24.0
* grunt: 1.5.3 → 1.6.1
* stylelint-config-wikimedia: 0.13.0 → 0.14.0
  The following rules are failing and were disabled:
  * selector-pseudo-element-colon-notation

Change-Id: I4f3516417425a3cac273bb6c85b3195405ef5b3d
2023-03-23 22:26:26 +00:00
libraryupgrader c59fb68583 build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 39.0.0 → 41.0.0

npm:
* http-cache-semantics: 4.1.0 → 4.1.1
  * https://github.com/advisories/GHSA-rc47-6667-2j5j
* ua-parser-js: 1.0.2 → 1.0.34
  * https://github.com/advisories/GHSA-fhg7-m89q-25r3

Change-Id: I1844dc37fc9aed2a3c921b6ae7bf1a0c3e952a18
2023-03-12 01:08:02 +00:00
Peter Wangai 307466b9c3 selenium: Remove webdriverio npm package from the Echo extension
The `webdriverio` package does not need to be an explicit dependency.
It is a dependency of `@wdio/cli`.

Bug: T325059
Change-Id: I8d41c527c56e9782cd9aa076daf0146e192730ef
2023-01-11 21:08:59 +03:00
libraryupgrader 155c64bf04 build: Updating npm dependencies
* mocha: 9.2.1 → 9.2.2
  * https://github.com/advisories/GHSA-f8q6-p94x-37v3
* recursive-readdir: 2.2.2 → 2.2.3
  * https://github.com/advisories/GHSA-f8q6-p94x-37v3

Change-Id: I8d401a8fa90a0698223e527b9c42ffd6658ae3ba
2022-10-26 01:45:34 +00:00
libraryupgrader ea4c3f22b0 build: Updating grunt-banana-checker to 0.10.0
Change-Id: Ifec81b0ee28a8cba1c21ca1f1f02daae01f2eecc
2022-10-06 22:05:11 +00:00
libraryupgrader 1723f70d45 build: Updating got to 11.8.5
* https://github.com/advisories/GHSA-pfrx-2q88-qq97

Change-Id: I49d7fa002a5f230fa55593538aaf2c959bdf8861
2022-06-22 06:01:55 +00:00
libraryupgrader 867ff0b67c build: Updating grunt to 1.5.3
Change-Id: I7935ef106f04fe2303b3b89fe84a03ea34ff6561
2022-05-26 10:21:32 +00:00
Željko Filipin 6ee782b218 selenium: Use @wdio/spec-reporter
Dot reporter provides no information on which tests suites and tests are
executed. Spec reporter is more verbose but it also provides much more
information that is useful in general, but especially when debugging.
For example, which tests are executed and which tests are skipped.

Bug: T280331
Change-Id: Ib1746654a4844f26e060b4e687337de2d8c4928a
2022-05-23 13:17:20 +02:00
libraryupgrader a9583da558 build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 38.0.0 → 39.0.0
  The following sniffs are failing and were disabled:
  * MediaWiki.PHPUnit.AssertEmpty.AssertEmptyUsed

* 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:
* async: 2.6.3 → 2.6.4
  * https://github.com/advisories/GHSA-fwr7-v2mv-hh25

Change-Id: Ic8e0ff8ae5be3f40a596b1bc9150b8029bab1624
2022-05-21 03:08:16 +00:00
libraryupgrader eccb023a94 build: Updating npm dependencies
* async: 2.6.3 → 2.6.3
  * 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
* minimist: 1.2.5 → 1.2.6
  * https://github.com/advisories/GHSA-xvch-5gv4-984h

Change-Id: I43c52af4c1a448d4786d3b6364c28d42f56c2afc
2022-05-20 05:45:48 +00:00
Ed Sanders 2af0c6d816 build: Update stylelint-config-wikimedia to 0.13.0
Change-Id: I60f34cb3c3c5c12cf1f9f38426a56c76dcf063fd
2022-05-09 14:05:59 +01:00
Ed Sanders f1602001fd build: Update eslint-config-wikimedia to 0.22.1
Change-Id: Ia9c0532178719f3ff3feee43736893abd0c5e123
2022-02-28 13:59:20 +00:00
Ed Sanders 7fcb7534a9 build: Update stylelint-config-wikimedia to 0.12.2
Change-Id: I4ce41646b338555c51c3269c699c712790af096a
2022-02-28 13:59:02 +00:00
Volker E c5c27568a5 build: Update 'svgo' to latest v2.8.0
Updating 'svgo' to v2.8.0 and newest Wikimedia SVG guidelines –
mainly around new whitespace features of SVGO.

Change-Id: I63c72634eb2bb7063d71c8c21679f6f2091a4f1f
2022-02-27 02:12:20 -08:00
libraryupgrader 8136e4f0e5 build: Updating dependencies
composer:
* mediawiki/mediawiki-phan-config: 0.11.0 → 0.11.1

npm:
* grunt: 1.4.0 → 1.4.1

Change-Id: I00ebb19da234d2254115c75fbc7ecf270a9d7785
2022-02-06 09:37:32 +00:00
osamaahmed17 eb854a675f selenium: Upgrade WebdriverIO to v7
Update npm packages: @wdio/* and webdriverio.

Bug: T274579
Bug: T271281
Change-Id: I0d1ccf8238fd9552aaa6da9f3c5a0b17b0247d27
2022-01-27 03:30:03 +11:00
osamaahmed17 9903581028 selenium: Refactor Echo WebdriverIO tests from sync to async mode
WebdriverIO has dropped support of sync mode due to breaking changes in Chromium, hence all tests of Echo have been changed to async.

Bug: T293073
Change-Id: I8327d33c99e495b109d97df7b525181dfc41c18d
2022-01-17 04:32:20 +05:00
Umherirrender d4640b31f0 build: Update eslint-config-wikimedia to 0.21.0
This includes the update of lockFile version

Bug: T225730
Change-Id: I04f2c6ef8751b3ffff886da4b69c2ed80425de91
2021-12-21 23:08:09 +01:00
libraryupgrader f1557a6818 build: Updating validator to 13.7.0
* https://npmjs.com/advisories/1004784 (CVE-2021-3765)

Change-Id: I1c3ce139322700b7d8f31273a41dc70532a7dd9a
2021-11-04 12:12:02 +00:00
libraryupgrader 905ee2dba8 build: Updating npm dependencies
* ansi-regex: 5.0.0 → 5.0.1
  * https://npmjs.com/advisories/1002401 (CVE-2021-3807)
* nth-check: 2.0.0 → 2.0.1
  * https://npmjs.com/advisories/1002423 (CVE-2021-3803)

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

Change-Id: Ib47fa1bd719b75c279bd7042f9ce0b9459dfe93b
2021-10-09 07:08:32 +00:00
libraryupgrader 7d4448e4e9 build: Updating stylelint-config-wikimedia to 0.11.1
The following rules are failing and were disabled:
* declaration-property-unit-disallowed-list

Change-Id: Ib5affe3e76c81e3b077c4b787a172ec50f30a499
2021-09-04 19:42:56 +00:00
libraryupgrader 17a644263a build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 36.0.0 → 37.0.0
  The following sniffs are failing and were disabled:
  * PSR12.Functions.ReturnTypeDeclaration.SpaceBeforeReturnType

npm:
* svgo: 2.3.0 → 2.3.1
  * https://npmjs.com/advisories/1754 (CVE-2021-33587)
* postcss: 7.0.35 → 7.0.36
  * https://npmjs.com/advisories/1693 (CVE-2021-23368)
* trim-newlines: 3.0.0 → 3.0.1
  * https://npmjs.com/advisories/1753 (CVE-2021-33623)

Change-Id: Id866782d39ac02a329bd79539f2d52392fffd296
2021-07-24 01:48:06 +00:00
Volker E 67bf58a489 build: Update SVGO to latest v2.3.0 and re-crush SVGs
SVGO v2.x changed configuration to JS, amending configuration.
Adding new 'minify-svg' npm script.
Also re-crushing SVGs.

Bug: T278656
Change-Id: I5b150cce300e764afb0a40d402479db22cfcea99
2021-05-27 11:47:02 -07:00
Željko Filipin b6a9950642 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
Bug: T276503
Change-Id: Ic80f90dbbd5604dc3c9afe3303862edbf46b1cd2
2021-05-26 13:36:53 +00:00
libraryupgrader 12e3d5a2ef build: Updating browserslist to 4.16.6
* https://npmjs.com/advisories/1747 (CVE-2021-23364)

Change-Id: I2e7b55677dc047b1b755842f8e2691e20c3eac97
2021-05-25 11:18:52 +00:00
libraryupgrader 1307a28f6f build: Updating hosted-git-info to 2.8.9
Change-Id: I015a90535d78840e3468cd067d2e90ed25f53f4c
2021-05-21 04:29:06 +00:00
libraryupgrader 88e37cb08c build: Updating npm dependencies
* hosted-git-info: 2.8.9 → 2.8.9
  * https://npmjs.com/advisories/1677 (CVE-2021-23362)
* postcss: 7.0.35 → 8.2.15
  * https://npmjs.com/advisories/1693 (CVE-2021-23368)

Change-Id: I98e305419a1f6bbc8a6aac91ee05869e3430f723
2021-05-15 13:53:19 +00:00
libraryupgrader 0260a0bbdb build: Updating npm dependencies
* grunt: 1.3.0 → 1.4.0
* lodash: 4.17.19 → 4.17.21
  * https://npmjs.com/advisories/1673 (CVE-2021-23337)
* hosted-git-info: 2.8.8 → 3.0.8
  * https://npmjs.com/advisories/1677 (CVE-2021-23362)
* ua-parser-js: 0.7.21 → 0.7.28
  * https://npmjs.com/advisories/1679 (CVE-2021-27292)

Change-Id: Iabdb4f019f43e1babc061ffe0cf391f87239a7cd
2021-05-09 19:43:49 +00:00
Željko Filipin 5d49c02f9f selenium: Add JUnit reporter
JUnit reporter is required to create the XML file that Jenkins uses to
create Test Result Trend chart for selenium-daily-beta-Echo
job.

Bug: T214686
Change-Id: I2dd3787ebfb20f6fee841d264de98bcd1da4b34e
2021-04-29 15:39:36 +02:00
libraryupgrader cefce8b8fa build: Updating eslint-config-wikimedia to 0.20.0
Change-Id: If1eaa61aefc93426217f675fca27873dd9db6dc1
2021-04-16 14:24:33 +00:00
libraryupgrader 806b9c34d8 build: Updating y18n to 4.0.1
* https://npmjs.com/advisories/1654 (CVE-2020-7774)

Change-Id: I563abc38b4775ff6e8b9bbd7f2060d7c17b06f08
2021-03-30 00:50:56 +00:00
libraryupgrader feb9aabfdb build: Updating eslint-config-wikimedia to 0.19.0
Additional changes:
* eslint: Renamed `wikimedia/client` profile to `client-es5` (T277085).

Change-Id: I93d36e1a2962cc3dedde09064b7a43c386a0af7f
2021-03-13 11:49:48 +00:00
libraryupgrader 5e5b07d333 build: Updating eslint-config-wikimedia to 0.18.2
Change-Id: I671235f3fc2898168d5b74cba18b59915a4ffd3a
2021-03-06 14:54:17 +00:00
libraryupgrader b49cebf8cb build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 34.0.0 → 35.0.0
  The following sniffs are failing and were disabled:
  * MediaWiki.Commenting.FunctionComment.WrongStyle

* mediawiki/minus-x: 1.1.0 → 1.1.1

npm:
* eslint-config-wikimedia: 0.17.0 → 0.18.1
  The following rules are failing and were disabled:
  * compat/compat

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

Change-Id: Icc5ae88b205d4b122efef7aef2826eb334b27820
2021-01-29 10:19:37 +00:00
libraryupgrader 0e6ca8085b build: Updating ini to 1.3.8
* https://npmjs.com/advisories/1589

Change-Id: Idefd9a24b89fb50250568b3ebfe801b28634d733
2020-12-13 02:22:38 +00:00
libraryupgrader c44dfdf4cb build: Updating npm dependencies
* grunt-stylelint: 0.15.0 → 0.16.0
* stylelint-config-wikimedia: 0.10.1 → 0.10.3

Change-Id: I1eafcbd4ad4481faf9aefcc6b51b5a125a17aa45
2020-11-22 01:43:20 +00:00
libraryupgrader f021dbf077 build: Updating bl to 4.0.3
* https://npmjs.com/advisories/1555

Change-Id: If4bb62b7c40c4df8582cc42b6b07c677467c7775
2020-09-08 20:16:30 +00:00
libraryupgrader 831ca07708 build: Updating npm dependencies
* eslint-config-wikimedia: 0.16.2 → 0.17.0
  The following rules are failing and were disabled:
  * no-shadow

* grunt: 1.2.1 → 1.3.0

Change-Id: I4d5110b481ec491b7230cc689eda4f925ca66645
2020-09-05 13:48:38 +00:00
libraryupgrader 866a9e064b build: Updating grunt to 1.2.1
Change-Id: I84f446bb1b5de9262dcca5008ca17eb068bb7202
2020-07-18 05:30:44 +00:00
libraryupgrader d5641dd909 build: Updating eslint-config-wikimedia to 0.16.2
Change-Id: I87b42cbabd1eadfeebd8e988ef13d198837ee358
2020-07-15 23:12:00 +00:00
libraryupgrader 524cf15a75 build: Updating lodash to 4.17.19
* https://npmjs.com/advisories/1523
* CVE-2019-10744

Change-Id: Ide1f2c2b9b4e731a0afb48d773c888c50e42c04d
2020-07-09 09:30:09 +00:00
vidhi-mody 03bc4d3650 Selenium: Update to WebdriverIO v6
Update NPM packages: @wdio/* and webdriverio.

Bug: T250610
Change-Id: Ib014fdcd908fe6521fc73e024b965ead94a39d36
2020-06-25 00:55:49 +05:30
vidhi-mody f25ed7e705 Selenium: Update to WebdriverIO v5
Update NPM packages: webdriverio, wdio-mediawiki.

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()`.

Bug: T250610
Change-Id: If7a5ee9588f082be18f27ee45a051ae956c688f5
2020-06-22 15:54:30 +00:00
Ed Sanders ffe3363d09 build: Update eslint-config-wikimedia to 0.16.1
Change-Id: I2ce14429f9440e69e36fa349847f58fb32862f2a
2020-06-15 16:19:00 +01:00
libraryupgrader df46509e1e build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 29.0.0 → 30.0.0

npm:
* eslint-config-wikimedia: 0.15.0 → 0.15.3
  The following rules are failing and were disabled:
  * mediawiki/class-doc

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

Change-Id: I6e55d7979dbf50f7919c62621957b765a40f4624
2020-04-22 08:44:15 +00:00
libraryupgrader 610dd6adfd build: Updating grunt-banana-checker to 0.9.0
Change-Id: Ic87b561f247f140d1e772d34c4b3b7f9426762b7
2020-04-19 03:52:47 +00:00
libraryupgrader e3df8797ff build: Updating gonzales-pe to 4.3.0
* https://npmjs.com/advisories/1179

Change-Id: I6f0ab6acf71850638c40077fa8b92f225de3501e
2020-03-31 02:39:48 +00:00
libraryupgrader 4b602d791f build: Updating npm dependencies
* mkdirp: 0.5.1 → 0.5.3
  * https://npmjs.com/advisories/1179
* eslint: 6.6.0 → 6.8.0
  * https://npmjs.com/advisories/1179
* svgo: 1.2.2 → 1.3.2
  * https://npmjs.com/advisories/1179

Change-Id: Ie46e0ecad8f7ca193227c57c824e6068e5569f66
2020-03-20 22:32:47 +00:00
libraryupgrader 64b389fdfe build: Updating minimist to 1.2.5
* https://npmjs.com/advisories/1179

Change-Id: I5c0763efa647e01971afeb15017d31a991079fbc
2020-03-18 07:17:15 +00:00