Commit graph

1539 commits

Author SHA1 Message Date
sahil 45b95f90f3 selenium: Upgrade WebdriverIO to v7
Update npm packages: @wdio/* and webdriverio.

Also adding a fallback for the case, that the slider does
not open as expected.

It seems, that the update is causing some issues when
waiting for the module state. Waiting for the lazy module
in DiffPage.ready() should make sure, that the event to
trigger the opening of the slider is in place. This seems
to fail sometimes.

Bug: T274579
Change-Id: Icd597fc5aaa857879a8af310166867d433ba0678
2021-07-02 17:36:55 +05:30
Thiemo Kreuz a2bd859b29 Simplify/reformat code pieces with a lot of duplication
Change-Id: I7f933bb0d5c82858e5ab1831f9021f67e373ff69
2021-07-01 09:16:34 +02:00
Translation updater bot 66a90b6a8a Localisation updates from https://translatewiki.net.
Change-Id: I63175947b6c41e316d5c2f74650510a7a3a2da3a
2021-06-22 08:09:50 +02:00
Thiemo Kreuz c8ddf3c9b9 Fix jQuery.offset() calculation possibly failing
It turns out the jQuery documentation is incomplete:

  $( '<a>' ).offset() → { top: 0, left: 0 }
  $( '<a>' ).parent().offset() → undefined

The difference is that the jQuery set in the second example is
empty.

Bug: T282067
Change-Id: I7c19162f1a39bd529e0a74a6cc0c1ac987f33657
2021-06-21 15:35:21 +02:00
Translation updater bot 5f10d4a52b Localisation updates from https://translatewiki.net.
Change-Id: Id1982ad4c19f269eb8561a70a57fca36db4c9a2e
2021-06-04 08:37:14 +02:00
Translation updater bot 1c675288bd Localisation updates from https://translatewiki.net.
Change-Id: Ia6968a168a46023e5236b2fb6c6dea12ae4ec469
2021-06-02 14:35:48 +02:00
Translation updater bot 402a977c5b Localisation updates from https://translatewiki.net.
Change-Id: I89a48055f738f688d2e9383b48ece4c58cf4dfca
2021-06-01 08:36:22 +02:00
Translation updater bot 8c83b908f6 Localisation updates from https://translatewiki.net.
Change-Id: I582344d4412847b995141c167af071eed4c0f217
2021-05-31 08:32:38 +02:00
libraryupgrader e4a85339ae build: Updating browserslist to 4.16.6
* https://npmjs.com/advisories/1747 (CVE-2021-23364)

Change-Id: I74e7056ca974f5cc06898ab48e5820a88c4f65ed
2021-05-28 03:51:58 +00:00
Translation updater bot 3c59e703ce Localisation updates from https://translatewiki.net.
Change-Id: I45f04fdde5410d9f6cd46202f7e34520751b2995
2021-05-27 12:06:11 +02:00
jenkins-bot 28bd07bcb6 Merge "selenium: Update wdio-mediawiki and fix window resizing" 2021-05-27 08:39:19 +00:00
Adam Wight 40de993f4c selenium: Update wdio-mediawiki and fix window resizing
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.

Some part of the new setup seems to influnce they way how resize is applied
to the window. The fix makes sure it works as expected.

Bug: T283597
Change-Id: I20697815591243367b5a8bdd1cd1cc173a1ddc77
2021-05-27 10:17:30 +02:00
sahil 0a8d861b05 selenium: Update README.md file
Bug: T282237
Change-Id: I089bad7629246a93032174665ad10826c5789e53
2021-05-24 17:59:49 +00:00
libraryupgrader 322570c567 build: Updating hosted-git-info to 2.8.9
Change-Id: If43c78936c884971eff8dfd262df39aad8ee6862
2021-05-21 07:45:18 +00:00
Kunal Mehta 35d24e653e build: Use HTTPS for all dependencies
Change-Id: I213a31be0ad688d6c1919a596eb20f5a3cea238c
2021-05-19 09:24:00 -07:00
libraryupgrader d40c4e12f4 build: Updating hosted-git-info to 2.8.9
* https://npmjs.com/advisories/1677 (CVE-2021-23362)

Change-Id: Ib9cd866dd331555fc6c23ce4cb33944525828856
2021-05-18 21:51:24 +00:00
Volker E 5557f7d4ee 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: I71621ebdd0c060a4252780e1ba387d707ac81eab
2021-05-17 17:45:58 -07:00
Translation updater bot 0c625fb0a9 Localisation updates from https://translatewiki.net.
Change-Id: Ia5cf8915bd044e5ea578a4568c4c1e62455ddc91
2021-05-17 08:43:29 +02:00
libraryupgrader bcdbec52a8 build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 35.0.0 → 36.0.0
* php-parallel-lint/php-parallel-lint: 1.2.0 → 1.3.0

npm:
* grunt: 1.3.0 → 1.4.0
* lodash: 4.17.20 → 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: I414aca6e82f401dec31a1358ea861b30105d73c8
2021-05-13 05:42:58 +00:00
Translation updater bot deec1c58bc Localisation updates from https://translatewiki.net.
Change-Id: I9e128a1dec83e59a8f9bc9832079ef9df7cb817e
2021-05-12 09:23:03 +02:00
jenkins-bot 5554d6a255 Merge "Do not set current preference value as default in GetPreferences hook" 2021-05-08 04:59:25 +00:00
Umherirrender 4105bd5c02 Do not set current preference value as default in GetPreferences hook
Set by DefaultPreferencesFactory

Change-Id: I068bbec3e318ca8ac6b2da5d50accda112c47512
2021-05-08 00:32:23 +02:00
Translation updater bot e8d18b0aa8 Localisation updates from https://translatewiki.net.
Change-Id: Ife633bdb8ab11fa9bace89f2a25bdfeb2b7f5aef
2021-05-05 08:39:06 +02:00
Volker E e39dc66484 build: Change 'stylelint' config rule to '*disallowed-list'
Available since 'stylelint-config-wikimedia' v0.10.3.

Bug: T279431
Change-Id: Ia537ebaa27935887f011f431647040f4a2357fa5
2021-04-28 02:52:08 -07:00
Translation updater bot 9a7866929d Localisation updates from https://translatewiki.net.
Change-Id: I5f120cb7f4c6a5452e2f089c6e6fb9dc2941603b
2021-04-19 08:51:26 +02:00
Translation updater bot e73dd4df6f Localisation updates from https://translatewiki.net.
Change-Id: I45fd3af2aeb277c86d8db9e262e024dafc5c3111
2021-04-15 08:44:01 +02:00
libraryupgrader 0da4b7be69 build: Updating eslint-config-wikimedia to 0.20.0
Change-Id: I51b782486207ee8e1e983a3c962328e53b42a4c8
2021-04-14 03:28:41 +00:00
libraryupgrader e0ef6cbfe1 build: Updating y18n to 4.0.1
* https://npmjs.com/advisories/1654 (CVE-2020-7774)

Change-Id: I78a454825a7b3f160fe107c568bc77b7b83e2ec8
2021-03-30 06:45:59 +00:00
Volker E b0b3dcbed0 styles: Remove obsolete -moz- vendor prefixed rules
Bug: T278670
Change-Id: I99d91408feb7a87162522a1207dc7469d5bdd5f4
2021-03-29 02:51:54 -07:00
libraryupgrader f0e95b2911 build: Updating eslint-config-wikimedia to 0.19.0
Additional changes:
* eslint: Renamed `wikimedia/client` profile to `client-es5` (T277085).

Change-Id: I5d3bc67a9211350f8256e59aacce4ae7e4154573
2021-03-14 11:47:24 +00:00
Translation updater bot 2e513eaf15 Localisation updates from https://translatewiki.net.
Change-Id: I5b56767df4e6c62f74c517aa62427c2a243479ea
2021-03-10 08:32:37 +01:00
Translation updater bot 74a102fc48 Localisation updates from https://translatewiki.net.
Change-Id: I346d1fa007dda6da812b4f484e142f98a9cd0f89
2021-03-08 08:47:05 +01:00
libraryupgrader 3216dac855 build: Updating eslint-config-wikimedia to 0.18.2
Change-Id: I08049e4da36bd44c9061c49f5659cbe588df5a8a
2021-03-07 19:28:41 +00:00
Translation updater bot 7374a67c96 Localisation updates from https://translatewiki.net.
Change-Id: Ie4f24e1e36d042390807cc04af1e6aa0b41b36e7
2021-02-22 08:53:31 +01:00
Translation updater bot 54bb298290 Localisation updates from https://translatewiki.net.
Change-Id: I77faea7259d3573cdd80cdf326be34070b18273e
2021-02-15 10:06:20 +01:00
Translation updater bot c1018046c4 Localisation updates from https://translatewiki.net.
Change-Id: I2fe160bb429b7eb825b33584414b6986ede150af
2021-02-08 08:44:22 +01:00
libraryupgrader 6bbbf17aaa build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 34.0.0 → 35.0.0
* mediawiki/minus-x: 1.1.0 → 1.1.1

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

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

Change-Id: I741732764220eaba0b8a1356e793ce361d76c248
2021-01-30 09:26:11 +00:00
Translation updater bot dae17c1e59 Localisation updates from https://translatewiki.net.
Change-Id: I27601bdd0ebb89720ca4db55cc2ca1eb565886ff
2021-01-27 08:35:21 +01:00
Translation updater bot 0947dee164 Localisation updates from https://translatewiki.net.
Change-Id: I86a6e6b760a297cac42ae9d7db6ce89ab091faec
2020-12-28 10:39:48 +01:00
Translation updater bot d29a867a12 Localisation updates from https://translatewiki.net.
Change-Id: I9750e37d4de5e30c61ae999afff0724ac4dc810b
2020-12-22 08:32:33 +01:00
libraryupgrader b61644c64d build: Updating mediawiki/mediawiki-phan-config to 0.10.6
Change-Id: I91c37b9fc3d9d4d1821cfe98b428437a7d0d6db1
2020-12-20 01:45:16 +00:00
Translation updater bot e6b25812ea Localisation updates from https://translatewiki.net.
Change-Id: I45528addb71306b57368baa4b29672365266a21d
2020-12-14 08:43:12 +01:00
Translation updater bot ed04a39078 Localisation updates from https://translatewiki.net.
Change-Id: I204007efbb5e48c74efa68a16c4d8bad7069d86c
2020-12-11 08:36:25 +01:00
libraryupgrader e8440dec5a build: Updating dependencies
composer:
* mediawiki/mediawiki-phan-config: 0.10.4 → 0.10.5

npm:
* ini: 1.3.5 → 1.3.7
  * https://npmjs.com/advisories/1589

Change-Id: I3aa864f8a80b613b5b5e8c534947ef35a3fd6c92
2020-12-11 06:07:50 +00:00
Translation updater bot 519ec9b306 Localisation updates from https://translatewiki.net.
Change-Id: I0ed734b7c358144d3fe436ebb07819da9f54d170
2020-12-07 08:47:02 +01:00
libraryupgrader 2859c6e321 build: Updating mediawiki/mediawiki-codesniffer to 34.0.0
Change-Id: Icdb60bc5c219628ccda576bc64ea9b81b05667be
2020-12-07 00:15:26 +00:00
Translation updater bot 434ac8beef Localisation updates from https://translatewiki.net.
Change-Id: I2c272fa90facb88d9acdec877c5c6546ef0204e7
2020-11-26 08:28:26 +01:00
Translation updater bot a9c9a8e066 Localisation updates from https://translatewiki.net.
Change-Id: Id7d37571d86dd93c1d0983f28aea61923dba4c2c
2020-11-25 08:34:35 +01:00
Translation updater bot 5dec5d8791 Localisation updates from https://translatewiki.net.
Change-Id: Ib088ea3de31b87fe9079626d6402a6ec6af83b8c
2020-11-24 08:40:23 +01:00
libraryupgrader 8ce9334583 build: Updating npm dependencies
* grunt-stylelint: 0.15.0 → 0.16.0
* stylelint-config-wikimedia: 0.10.1 → 0.10.3
  The following rules are failing and were disabled:
  * unit-disallowed-list

Change-Id: I75146f02a35e71063d2171d10d51774ade00222e
2020-11-22 09:27:59 +00:00