Skip to content

Commit 3ce5716

Browse files
committed
Stabilize JS integration fixture launch
1 parent ff1fe1d commit 3ce5716

1 file changed

Lines changed: 13 additions & 1 deletion

File tree

scripts/integration/js-api.mjs

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,19 @@ async function main() {
157157
});
158158
await measuredStep("JS launch fixture", async () => {
159159
await retryAsync(
160-
() => session.launch(simulatorUDID, fixtureBundleId),
160+
async () => {
161+
await session.launch(simulatorUDID, fixtureBundleId);
162+
await session.waitFor(
163+
simulatorUDID,
164+
{ id: "fixture.continue" },
165+
{
166+
source: "native-ax",
167+
maxDepth: 3,
168+
timeoutMs: 15_000,
169+
pollMs: 250,
170+
},
171+
);
172+
},
161173
"JS launch fixture",
162174
3,
163175
5_000,

0 commit comments

Comments
 (0)