import { expect, test } from '@playwright/test' import { devUser } from './helpers/credentials.js' test('should render admin panel logo', async ({ page }) => { await page.goto('/admin') // login await page.fill('#field-email', devUser.email) await page.fill('#field-password', devUser.password) await page.click('.form-submit button') // should show dashboard await expect(page).toHaveTitle(/Dashboard/) await expect(page.locator('.graphic-icon')).toBeVisible() })