|
|
@@ -30,8 +30,9 @@ describe('web e2e: Full access confirmation', () => {
|
|
|
// is temporarily unavailable.
|
|
|
const executablePath = process.env.DSH_PLAYWRIGHT_EXECUTABLE_PATH
|
|
|
browser = await chromium.launch(executablePath === undefined ? {} : { executablePath })
|
|
|
- // Keep the product default Chinese locale: the golden pins the actual
|
|
|
- // registered dictionary rather than a test-local translation callback.
|
|
|
+ // Keep the Chinese surface via {@link ZH_BROWSER_LOCALE}: the golden pins
|
|
|
+ // the actual registered dictionary rather than a test-local translation
|
|
|
+ // callback.
|
|
|
page = await browser.newPage({ viewport: { width: 1680, height: 1000 }, locale: ZH_BROWSER_LOCALE })
|
|
|
tripwire = watchConsole(page)
|
|
|
await page.goto(scaffold.baseUrl, { waitUntil: 'load' })
|