Archived
1
0

refactor: change to reloadUntilEditorIsReady

This commit is contained in:
Joe Previte
2021-04-30 13:26:25 -07:00
parent 2cb499385a
commit cde30579c4
4 changed files with 17 additions and 20 deletions

View File

@ -25,7 +25,7 @@ test.describe("logout", () => {
await page.waitForLoadState("networkidle")
// We do this because occassionally code-server doesn't load on Firefox
// but loads if you reload once or twice
await codeServer.reloadUntilEditorIsVisible()
await codeServer.reloadUntilEditorIsReady()
// Make sure the editor actually loaded
expect(await codeServer.isEditorVisible()).toBe(true)