Skip to content

Commit 83e8ed3

Browse files
code-asherjsjoeio
andcommitted
Clarify comment about reloading editor when authenticated
Co-authored-by: Joe Previte <[email protected]>
1 parent b686553 commit 83e8ed3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/e2e/models/CodeServer.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -224,8 +224,8 @@ export class CodeServerPage {
224224
const to = new URL(endpoint, await this.codeServer.address())
225225
await this.page.goto(to.toString(), { waitUntil: "networkidle" })
226226

227-
// If we aren't authenticated we'll see a login page so we can't wait until
228-
// the editor is ready.
227+
// Only reload editor if authenticated. Otherwise we'll get stuck
228+
// reloading the login page.
229229
if (this.authenticated) {
230230
await this.reloadUntilEditorIsReady()
231231
}

0 commit comments

Comments
 (0)