Skip to content

Commit 30942ef

Browse files
committed
test(replay): verify Settings search focus and bound iOS discovery
1 parent 14de349 commit 30942ef

3 files changed

Lines changed: 14 additions & 7 deletions

File tree

‎test/integration/replays/android/emulator/04-text-input-keyboard.ad‎

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,18 @@ context platform=android
44
open settings --relaunch
55
snapshot -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"
911
snapshot -i
1012

1113
keyboard status
1214

1315
type "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"
1519
snapshot -i
1620

1721
screenshot "./test/screenshots/replays/android-search-results.png"

‎test/integration/replays/ios/simulator/03-scroll-discovery.ad‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
context platform=ios target=mobile
33

44
open com.apple.Preferences --relaunch
5-
scroll down 3
5+
scroll down --until 'label=Accessibility'
66
wait 500
77
find text "Accessibility" exists
88

9-
scroll up 3
9+
scroll up --until 'label=General'
1010
wait 500
1111
find text "General" exists

‎test/integration/replays/ios/simulator/04-text-input-keyboard.ad‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,12 @@ context platform=ios target=mobile
33

44
open com.apple.Preferences --relaunch
55
click "role=searchField || label=Search || label=\"Search\""
6-
wait 1000
6+
wait 'editable=true focused=true'
7+
is focused 'editable=true'
78

89
type "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

1114
find text "General" exists

0 commit comments

Comments
 (0)