Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions test/integration/ios-simulator-e2e/live-runner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import { assertPngFile } from '../provider-scenarios/assertions.ts';
import {
assertFilesDiffer,
assertJsonContains,
assertWaitSelector,
assertWaitText,
capturePng,
requireNodeRect,
Expand Down Expand Up @@ -344,6 +345,7 @@ async function assertFormInput(context: LiveContext): Promise<void> {
String(emailRect.x + emailRect.width / 2),
String(emailRect.y + emailRect.height / 2),
]);
await assertWaitSelector(context, 'role="keyboard" visible=true', { debug: true });
const typedSuffix = await runStep(context, 'append email suffix from coordinate focus', [
'type',
'.test',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,18 @@ context platform=android
open settings --relaunch
snapshot -i

click @e2
wait 1000
click 'text="Search Settings"'
wait 'role=text-field focused=true' 5000
is focused 'role=text-field'
screenshot "./test/screenshots/replays/android-search-focused.png"
snapshot -i

keyboard status

type "Display"
wait 1000
wait 'role=text-field value="Display"' 5000
is focused 'role=text-field value="Display"'
screenshot "./test/screenshots/replays/android-search-typed.png"
snapshot -i

screenshot "./test/screenshots/replays/android-search-results.png"
Expand Down
13 changes: 7 additions & 6 deletions test/integration/replays/ios/simulator/03-scroll-discovery.ad
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@
context platform=ios target=mobile

open com.apple.Preferences --relaunch
scroll down 3
wait 500
find text "Accessibility" exists
is visible 'role=button label=General'
is absent 'role=button label=Apps'
scroll down --until 'role=button label=Apps'
is visible 'role=button label=Apps'

scroll up 3
wait 500
find text "General" exists
is absent 'role=button label=General'
scroll up --until 'role=button label=General'
is visible 'role=button label=General'
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,12 @@ context platform=ios target=mobile

open com.apple.Preferences --relaunch
click "role=searchField || label=Search || label=\"Search\""
wait 1000
wait 'editable=true focused=true'
is focused 'editable=true'

type "General"
wait 1000
wait 'editable=true value="General"'
is focused 'editable=true value="General"'
screenshot "./test/screenshots/replays/ios-search-results.png"

find text "General" exists
Loading