mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-10-13 00:34:43 +00:00
Use semantic demo connection status
This commit is contained in:
parent
2c6eb9a58d
commit
0443bcf174
3 changed files with 9 additions and 2 deletions
|
|
@ -2059,6 +2059,10 @@ sources that otherwise repopulate the cleared event log, before restart. A
|
|||
failed bounded restart restores that archive;
|
||||
success discards it. Customer configuration, active-alert recovery state,
|
||||
metrics history, the binary, unit, and Relay remain outside this reset.
|
||||
The authenticated browser proof waits on the visible connection-status role
|
||||
and its accessible backend/stream detail, not on the `Connected` label itself:
|
||||
the responsive header deliberately keeps that text visually collapsed until
|
||||
hover even when the live stream is healthy.
|
||||
|
||||
The preceding `v6.4.0-rc.8` qualification attempt used exact source SHA
|
||||
`bac7e5d9526d76a6b4e34738511b07609dda80ed`. Release run `33128595650`
|
||||
|
|
|
|||
|
|
@ -52,7 +52,9 @@ async function main() {
|
|||
await page.getByRole('button', { name: 'Sign in to Pulse' }).click();
|
||||
|
||||
await page.locator('main').waitFor({ state: 'visible', timeout: 60000 });
|
||||
await page.getByText('Connected', { exact: true }).first().waitFor({ state: 'visible', timeout: 60000 });
|
||||
await page
|
||||
.getByRole('status', { name: 'Backend and live data stream are connected.' })
|
||||
.waitFor({ state: 'visible', timeout: 60000 });
|
||||
|
||||
const authenticatedBody = normalizeText(await page.locator('body').innerText());
|
||||
assert(authenticatedBody !== 'Loading...', 'Public demo remained on the authenticated loading shell');
|
||||
|
|
|
|||
|
|
@ -2069,7 +2069,8 @@ class ReleasePromotionPolicyTest(unittest.TestCase):
|
|||
self.assertIn("PULSE_DEMO_AUTH_PASS", demo_smoke)
|
||||
self.assertIn("getByRole('button', { name: 'Sign in to Pulse' }).click()", demo_smoke)
|
||||
self.assertIn("page.locator('main').waitFor({ state: 'visible', timeout: 60000 })", demo_smoke)
|
||||
self.assertIn("getByText('Connected', { exact: true }).first().waitFor({ state: 'visible', timeout: 60000 })", demo_smoke)
|
||||
self.assertIn("getByRole('status', { name: 'Backend and live data stream are connected.' })", demo_smoke)
|
||||
self.assertNotIn("getByText('Connected', { exact: true })", demo_smoke)
|
||||
self.assertIn("Public demo remained on the authenticated loading shell", demo_smoke)
|
||||
self.assertNotIn("waitUntil: 'networkidle'", demo_smoke)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue