Commit graph

73 commits

Author SHA1 Message Date
Željko Filipin d35c815517 selenium: Delete unneeded @wdio/dot-reporter npm package
As far as I can see, the package was introduced by mistake in 951dec1.

CI works just fine when the package is removed.

Bug: T280331
Change-Id: I17330cb7786df0739a18c482360a56d733a67f41
2024-08-30 17:43:47 +02:00
libraryupgrader e09a1672f0 build: Updating micromatch to 4.0.8
* https://github.com/advisories/GHSA-952p-6rrq-rcjv

Change-Id: I1c0cef6e3e954b003c95ce3b94481f4f6cb75ed6
2024-08-25 05:08:50 +00:00
Ed Sanders 16f8fdc161 build: Update linters
Change-Id: I3455051bbaebd19febaa61217c340826fed8f5c0
2024-06-21 16:21:11 +01:00
Ed Sanders 008db7ad08 Update stylelint-config-wikimedia to 0.17.1
Change-Id: Ibb381be409fc34208078dd1e5c3b418465ea7692
2024-06-07 15:30:59 +01:00
Ed Sanders 39c15f76f9 build: Update eslint-config-wikimedia to 0.28.0 and autofix
Change-Id: I02045047af1f392ae6d6f08e422024b0e9386ccf
2024-06-07 15:24:08 +01:00
libraryupgrader 258bc0c12c build: Updating grunt-banana-checker to 0.13.0
Change-Id: If0707bae82c50a9947a1d903318b998c0bd48767
2024-05-18 16:44:47 +00:00
libraryupgrader 5380b7719b build: Updating dependencies
composer:
* mediawiki/minus-x: 1.1.1 → 1.1.3

npm:
* grunt-banana-checker: 0.11.1 → 0.12.0

Change-Id: I768830ecc90b1143e1f0fda5ae2849d0bdceeba0
2024-05-11 01:57:47 +00:00
libraryupgrader 7de2b92ced build: Updating dependencies
composer:
* php-parallel-lint/php-parallel-lint: 1.3.2 → 1.4.0

npm:
* ejs: 3.1.8 → 3.1.10
  * https://github.com/advisories/GHSA-ghr5-ch3p-vcr6

Change-Id: I7c12f1a840861816de23870539171e592b43ad91
2024-05-02 08:14:06 +00:00
libraryupgrader ababd67378 build: Updating eslint-config-wikimedia to 0.27.0
Change-Id: I21548e8926bdc081ce41fdc1245cb4a769234917
2024-04-20 04:25:16 +00:00
libraryupgrader f382be8562 build: Updating npm dependencies
npm:
* eslint-config-wikimedia: 0.25.1 → 0.26.0
* grunt-banana-checker: 0.11.0 → 0.11.1
* wdio-mediawiki: 2.1.0 → 2.5.0
* get-func-name: 2.0.0 → 2.0.2
  * https://github.com/advisories/GHSA-4q6p-r6v2-jvc5
* postcss: 8.4.30 → 8.4.35
  * https://github.com/advisories/GHSA-7fh5-64p2-3v2j

Change-Id: I5b01fa01c11a57a180b50bf2f8b3275e69d75f1c
2024-02-13 20:44:49 +00:00
Ed Sanders e1f5f5487f build: Update linters
Change-Id: I19e2482fa377342b15733f5ef0bebe18e3238cef
2023-09-27 16:07:55 +01:00
libraryupgrader 5f372144f7 build: Updating npm dependencies
* grunt-banana-checker: 0.10.0 → 0.11.0
* stylelint-config-wikimedia: 0.14.0 → 0.15.0

Change-Id: I09c6289cfe727fb2d545cbeeeac1a32c45ce9531
2023-06-02 14:27:02 +00:00
libraryupgrader 6f89b61bca build: Updating eslint-config-wikimedia to 0.25.0
Change-Id: I561ffafc759f6d42f1203e99c62fa33aff6bde97
2023-05-04 06:05:24 +00:00
jenkins-bot 16b50090d4 Merge "build: Upgrade api-testing from 1.5.0 to 1.6.0" 2023-04-30 12:33:03 +00:00
libraryupgrader 7c267e83ff 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: I9cd23b8344fed2c69014b618f96f122823f4bed9
2023-04-29 06:56:04 +00:00
James D. Forrester 1211b68919 build: Upgrade api-testing from 1.5.0 to 1.6.0
Bug: T333134
Change-Id: I5eb7e7f2462b7cb116423b1f504bbaa50a5fa70b
2023-04-28 15:49:02 +00:00
libraryupgrader aa15ec51ce build: Updating npm dependencies
* grunt: 1.5.3 → 1.6.1
* stylelint-config-wikimedia: 0.13.0 → 0.14.0

Change-Id: I7e34276eb21557c2c2e3e64fb919431b1e1039fc
2023-03-31 00:33:23 +00:00
Umherirrender 4e08e000e0 build: Updating npm dependencies
* eslint-config-wikimedia: 0.22.1 → 0.24.0

Resolve newly detected error:
* mediawiki/no-nodelist-unsupported-methods

Change-Id: If43479e88a3d39f507541f3f6b53f23004bd0e1e
2023-03-29 21:24:34 +00:00
libraryupgrader dcce2100d0 build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 39.0.0 → 41.0.0

npm:
* cookiejar: 2.1.3 → 2.1.4
  * https://github.com/advisories/GHSA-h452-7996-h45h
* 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: I4198e1cbdc115d27c9fe5b8d0ce813b514524796
2023-03-12 05:44:17 +00:00
Vaughn Walters a95a7b6bc2 selenium: Remove webdriverio npm package from the Math extension
The `webdriverio` package does not need to be an explicit dependency.
It is a dependency of `@wdio/cli`.

Bug: T325059
Change-Id: I772e7680ba1235e896651fa15b25cd8bc976bde1
2023-01-13 11:51:48 -06:00
libraryupgrader 6d70e134b8 build: Updating grunt-stylelint to 0.18.0
Change-Id: I6dc890fdbcc30116c39cc4bf4130b7aa9457b1ae
2022-11-13 06:02:16 +00:00
Stegmujo d4b9edc87e Add Builder for creating Parser.php
This is the first commit in a series of commits that convert texvcjs to PHP (called TexVC-PHP).
Please refer to the Gerrit history of this commit, which includes early versions of a full TexVC-PHP grammar, tests, and related files.

Bug: T312528
Change-Id: Id96a4b1b55e3959aab81f4ba436c5ac125f2a1bb
2022-10-18 13:39:10 +00:00
libraryupgrader c82e9291d3 build: Updating npm dependencies
* grunt-banana-checker: 0.9.0 → 0.10.0
* api-testing: ^1.4.2 → 1.5.0
* grunt: 1.5.2 → 1.5.3

Change-Id: I3939631b1cc2423625ce2dadda0b396bb1e6d748
2022-10-07 00:10:44 +00:00
AndreG-P 951dec1fab
REST API endpoint for popups
Implement a rest API endpoint that displays the popup that is currently
only shown on a special page.

Code was revived from Idd22057a88312bf1a1cb5546d0a6edca5678d80d

Bug: T288076
Bug: T233099
Change-Id: I65fcbf25ac5818f6c649daf494c719921247e8f5
2022-08-05 17:47:44 +09:00
Željko Filipin 98c82d5b57 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: Ie418ba2fe0e6c236a1990a528f9957554cc0d575
2022-05-24 14:00:05 +02:00
libraryupgrader 64f47709ef 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-eslint: 23.0.0 → 24.0.0
* grunt-stylelint: 0.16.0 → 0.17.0
* stylelint-config-wikimedia: 0.11.1 → 0.13.0

Change-Id: I369897d2e8cc58ac00e8395f9545838e7f42be2e
2022-05-21 07:23:34 +00:00
libraryupgrader f248c00ea7 build: Updating npm dependencies
* async: 2.6.3 → 2.6.4
  * https://github.com/advisories/GHSA-fwr7-v2mv-hh25
* ejs: 3.1.6 → 3.1.8
  * https://github.com/advisories/GHSA-phwq-j96m-2c2q

Change-Id: Ic1bf08665a1653caf075996a621357b583a8752a
2022-05-20 07:10:42 +00:00
libraryupgrader 389a071858 build: Updating dependencies
composer:
* mediawiki/mediawiki-phan-config: 0.11.0 → 0.11.1

npm:
* eslint-config-wikimedia: 0.21.0 → 0.22.1
* grunt: 1.4.1 → 1.5.2
* ansi-regex: 5.0.1 → 5.0.1
  * https://github.com/advisories/GHSA-93q8-gq69-wqmw
  * https://github.com/advisories/GHSA-93q8-gq69-wqmw
* async: 2.6.3 → 2.6.3
  * https://github.com/advisories/GHSA-fwr7-v2mv-hh25
* 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
* mocha: ^7.1.1 → ^7.1.1
  * https://github.com/advisories/GHSA-qrpm-p2h7-hrv2
* nanoid: 3.1.25 → 3.3.1
  * https://github.com/advisories/GHSA-qrpm-p2h7-hrv2

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

Change-Id: Iff57ab47c1407e2eb4b523ef72bdbcecdff74a60
2022-04-27 16:28:47 +00:00
osamaahmed17 099e327cc6 selenium: Refactor WebdriverIO tests from sync to async mode
WebdriverIO has dropped support of sync mode due to breaking changes in Chromium, hence all tests have been changed to async.

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

Remove npm package: @wdio/sync.

Bug: T293076
Change-Id: I35b3b29c09e80306d14a12c5194efeead22a9804
2022-02-01 01:24:19 +11:00
Ed Sanders a5e976baee build: Update eslint-config-wikimedia to 0.21.0
Change-Id: Ia97b44767e31fe1c2d075e3627c7f7bea0845751
2021-11-15 16:27:57 +00:00
libraryupgrader 5fec6f17ba build: Updating validator to 13.7.0
* https://npmjs.com/advisories/1004784 (CVE-2021-3765)

Change-Id: I118bddb2f89096d8a3014294b48714a9ae067533
2021-11-04 17:06:41 +00:00
libraryupgrader bc39807052 build: Updating npm dependencies
* @wdio/mocha-framework: 7.5.3 → 7.14.1
  * https://npmjs.com/advisories/1002401 (CVE-2021-3807)
* ansi-regex: 5.0.0 → 5.0.1
  * https://npmjs.com/advisories/1002401 (CVE-2021-3807)

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

Change-Id: I0db8f640048bf8ea25367776d7d05ef508668974
2021-10-09 07:27:19 +00:00
libraryupgrader d3157775eb build: Updating stylelint-config-wikimedia to 0.11.1
Change-Id: Iac691192671e13e35c1a370c60b482bca04f99f2
2021-09-04 21:00:07 +00:00
libraryupgrader 1e1c7cb3f6 build: Updating path-parse to 1.0.7
* https://npmjs.com/advisories/1773 (CVE-2021-23343)

Change-Id: I0491788c7307a01b5ec454144790713a908ade65
2021-08-25 08:23:49 +00:00
libraryupgrader e447231adb build: Updating npm dependencies
* postcss: 7.0.35 → 7.0.36
  * https://npmjs.com/advisories/1693 (CVE-2021-23368)
* ws: 7.3.0 → 7.5.3
  * https://npmjs.com/advisories/1748 (CVE-2021-32640)
* glob-parent: 5.1.1 → 5.1.2
  * https://npmjs.com/advisories/1751 (CVE-2020-28469)
* trim-newlines: 3.0.0 → 3.0.1
  * https://npmjs.com/advisories/1753 (CVE-2021-33623)
* normalize-url: 4.5.0 → 4.5.1
  * https://npmjs.com/advisories/1755 (CVE-2021-33502)

Change-Id: I41ee23a4e2fdb467df8bd06ed55d844274794b78
2021-07-29 11:41:26 +00:00
sahil e371e23dc1 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: Id488159c2a5b12d1b44a7037fa3038a2a541b2f1
2021-07-28 16:43:40 +05:30
libraryupgrader b409746fc6 build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 36.0.0 → 37.0.0

npm:
* postcss: 7.0.35 → 7.0.36
  * https://npmjs.com/advisories/1693 (CVE-2021-23368)
* ws: 7.3.0 → 7.5.3
  * https://npmjs.com/advisories/1748 (CVE-2021-32640)
* glob-parent: 5.1.1 → 5.1.2
  * https://npmjs.com/advisories/1751 (CVE-2020-28469)
* trim-newlines: 3.0.0 → 3.0.1
  * https://npmjs.com/advisories/1753 (CVE-2021-33623)
* normalize-url: 4.5.0 → 4.5.1
  * https://npmjs.com/advisories/1755 (CVE-2021-33502)

Change-Id: Ie14979780cdbd04fa2804f5317e8b0f6b0029470
2021-07-23 02:28:22 +00:00
sahil eb850da0e4 selenium: Upgrade WebdriverIO to v7
Update npm packages: @wdio/* and webdriverio.

Bug: T274579
Change-Id: I3ad29933c91fdcbf2382318302746daf66fffca7
2021-05-25 17:46:46 +00:00
libraryupgrader d296262b89 build: Updating npm dependencies
* hosted-git-info: 2.8.8 → 2.8.9
* ua-parser-js: 0.7.21 → 0.7.21
* ua-parser-js: 0.7.21 → 0.7.21
* ua-parser-js: 0.7.21 → 0.7.28
  * https://npmjs.com/advisories/1679 (CVE-2021-27292)
* browserslist: 4.14.7 → 4.16.6
  * https://npmjs.com/advisories/1747 (CVE-2021-23364)

Change-Id: I759404102c41c917fc8c6968fe2c0da55df23208
2021-05-25 01:33:33 +00:00
libraryupgrader aa99896701 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)
* postcss: 7.0.35 → 8.2.15
  * https://npmjs.com/advisories/1693 (CVE-2021-23368)

Change-Id: I29d3eb33e8aa6ac62fe84ea93b2d14cdc3b1fb8b
2021-05-11 12:45:13 +00:00
Željko Filipin 5c37603c23 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-Math
job.

Bug: T214686
Change-Id: Ic2373f3b89946cf191cfcb1dd9ed99608deb660c
2021-04-29 15:56:42 +02:00
libraryupgrader d0c06ea19f build: Updating eslint-config-wikimedia to 0.20.0
Change-Id: I2d9f2665a2ce82abbe03c61c284c14d1d57bdb41
2021-04-17 02:59:17 +00:00
libraryupgrader 5d8eb9f913 build: Updating y18n to 4.0.1
* https://npmjs.com/advisories/1654 (CVE-2020-7774)

Change-Id: Ib7b3959e5f50d4a67ab1655913f4ebe291624177
2021-03-30 03:29:04 +00:00
libraryupgrader c592ad866c build: Updating eslint-config-wikimedia to 0.19.0
Additional changes:
* eslint: Renamed `wikimedia/client` profile to `client-es5` (T277085).

Change-Id: I1d86e23f42de9c7415defd1a3249162d0f0cc22a
2021-03-14 01:38:40 +00:00
libraryupgrader f2edc70021 build: Updating eslint-config-wikimedia to 0.18.2
Change-Id: I8ac79545d8941943bcc470f7fcef5323a588c8a5
2021-03-07 04:54:19 +00:00
libraryupgrader 79a7324eed build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 34.0.0 → 35.0.0
  The following sniffs are failing and were disabled:
  * MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationPrivate
  * MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationProtected
  * MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationPublic
  * MediaWiki.Commenting.PropertyDocumentation.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:
  * no-useless-escape

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

Change-Id: I1c641a4945f94337ca22763920601400ee9ab691
2021-02-06 12:19:19 +00:00
libraryupgrader 823552f6ec build: Updating ini to 1.3.8
* https://npmjs.com/advisories/1589

Change-Id: Ibd68a60ce3e67e7ee096756d89a852910e5ac06d
2020-12-13 12:00:28 +00:00
libraryupgrader a956c73b3e build: Updating npm dependencies
* grunt-stylelint: 0.15.0 → 0.16.0
* stylelint-config-wikimedia: 0.10.1 → 0.10.3

Change-Id: Icaed7d1c4b2c4f68610308f46ce4d65359432f77
2020-11-22 06:01:29 +00:00
Clara Andrew-Wani 510e16e1d8 Update api-testing to 1.4.2
Change-Id: I6ad2dd62be31f9ebee13cf81159242daebf4389e
2020-11-10 13:05:35 -05:00
Clara Andrew-Wani d1315079f2 Update api-testing package and test to use updated methods
Change-Id: I95f3fe36d41c71ddb4fb928a3b1878fb88fc9458
2020-11-05 16:53:18 -05:00