Skip to content

Commit f0cca62

Browse files
committed
Wait for stable footer controls in runtime refusal journeys
1 parent f77d30c commit f0cca62

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎packages/cli/tests/support/repl-files-journey.ts‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -596,6 +596,7 @@ export function replOrdinaryFileWork(repl: ReplCommand): Operation<void> {
596596
// entry is waiting rather than because it has not got there yet.
597597
expect(yield* exists(join(checkout, "after.md"))).toBe(false);
598598

599+
yield* showing(pty, "[answer]", ACT_MS);
599600
yield* click(pty, "[exit]");
600601
expect(yield* ended(pty)).toBe(0);
601602
});
@@ -962,6 +963,8 @@ export function replUnsupportedGit(repl: ReplCommand): Operation<void> {
962963
expect(yield* gitSaid(checkout, ["write-tree"], home)).toBe(index);
963964
expect(yield* exists(join(home, ".xmd", "repositories"))).toBe(false);
964965

966+
yield* settledEntry(pty, 1, "ok", ACT_MS);
967+
yield* showing(pty, "HEAD · SETTLED", ACT_MS);
965968
yield* click(pty, "[exit]");
966969
expect(yield* ended(pty)).toBe(0);
967970
});

0 commit comments

Comments
 (0)