Skip to content

Commit 067e872

Browse files
committed
caution: this commit may cause regression in e2e
1 parent 0115c29 commit 067e872

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

test/e2e/terminal.test.ts

+4-2
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,15 @@ test.describe("Integrated Terminal", () => {
3838
// Open terminal and type in value
3939
await codeServer.focusTerminal()
4040

41-
// give the terminal a second to load
4241
await page.waitForLoadState("load")
4342
await page.keyboard.type(`echo '${testString}' > ${tmpFile}`)
4443
// Wait for the typing to finish before hitting enter
45-
await page.waitForTimeout(500)
44+
await page.waitForTimeout(1000)
4645
await page.keyboard.press("Enter")
46+
// Wait for enter to register and
47+
// and file to be created
4748
await page.waitForTimeout(2000)
49+
// await page.waitForLoadState("networkidle")
4850

4951
// .access checks if the file exists without opening it
5052
// it doesn't return anything hence why we expect it to

0 commit comments

Comments
 (0)