x
21
 
1
// Lets go to dev.to
2
I.goTo("https://dev.to")
3
4
// Fill up search
5
I.fill("Search", "uilicious")
6
I.pressEnter()
7
8
// I should see myself or my co-founder
9
I.see("Shi Ling")
10
I.see("Eugene Cheah")
11
12
// Ok technically speaking : this test isnt done "properly" 
13
//
14
// If lots of people starts posting on dev.to about uilicious,
15
// which is a possible legitimate scenerio. My name "Eugene Cheah"
16
// will be drowned out from the result, and the test will fail.
17
//
18
// But then again, that will be one test I would be glad to get
19
// a notification on if it ever "fails" XD
20
21
Test
1280 x 960
21 Feb 2019, 06:52 AM
Search Results - DEV Community 👩‍💻👨‍💻
SUCCESS. No errors.
3.5s
1.
I go to "https://dev.to" 2.3s
2.
I fill "Search": "uilicious" 1.0s
3.
I press "Enter"
4.
I see "Shi Ling"
5.
I see "Eugene Cheah"