File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,14 +4,18 @@ context platform=android
44open settings --relaunch
55snapshot -i
66
7- click @e2
8- wait 1000
7+ click 'text="Search Settings"'
8+ wait 'role=text-field focused=true' 5000
9+ is focused 'role=text-field'
10+ screenshot "./test/screenshots/replays/android-search-focused.png"
911snapshot -i
1012
1113keyboard status
1214
1315type "Display"
14- wait 1000
16+ wait 'role=text-field value="Display"' 5000
17+ is focused 'role=text-field value="Display"'
18+ screenshot "./test/screenshots/replays/android-search-typed.png"
1519snapshot -i
1620
1721screenshot "./test/screenshots/replays/android-search-results.png"
Original file line number Diff line number Diff line change 22context platform=ios target=mobile
33
44open com.apple.Preferences --relaunch
5- scroll down 3
5+ scroll down --until 'label=Accessibility'
66wait 500
77find text "Accessibility" exists
88
9- scroll up 3
9+ scroll up --until 'label=General'
1010wait 500
1111find text "General" exists
Original file line number Diff line number Diff line change @@ -3,9 +3,12 @@ context platform=ios target=mobile
33
44open com.apple.Preferences --relaunch
55click "role=searchField || label=Search || label=\"Search\""
6- wait 1000
6+ wait 'editable=true focused=true'
7+ is focused 'editable=true'
78
89type "General"
9- wait 1000
10+ wait 'editable=true value="General"'
11+ is focused 'editable=true value="General"'
12+ screenshot "./test/screenshots/replays/ios-search-results.png"
1013
1114find text "General" exists
You can’t perform that action at this time.
0 commit comments