Add Playwright e2e coverage and Node 20 pin
This commit is contained in:
13
frontend/e2e/auth.spec.ts
Normal file
13
frontend/e2e/auth.spec.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
import { expect, test } from '@playwright/test'
|
||||
import { signIn } from './helpers/auth'
|
||||
|
||||
test.use({ storageState: { cookies: [], origins: [] } })
|
||||
|
||||
test.describe('authentication smoke tests', () => {
|
||||
test('team admin can sign in through the login form', async ({ page }) => {
|
||||
await signIn(page)
|
||||
|
||||
await expect(page).toHaveURL(/\/$/)
|
||||
await expect(page.getByTestId('app-shell')).toBeVisible()
|
||||
})
|
||||
})
|
||||
Reference in New Issue
Block a user