Commit graph

5 commits

Author SHA1 Message Date
Željko Filipin
e5ce705de7 selenium: Replace Node.js Assert library with WebdriverIO Expect library
Assertions from Expect library are more readable that assertions from Assert library.

Bug: T325740
Change-Id: I686f39d7ef08085037bc34219c6f55eba9da8dd1
2024-09-19 10:57:35 +02:00
Željko Filipin
ab73a3848c selenium: Fix docs/Stack/webdriverio.js
The file was by mistake going to `/Main Page` instead of `Main Page`.

Bug: T373125
Change-Id: Ie88dc1c24329aac8f00eb8471eed18165297d42b
2024-09-12 11:18:28 +02:00
Željko Filipin
6700247fa6 selenium: Fix Main Page should have "Log in" link
Three tests with that name were by mistake going to `/Main Page` instead of `Main Page`.

Bug: T373125
Change-Id: I5936f2c944765f576ab87d899002f7f24116ef44
2024-09-11 15:59:11 +02:00
Željko Filipin
bc772ddda0 selenium: Main page should have "Log in" link
Make it explicit that there are three separate tests
by expanding test names.

Until now, these three tests were doing the same thing,
but in a different way. All three tests had the same name.
That made it harder to debug if anything went wrong.
For example, all three tests created the screenshot file
with the same name.

Bug: T373125
Change-Id: I53f62186fd4e8ffbe5e93642c933da2493b91896
2024-09-11 10:55:58 +02:00
Željko Filipin
c0da0ea8a7 selenium: Example code for Selenium/Explanation/Stack
https://www.mediawiki.org/wiki/Selenium/Explanation/Stack

Bug: T368535
Change-Id: Ie1354c94c935551a23a937bb38012c10431c6292
2024-08-23 15:43:38 +00:00