Archived
1
0

Merge pull request #3263 from cdr/jsjoeio/fix-e2e-test

fix(testing): reduce flakiness of terminal.test.ts and use 1 worker for e2e tests
This commit is contained in:
Joe Previte
2021-04-30 15:38:32 -07:00
committed by GitHub
3 changed files with 2 additions and 6 deletions

View File

@ -50,7 +50,7 @@ test.describe("Integrated Terminal", () => {
await codeServer.focusTerminal()
await page.waitForLoadState("load")
await page.keyboard.type(`echo '${testString}' > '${tmpFile}'`)
await page.keyboard.type(`echo ${testString} > ${tmpFile}`)
await page.keyboard.press("Enter")
// It may take a second to process
await page.waitForTimeout(1000)