jenkins-bot
73c124c498
Merge "selenium: Update wdio-mediawiki"
2021-05-26 15:07:07 +00: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
jenkins-bot
c9839d897b
Merge "selenium: Update README.md file"
2021-05-26 10:01:08 +00:00
anjali041
0001ee4dc3
selenium: Update README.md file
...
Bug: T282237
Change-Id: I87018d39e9a9d6fb101ad5e1f7c4f13f8200611e
2021-05-25 16:03:45 +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
Željko Filipin
64f1486d67
selenium: Delete tests disabled for more than 1 year
...
The entire mention.js file was disabled by Kosta Harlan
2 years ago in efd7594
.
Bug: T280652
Change-Id: Id2c0bc8e73a58738d422df2abd9c9157f426ab15
2021-04-20 13:25:22 +00:00
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
Ed Sanders
80ddee3956
build: Update linters
...
Change-Id: I713aafb891306fc21a776a7d4622c6a039798753
2019-12-12 11:20:49 +00:00
Kosta Harlan
efd759402f
Skip broken Selenium test
...
Caused failure in
https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Echo/+/524520#message-7f1addb6b8b09919581014fe18c6dddef32fb078
Bug: T227009
Change-Id: Iae088bc7c966f927a15d06a4de5966a76913dbe4
2019-07-30 16:54:31 +02:00
ephemeralwaves
05f3e66a9d
Selenium: Fix failing test by only running tests tagged @daily
...
Changed `selenium-daily` npm script to only run tests tagged `@daily`
and removed `it.skip` on tests failing in beta cluster.
Bug:T227009
Change-Id: Id2edbfd941df098d326fa30ed9dc9f68e228f021
2019-07-05 10:58:19 +00:00
Željko Filipin
e76e9f9b5c
Selenium: Fix failing Jenkins job by disabling failing tests
...
Bug: T227009
Change-Id: I5d2fcc1e6f50e73375c834e1167726273c82025c
2019-07-01 17:49:29 +02:00
ephemeralwaves
dd4539b522
Selenium: Test that checks for user mention alerts
...
Check that a user gets an alert when their username is mentioned by another user.
Bug: T224894
Change-Id: I303e10a40d1092e4b9f81deef0f1ac2af6f7a435
2019-06-19 10:23:22 +00:00
ephemeralwaves
917d003397
Test that checks for welcome notification
...
Added a test that creates a new user and checks that they have a welcome message when notices is clicked.
Bug: T217051
Change-Id: Ia5808ebcedcd91f740cce646f4aa0576ef6d378f
2019-04-30 21:00:53 -04:00
jenkins-bot
2c128578ca
Merge "Selenium: notices' flyout"
2019-04-01 15:40:18 +00:00
ephemeralwaves
2dec325d13
Selenium: notices' flyout
...
Test that checks if the flyout window appears when the notices badge is clicked.
Bug: T217051
Change-Id: Icf37b2908f26b2cb43c8c7ae0de4eca73a5a28a4
2019-04-01 15:19:21 +00:00
Željko Filipin
c054b6ddb0
Selenium: update and simplify README
...
Bug: T210726
Change-Id: I3dc028c36b98de68351ca754233a5bc2994e0f03
2019-03-26 16:27:06 +01:00
ephemeralwaves
319808de5d
Selenium: the first test for Special:Notifications
...
Open the notifications page and check that the notification heading is present.
Bug: T217051
Change-Id: I357e83eca9f6d6fe380ec6996fb557d578a76912
2019-03-25 15:47:38 +00:00
ephemeralwaves
8212dfe2a3
Test that checks for alerts' flyout
...
Added a test that checks if the flyout window appears when the alerts badge is
clicked.
Bug: T217051
Change-Id: I5afbb6928a42ddf1c71dec13c4559189d7c31f28
2019-03-04 13:26:22 -05:00
Ed Sanders
4d03a4856d
Update eslint-config-wikimedia to 0.9.0
...
Change-Id: Icd7b0f4ca54275c31eb61a759e2c3c9ce0a18952
2018-11-27 22:48:32 +00:00
Željko Filipin
6aa871293e
Use new page objects from mediawiki/core in Selenium tests
...
Bug: T171848
Change-Id: Ib6a08c6a34ef6a4bef8a81f49fed8aae67dc67dc
2018-06-22 15:23:23 +00:00
Željko Filipin
53d849b3c9
selenium: Make it possible to run tests from Echo folder
...
Until now, Echo tests had to be run from mediawiki/core folder.
Add an independant 'npm run selenium-test' entry point
for local development. It comes with a minimal wdio.conf.js file that contains
only non-default settings, and runs only specs from this extension.
This also makes it so that screenshots are saved to this repo's
log directory instead of core's.
Bug: T171848
Change-Id: I1396f8d856c6cb1ad9818abf4ba09a4fcefdcfdc
2018-06-22 14:17:05 +00:00
Željko Filipin
67f0bb4763
Update README file for Selenium tests
...
Bug: T187862
Change-Id: I43e0a91966b07377dbbc487c5b3980c34cf53ad3
2018-02-27 13:57:52 +01:00
WMDE-Fisch
9635657ab4
When running Selenium tests, use wd/hub
...
Now it works on Mac, Windows and Linux.
Change-Id: Idf984c89f541a44ad522ff4d765dc58ada407797
2018-01-18 15:02:42 +01:00
Željko Filipin
58e9dda85c
ESLint parserOptions is reduntand when es6 env is used
...
Bug: T171848
Change-Id: I27ad1fc514d7420f18601990beaf1411cd6d8687
2018-01-11 14:03:09 +01:00
Željko Filipin
30511cccdc
Selenium test: alerts and notices are visible after logging in
...
The first Selenium test in Node.js using WebdriverIO.
Bug: T171848
Change-Id: Ie6bdc0f164e24c35db8a922df57428ec4d5452d3
2018-01-05 15:16:22 +00:00