File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -38,13 +38,15 @@ test.describe("Integrated Terminal", () => {
38
38
// Open terminal and type in value
39
39
await codeServer . focusTerminal ( )
40
40
41
- // give the terminal a second to load
42
41
await page . waitForLoadState ( "load" )
43
42
await page . keyboard . type ( `echo '${ testString } ' > ${ tmpFile } ` )
44
43
// Wait for the typing to finish before hitting enter
45
- await page . waitForTimeout ( 500 )
44
+ await page . waitForTimeout ( 1000 )
46
45
await page . keyboard . press ( "Enter" )
46
+ // Wait for enter to register and
47
+ // and file to be created
47
48
await page . waitForTimeout ( 2000 )
49
+ // await page.waitForLoadState("networkidle")
48
50
49
51
// .access checks if the file exists without opening it
50
52
// it doesn't return anything hence why we expect it to
You can’t perform that action at this time.
0 commit comments