Commit graph

7 commits

Author SHA1 Message Date
Željko Filipin
0a23ed1b1f selenium: Do not run some tests when targeting Beta
Some tests are flaky when targeting the Beta cluster. Remove them from
the daily test suite until they are fixed.

Bug: T323824
Change-Id: If3fb121e95784e59e9ae4e10f92a679df19be732
2022-12-09 17:19:26 +01:00
Željko Filipin
f4a4b07500 selenium: Run most tests targeting the beta cluster
Only creating account via the web interface does not work on the beta
cluster, because of CAPTCHA.

Bug: T323824
Change-Id: I7e9c6169f1c72450b4b620a8712629af7637f06b
2022-11-30 15:13:08 +00:00
Zfilipin
4ef806b6e3 Revert "Selenium tests: Skip wikitext-specific tests if NS isn't wikitext"
This reverts commit 66e9dab5f5.

Reason for revert:

The reverted commit is causing 11 tests to be skipped.
It was needed for WikiLambda (90e3ad0538ac5bd519284f3c5df76e645a16c1e7).
Since WikiLambda no longer has Selenium tests (f0051019e363e4abdc9ef9ab3c1c82e3b2bfed97)
I guess this can be reverted.

Bug: T303737
Change-Id: Iac1d31dbd17fae191d2808011ff4d791f294bf6a
2022-11-28 17:31:48 +00:00
osamaahmed17
ecd2550027 selenium: Refactor WebdriverIO tests from sync to async mode
Adding missing await statements.

Bug: T293071
Change-Id: I2818d8a72d2ad1d0173e0ee284de3ad8c67c9e18
2022-01-29 04:00:51 +11:00
osamaahmed17
8f973d8503 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.

Bug: T293071
Change-Id: I15347b789f11de84b764e13a3981545ed6759881
2022-01-06 07:17:48 +11:00
James D. Forrester
66e9dab5f5 Selenium tests: Skip wikitext-specific tests if NS isn't wikitext
Change-Id: I2745532e5c9b2204fd2ee87ced004abd13dd4d4b
2021-08-24 08:53:42 -07:00
Željko Filipin
00582fa7a8 selenium: Simplify spec file names
Remove `special` from `recentchanges.js` and `watchlist.js`.
The entire `spec` folder has only four files. The two mentioned and
`page.js` and `user.js`. If that was a folder with a lot of files, it
would make sense to use `special`. Now it just makes file names long.
Additionally, files in `pageobjects` folder are already using simpler
names, `recentchanges.page.js` and `watchlist.page.js`, without
`special`.

Bug: T210726
Change-Id: I156f436e2de345586a25174c630ad60259504115
2021-05-20 19:46:09 +02:00
Renamed from tests/selenium/specs/specialrecentchanges.js (Browse further)