From ee850b5bca44ca0d707fea1bdf155f7f8f848080 Mon Sep 17 00:00:00 2001 From: Asher Date: Fri, 18 Feb 2022 21:03:25 +0000 Subject: [PATCH] Standardize on endpoint vs path --- test/e2e/models/CodeServer.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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" }) }