Skip to content

Commit 8e012e4

Browse files
authored
test(site): workaround for reattached xterm-rows (#9790)
1 parent a18bf73 commit 8e012e4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

site/e2e/tests/webTerminal.spec.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,10 @@ test("web terminal", async ({ context, page }) => {
4545
state: "visible",
4646
});
4747

48+
// Workaround: delay next steps as "div.xterm-rows" can be recreated/reattached
49+
// after a couple of milliseconds.
50+
await terminal.waitForTimeout(2000);
51+
4852
// Ensure that we can type in it
4953
await terminal.keyboard.type("echo he${justabreak}llo123456");
5054
await terminal.keyboard.press("Enter");

0 commit comments

Comments
 (0)