Repo hygiene: stop tracking dist, CI, working dev sandbox
- 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]>
This commit is contained in:
+4
-3
@@ -1,12 +1,13 @@
|
||||
import { expect, test } from '@playwright/test'
|
||||
|
||||
// this is an example Playwright e2e 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', '[email protected]')
|
||||
await page.fill('#field-password', 'test')
|
||||
await page.fill('#field-email', devUser.email)
|
||||
await page.fill('#field-password', devUser.password)
|
||||
await page.click('.form-submit button')
|
||||
|
||||
// should show dashboard
|
||||
|
||||
Reference in New Issue
Block a user