- dist/ no longer committed; prepare builds it for git installs and prepublishOnly runs clean + build + unit tests before every publish. - Gitea Actions CI: typecheck, lint, unit tests, build on push/PR. - New scripts: typecheck, test:watch; test:int runs once; lint covers src + test. - dev/: drop the Mongo memory server and template route, opt out of 2FA, add the pages collection the SEO config expects, alias @intecion/ipal-kit/* to src, fix e2e credentials, regenerate types and import map. - Remove stray src/index.tsgrep, dedupe .gitignore, README peer versions 3.90.2. Co-Authored-By: Claude Opus 5.5 <[email protected]>
17 lines
485 B
TypeScript
17 lines
485 B
TypeScript
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()
|
|
})
|