diff --git a/test/e2e/models/CodeServer.ts b/test/e2e/models/CodeServer.ts index 4f37cbfe..e06fa4c6 100644 --- a/test/e2e/models/CodeServer.ts +++ b/test/e2e/models/CodeServer.ts @@ -205,8 +205,8 @@ export class CodeServerPage { /** * Navigate to a code-server endpoint. By default go to the root. */ - async navigate(path = "/") { - const to = new URL(path, await this.codeServer.address()) + async navigate(endpoint = "/") { + const to = new URL(endpoint, await this.codeServer.address()) await this.page.goto(to.toString(), { waitUntil: "networkidle" }) }