Skip to content

Commit 3273def

Browse files
committed
Stabilize JS integration fixture launch
1 parent ce35987 commit 3273def

1 file changed

Lines changed: 13 additions & 6 deletions

File tree

scripts/integration/js-api.mjs

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -157,16 +157,23 @@ 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,
164176
);
165-
await session.waitFor(
166-
simulatorUDID,
167-
{ id: "fixture.continue" },
168-
{ source: "native-ax", maxDepth: 3, timeoutMs: 5_000, pollMs: 250 },
169-
);
170177
});
171178
await measuredStep("JS tree describe", async () => {
172179
assertRoots(

0 commit comments

Comments
 (0)