Archived
1
0

refactor: tmpdir and add to test utils

This commit is contained in:
Joe Previte
2021-04-23 14:28:39 -07:00
parent b0ecff338f
commit 7bfdd13cb3
4 changed files with 41 additions and 33 deletions

View File

@ -47,7 +47,7 @@ export class CodeServer {
*/
async isEditorVisible() {
// Make sure the editor actually loaded
// If it's not visible after 2 seconds, something is wrong
// If it's not visible after 5 seconds, something is wrong
await this.page.waitForLoadState("networkidle")
return await this.page.isVisible("div.monaco-workbench", { timeout: 5000 })
}