fix(client): usable GM column and phone HUD (#89)
This commit is contained in:
@@ -16,11 +16,9 @@ test('e2e: headless chromium loads the real client build and the page reports h2
|
||||
const errors = []
|
||||
page.on('pageerror', error => errors.push(error.message))
|
||||
page.on('console', message => {
|
||||
// The boot probe's refused WebSocket upgrade is the expected no-session path (the browser
|
||||
// logs it); it is not a page error. Everything else must be silent.
|
||||
if (message.type() === 'error' && !message.text().includes('WebSocket connection')) {
|
||||
errors.push(message.text())
|
||||
}
|
||||
// A fresh visitor no longer probes `/ws` before signing in (M4 UX), so a healthy load has
|
||||
// no refused-upgrade noise: every console error is a real error here.
|
||||
if (message.type() === 'error') errors.push(message.text())
|
||||
})
|
||||
|
||||
await page.goto(`${origin}/`, { waitUntil: 'load' })
|
||||
|
||||
Reference in New Issue
Block a user