import { test, expect } from '@playwright/test' test('dashboard shows the overview tiles after login', async ({ page }) => { await page.goto('/login') await page.getByLabel('Email').fill('admin@example.com') await page.getByLabel('Password').fill('admin-password-123') await page.getByRole('button', { name: 'Sign in' }).click() await expect(page.getByRole('heading', { name: 'Dashboard' })).toBeVisible() await expect(page.getByTestId('tile-workloads')).toContainText('5') await expect(page.getByTestId('tile-critical')).toBeVisible() await expect(page.getByRole('heading', { name: 'Backups' })).toBeVisible() await page.getByTestId('tile-workloads').click() await expect(page).toHaveURL(/\/cluster/) })