Apply --app-name to web page titles (#7794)

This commit is contained in:
Micah Zoltu
2026-05-22 04:22:29 +08:00
committed by GitHub
parent bf61384523
commit 238769e535
3 changed files with 56 additions and 0 deletions

9
test/e2e/appName.test.ts Normal file
View File

@@ -0,0 +1,9 @@
import { version } from "../../src/node/constants"
import { describe, test, expect } from "./baseFixture"
const appName = "testnäme"
describe("--app-name", [`--app-name=${appName}`], {}, () => {
test("should use app-name for the title", async ({ codeServerPage }) => {
expect(await codeServerPage.page.title()).toContain(appName)
})
})