Ed Sanders
86caa17713
build: Update linters and linter config
...
* Update stylelint-config-wikimedia to 0.13.0
* Ensure eslintrc.js and root files are linted
with server config
Change-Id: I59c49fedd5b0c4c5620f960b78e4f781a6bc5abb
2022-05-18 14:33:23 +01:00
libraryupgrader
b2f4d53e19
build: Updating npm dependencies
...
* webdriverio: 7.16.4 → 7.19.5
* async: 3.2.2 → 3.2.3
* https://github.com/advisories/GHSA-fwr7-v2mv-hh25
* jake: 10.8.4 → 10.8.5
* https://github.com/advisories/GHSA-fwr7-v2mv-hh25
Change-Id: I3ef858f2fb399e1f72c1604f43acac580560912b
2022-04-27 17:55:38 +00:00
libraryupgrader
a86fd8e1d2
build: Updating dependencies
...
composer:
* mediawiki/mediawiki-phan-config: 0.11.0 → 0.11.1
npm:
* eslint-config-wikimedia: 0.21.0 → 0.22.1
* wdio-mediawiki: 1.1.1 → 1.2.0
* @wdio/cli: 7.16.4 → 7.19.5
* @wdio/local-runner: 7.16.4 → 7.19.5
* @wdio/sync: 7.16.4 → 7.19.5
* jsdoc: 3.6.7 → 3.6.10
* 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: 3.2.2 → 3.2.2
* https://github.com/advisories/GHSA-fwr7-v2mv-hh25
* ejs: 2.7.4 → 2.7.4
* https://github.com/advisories/GHSA-fwr7-v2mv-hh25
* jake: 10.8.2 → 10.8.4
* https://github.com/advisories/GHSA-fwr7-v2mv-hh25
* json-schema: 0.2.3 → 0.4.0
* https://github.com/advisories/GHSA-896r-f27r-55mw
* jsprim: 1.4.1 → 1.4.2
* https://github.com/advisories/GHSA-896r-f27r-55mw
* minimist: 1.2.5 → 1.2.6
* https://github.com/advisories/GHSA-xvch-5gv4-984h
* mocha: 9.1.3 → 9.2.2
* https://github.com/advisories/GHSA-qrpm-p2h7-hrv2
* nanoid: 3.1.25 → 3.3.1
* https://github.com/advisories/GHSA-qrpm-p2h7-hrv2
* shelljs: 0.8.4 → 0.8.5
* https://github.com/advisories/GHSA-64g7-mvw6-v9qj
* url-parse: 1.5.3 → 1.5.10
* https://github.com/advisories/GHSA-jf5r-8hm2-f872
* https://github.com/advisories/GHSA-hgjh-723h-mx2j
* https://github.com/advisories/GHSA-8v38-pw62-9cw2
* https://github.com/advisories/GHSA-rqff-837h-mm52
Additional changes:
* Set `name` in package.json.
* .gitignore: Added .phpunit.result.cache (T242727).
Change-Id: Ic4993fac43fb42af08654aab03352281d663cce9
2022-04-16 08:43:11 +00:00
Volker E
e3c2e625f4
build: Update 'svgo' to latest v2.8.0 & re-crush images
...
Updating 'svgo' to v2.8.0 and newest Wikimedia SVG guidelines –
mainly around new whitespace features of SVGO.
Change-Id: Ief64a9ad3d2eec96a2bdba14d06a0dce1a29e014
2022-02-28 00:00:36 +00:00
Kosta Harlan
d8c505c73a
Move bundlesize test to MediaWikiIntegration test
...
Depends-On: Ieb7591f3c0ac843677a2a61b4ad47f920fc2ca2d
Bug: T255149
Change-Id: I311793952e995715010dc70069e1056165a1cd90
2021-12-10 08:43:51 +01:00
Ed Sanders
2ec4b950e2
build: Update eslint-config-wikimedia to 0.21.0
...
Change-Id: I0185de7ec62c54ee733de94622e0c41a65e86731
2021-11-09 14:48:40 +00:00
Ed Sanders
ef742a0d6a
build: Update wdio devDependencies
...
Change-Id: I2d51563517f88ffa50ddf76d1716d13024f21381
2021-11-09 14:41:17 +00:00
libraryupgrader
3a6ce58ca1
build: Updating stylelint-config-wikimedia to 0.11.1
...
The following rules are failing and were disabled:
* declaration-property-unit-disallowed-list
Change-Id: I02729c324288f5ff0cb5221aa86732676d702803
2021-09-05 00:55:47 +00:00
libraryupgrader
218151025e
build: Updating dependencies
...
composer:
* mediawiki/mediawiki-codesniffer: 36.0.0 → 37.0.0
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)
* ws: 7.4.5 → 7.5.3
* https://npmjs.com/advisories/1748 (CVE-2021-32640)
* 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)
* prismjs: 1.23.0 → 1.24.1
* https://npmjs.com/advisories/1762 (CVE-2021-32723)
Change-Id: Idfecb28ef49b193ba78b3f7b1335d4d5cb2862cd
2021-07-23 18:37:41 +00:00
Željko Filipin
ed40ca23c9
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: I5408b35060734709a6d21520c6abd738fb44d5a1
2021-05-27 17:49:19 +02:00
jenkins-bot
1dfa1a9425
Merge "selenium: Run tests from desktop site"
2021-05-26 16:04:47 +00:00
libraryupgrader
27ad791d51
build: Updating jsdoc to 3.6.7
...
* https://npmjs.com/advisories/1674 (CVE-2021-23358)
Change-Id: I1afd6b85ded3e18e9dea9b7d935df6c7ea6a8fe7
2021-05-15 09:24:49 +00:00
Željko Filipin
20bb2bf09c
selenium: Run tests from desktop site
...
Bug: T282058
Change-Id: I342a1ba510ea5da85da904c1bec4f26adfc60d33
2021-05-07 17:44:33 +00:00
Željko Filipin
8ac75d254a
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-MinervaNeue
job.
Bug: T214686
Change-Id: Ibf4b08f2f4b60ad02a3a3b5a5ba8e0d899a86859
2021-04-29 18:06:15 +02:00
Željko Filipin
96aed4564e
selenium: Update WebdriverIO to v7
...
Update all @wdio packages and webdriverio to v7.
Update mwbot to v2.
Do not update @wdio/cucumber-framework because of
`error "cucumber" is not found node/no-missing-require`
ESLint failure.
Bug: T280975
Change-Id: I83b9963ba2647af01dd1ed1f8be0178e584a2024
2021-04-23 14:13:43 +00:00
Volker E
28394a1367
build: Upgrade 'svgo' to latest and re-crush SVGs
...
Upgrading to SVGO v2.3.0 and changing over to new JS config.
Also amending svg check shell script and re-crushing
all SVGs.
Bug: T278656
Change-Id: Ic52d7eb595073e5bde166e5cf5767772c5eb60ce
2021-04-20 17:45:18 +00:00
libraryupgrader
f1f904e293
build: Updating eslint-config-wikimedia to 0.20.0
...
Change-Id: Ie3be1848c18f12888bdeabaea234b7c558ace899
2021-04-15 09:54:54 +00:00
bwang
f9c6666717
build: Replace Grunt with npm scripts for eslint, stylelint, and banana-checker
...
Fix eslint errors in .eslintrc, and add .eslintrc to the .eslintignore.
Bug: T206462
Change-Id: I1569082622a61d3b089c7d2a637dafabae68228e
2021-04-13 21:09:32 +00:00
libraryupgrader
974bdb5ec4
build: Updating npm dependencies
...
* bundlesize: 0.18.0 → 0.18.1
* https://npmjs.com/advisories/1594 (CVE-2020-28168)
* github-build: 1.2.1 → 1.2.2
* https://npmjs.com/advisories/1594 (CVE-2020-28168)
Additional changes:
* Added the "composer phan" command to conveniently run phan.
Change-Id: I31709fad756dfea5d47755f170a5b75952c793d2
2021-01-09 05:07:14 +00:00
libraryupgrader
541a65aeff
build: Updating npm dependencies
...
* grunt-stylelint: 0.15.0 → 0.16.0
* stylelint-config-wikimedia: 0.10.1 → 0.10.3
Change-Id: I504a59835c8e5ac7d4f246dfaa68a209dca80743
2020-11-22 16:48:12 +00:00
Volker E
9d1db05e7b
Fix storybook dev-script imports
...
* Correctly pull down mediawiki.skin.variables.less
* Update source of clock icon in last modified bar
* Update query selectors
* Push to docs.wikimedia.org so things do not break so easily
again
Bug: T263270
Change-Id: I93cb7e53fb78d3a03019583b3b0c69a057088044
2020-09-25 11:47:09 -07:00
Ed Sanders
1cea342431
build: Update eslint-config-wikimedia to 0.17.0
...
Change-Id: I0b917095bc84ff8b3a745f2d8b1e8541b9817bc8
2020-09-16 13:48:53 +00:00
jdlrobson
7408d87465
Run bundlesize tests on every commit
...
It was added in 7340485014
but for some reason never enabled.
This was supposed to be protecting us from performance regressions
by monitoring the size of modules in the repo. It appears to be
broken both locally and on Jenkins when run on the due to some changes
in Phabricator.
Since then we've added bundle size tests to Vector using a different
more foolproof method. I think that method is more preferable as it
also provides coverage for JS and icons so the
associated script is copied over and used in Minerva
and activated on all commits.
Bug: T259080
Change-Id: I9ba2dcc060ec09d91814c947d5be3f71b055a66e
2020-07-28 23:43:38 +00:00
libraryupgrader
bfd7129ced
build: Updating grunt to 1.2.1
...
Change-Id: Ic7c65bd8f950dfbe9651294fd83a25e2b9b89f25
2020-07-21 22:23:47 +00:00
libraryupgrader
101730e31d
build: Updating eslint-config-wikimedia to 0.16.2
...
Change-Id: I4d39554093ea299f5e86c26ebec89ff0b135bf81
2020-07-16 04:24:20 +00:00
Edward Tadros
49c8c0f0e1
Selenium: Update WebdriverIO to version 6
...
Bug: T255447
Change-Id: I51daa462187983462d7f6529e5f76f47b21e5ef2
2020-07-13 07:38:36 -07:00
Edward Tadros
c8ce9608c0
Selenium: Update WebdriverIO to version 5
...
Bug: T255447
Change-Id: I4cdde3070a6dc4e742ea37a78a17dfd556103dd6
2020-06-30 08:27:05 -07:00
Ed Sanders
a32999e641
build: Update eslint-config-wikimedia to 0.16.0
...
Change-Id: Icabf6e065ed5685207731262db72faf848a0a04d
2020-06-04 08:39:32 -07:00
James D. Forrester
2ebe800f72
build: Upgrade jsdoc from 3.5.5 to 3.6.4
...
Principally, this is to fix the npm audit warning. No change in output that I see.
Change-Id: I6c39a6551ffd4a42fb6b26337a8bb7aa803feeb1
2020-04-27 22:22:16 +00:00
James D. Forrester
1e1436e655
build: Upgrade eslint-config-wikimedia from 0.15.1 to 0.15.3 and make pass
...
Change-Id: I67aff112f448b9159d286812a3b0ab27e68af5b4
2020-04-27 22:21:58 +00:00
James D. Forrester
e4d9f82143
build: Upgrade stylelint-config-wikimedia from 0.10.0 to 0.10.1
...
Also upgrade grunt-stylelint dependency from 0.11.1 to 0.15.0
Change-Id: I7348d35997b8bb0b2792e8b97a895774b7dcdc78
2020-04-27 09:49:56 -07:00
Ed Sanders
2a52e7f15c
build: Update linters
...
Change-Id: Iaf0c760d5a69bc41505b782ab9f05864c37c7196
2020-04-13 16:05:10 +01:00
Volker E
d92fffb4a1
build: Update svgo to latest v1.3.2
...
* svgo: 0.7.2 → 1.3.2
Bug: T246544
Change-Id: I1a1ea9c1c90a4676384ae8aae8a846d09ca13637
2020-03-05 16:25:02 -08:00
jdlrobson
1200cb5279
Storybook added to MinervaNeue
...
For now just adding story entries for footer element and last modified.
Bug: T244106
Change-Id: Ib36f22f9b9d805f87fc074d12473497cfaf91b79
2020-03-03 15:22:34 +00:00
jdlrobson
7340485014
Monitor render blocking css bundle sizes
...
Add a script that builds CSS for Minerva using lessc than measures
their bundlesize.
This will give us added protection to large increases in bundlesize
that can lead to performance regressions.
Change-Id: I2e5e55ad10fac7ecb5a8c19ccdf3cc54de59b75d
2020-01-29 11:03:59 +00:00
Ed Sanders
49dd1fd71a
build: Update eslint-config-wikimedia
...
Change-Id: Ic2148121161b804c3f6f41b9446fcea066f3de0d
2019-10-31 23:08:57 +00:00
Ed Sanders
d54798ec6b
build: Update eslint-config-wikimedia
...
Change-Id: Id14552b5663340ffc1e2ae02599a1df99685e464
2019-10-04 15:28:49 +00:00
jdlrobson
3ad1dfbcf5
Upgrade wdio-mediawiki and webdriverio dependencies
...
Change-Id: Id7c78dd22ffeccf7c4636169b08bd7781ec071f9
2019-09-19 10:08:56 -07:00
Ed Sanders
8e579c373b
build: Update linters
...
Change-Id: Ie0983466ad0eed0a30d62f28b10efebd0f2eacba
2019-09-17 14:21:30 +01:00
James D. Forrester
7ebab3c9eb
build: Upgrade wdio-cucumber-framework to get a working version of fibers
...
Bug: T226442
Change-Id: Ia3772f620d8bfc511c0d4259734e0ce9a092c679
2019-06-24 14:37:58 -07:00
James D. Forrester
8234fb6b81
build: Upgrade wdio-mocha-framework to be node10 compatible
...
Change-Id: I064af803e376271ef7fa832ec8b1e8b9e2de84ce
2019-06-03 14:58:56 -07:00
James D. Forrester
7eabe08806
build: Upgrade eslint-config-wikimedia 0.12.0, drop grunt-jsonlint
...
Bug: T220036
Change-Id: Ia081ff5429547cf1c7e6d6e8b0cae94e8ca3e0ba
2019-05-06 13:52:00 -07:00
jdlrobson
6e9d56efa6
Restore category step for CI
...
Per T199939#5096023 use job runner to execute the job runner
as part of the test to ensure the API can return categories for
a page.
Bug: T219920
Change-Id: I467f6635fd0d80a01428f6b06a8c750430d63d6d
2019-04-23 15:56:09 +08:00
jdlrobson
9e92bdbc50
Run Minerva browser tests against the mobile domain
...
There doesn't seem to be an easy way to set Minerva as the
default skin for anonymous users, so this is probably the
best way to assure all actions happen in Minerva skin - not Vector
which is the default desktop skin!
Bug: T190710
Bug: T220658
Change-Id: I6912db022cdea1adad1e3842af23602e50969f63
2019-04-11 15:43:52 +00:00
jdlrobson
4a5c719031
Selenium daily job should mirror selenium-test
...
Follow up to Ic6d4893df172f821111c8eb4c95a5e78a809a82c
copying example of Echo
Change-Id: Idf79a72ad5d6de99e427f1a128be954efb3a9322
2019-04-10 02:25:06 +00:00
jdlrobson
9a9749603f
Add missing dependency for Selenium daily job
...
Change-Id: I2a650b85879b1a16643064483ebdcf21d0f10497
2019-04-09 23:48:32 +00:00
jdlrobson
9fced7557f
Setup the selenium daily job
...
Bug: T219920
Change-Id: Ic6d4893df172f821111c8eb4c95a5e78a809a82c
2019-04-09 21:28:17 +00:00
Jan Drewniak
26e413e04d
Adding initial webdriver.io test
...
Porting first selenium test from Ruby to Node.js using the
mocha framework. Starting with `category.feature` test.
Tests are placed in a new `tests/selenium` folder with their
own eslint config.
Bug: T190710
Change-Id: Iad954405a5ae0608fd5dc90dd5dfa434b3781037
2019-04-08 16:05:22 -07:00
James D. Forrester
75a751f1c6
build: Upgrade eslint-config-wikimedia from 0.10.1 to 0.11.0
...
Change-Id: I36a88cbf8b468646c21d47c3b58433895e8ff31a
2019-04-04 18:01:40 +00:00
Ed Sanders
3cefa5b144
build: Update eslint-config-wikimedia to 0.10.1
...
Change-Id: Ifc410d35c8e5bb2915ea2c1e8e51bc7db09f5172
2019-02-02 11:14:39 -08:00