Skip to content

Commit cbae29e

Browse files
committed
test(ios): observe keyboard readiness and Settings buttons
1 parent 5886051 commit cbae29e

2 files changed

Lines changed: 9 additions & 7 deletions

File tree

‎test/integration/ios-simulator-e2e/live-runner.ts‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import { assertPngFile } from '../provider-scenarios/assertions.ts';
1010
import {
1111
assertFilesDiffer,
1212
assertJsonContains,
13+
assertWaitSelector,
1314
assertWaitText,
1415
capturePng,
1516
requireNodeRect,
@@ -344,6 +345,7 @@ async function assertFormInput(context: LiveContext): Promise<void> {
344345
String(emailRect.x + emailRect.width / 2),
345346
String(emailRect.y + emailRect.height / 2),
346347
]);
348+
await assertWaitSelector(context, 'role="keyboard" visible=true', { debug: true });
347349
const typedSuffix = await runStep(context, 'append email suffix from coordinate focus', [
348350
'type',
349351
'.test',

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

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

44
open com.apple.Preferences --relaunch
5-
is visible 'role=cell label=General'
6-
is absent 'role=cell label=Apps'
7-
scroll down --until 'role=cell label=Apps'
8-
is visible 'role=cell label=Apps'
5+
is visible 'role=button label=General'
6+
is absent 'role=button label=Apps'
7+
scroll down --until 'role=button label=Apps'
8+
is visible 'role=button label=Apps'
99

10-
is absent 'role=cell label=General'
11-
scroll up --until 'role=cell label=General'
12-
is visible 'role=cell label=General'
10+
is absent 'role=button label=General'
11+
scroll up --until 'role=button label=General'
12+
is visible 'role=button label=General'

0 commit comments

Comments
 (0)