mirror of
https://github.com/AmanTahiliani/box-box.git
synced 2026-08-07 19:56:18 -04:00
Distinguish FIA feed drops from true session end via terminal SessionStatus, consume canonical /api/v1/weekend-context (post-#72 rebase), poll until analysis-ready, and restore missing live-state styles plus transition/E2E/visual coverage. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -62,10 +62,12 @@ export async function gotoDataLibraryReady(page: Page): Promise<void> {
|
||||
await waitForScreenshotReady(page)
|
||||
}
|
||||
|
||||
export async function gotoLiveEmptyReady(page: Page): Promise<void> {
|
||||
export async function gotoLiveInactiveReady(page: Page): Promise<void> {
|
||||
await page.goto('/live')
|
||||
await expect(page.locator('.loading-state')).toHaveCount(0)
|
||||
await expect(page.getByTestId('live-empty')).toBeVisible()
|
||||
// With BOXBOX_DISABLE_LIVE=1 the feed is silent, so the page settles into the
|
||||
// inactive weekend-context handoff sourced from /api/v1/weekend-context.
|
||||
await expect(page.getByTestId('live-inactive')).toBeVisible()
|
||||
await waitForScreenshotReady(page)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user