We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0115c29 commit 067e872Copy full SHA for 067e872
test/e2e/terminal.test.ts
@@ -38,13 +38,15 @@ test.describe("Integrated Terminal", () => {
38
// Open terminal and type in value
39
await codeServer.focusTerminal()
40
41
- // give the terminal a second to load
42
await page.waitForLoadState("load")
43
await page.keyboard.type(`echo '${testString}' > ${tmpFile}`)
44
// Wait for the typing to finish before hitting enter
45
- await page.waitForTimeout(500)
+ await page.waitForTimeout(1000)
46
await page.keyboard.press("Enter")
+ // Wait for enter to register and
47
+ // and file to be created
48
await page.waitForTimeout(2000)
49
+ // await page.waitForLoadState("networkidle")
50
51
// .access checks if the file exists without opening it
52
// it doesn't return anything hence why we expect it to
0 commit comments