We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a5926aa commit dcdde3dCopy full SHA for dcdde3d
test/e2e/models/CodeServer.ts
@@ -67,7 +67,7 @@ export class CodeServer {
67
68
// Slices http://localhost:8080
69
// to localhost:8080
70
- const hostWithoutHttp = CODE_SERVER_ADDRESS.slice(7)
+ const hostWithoutHttp = new URL(CODE_SERVER_ADDRESS).host
71
const hostSelector = `[title="Editing on ${hostWithoutHttp}"]`
72
await this.page.waitForSelector(hostSelector)
73
0 commit comments