Files
supabase/e2e/studio/features/status-page-banner.spec.ts
Charis 6168ddc0c1 fix(studio): remove incident banner automation (#42664)
* **Refactor**
* Status banner now displays only ongoing incidents, no longer shows
maintenance events
  * Removed persistent banner dismissal state
2026-02-11 20:47:57 +00:00

18 lines
641 B
TypeScript

import { expect } from '@playwright/test'
import { test } from '../utils/test.js'
import { toUrl } from '../utils/to-url.js'
test.describe('StatusPageBanner', () => {
test('incident banner does not show when no incident flag is set', async ({ page, ref }) => {
await page.goto(toUrl(`/project/${ref}`))
// Wait for page to load
await expect(page.getByRole('heading', { level: 1 })).toBeVisible({ timeout: 15000 })
// Verify the incident banner is NOT visible (no flag is set)
const incidentBanner = page.getByText('We are investigating a technical issue')
await expect(incidentBanner).not.toBeVisible()
})
})