test: add end-to-end browser tests with Playwright
Set up tests/e2e/ with a login page test covering branding, accessibility, form structure, theme colors, and static asset serving. Includes run.sh that manages the app lifecycle (start, test, stop) automatically.
This commit is contained in:
parent
84e61464c7
commit
e8fd7eb01d
4 changed files with 236 additions and 0 deletions
12
tests/e2e/package.json
Normal file
12
tests/e2e/package.json
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
"private": true,
|
||||
"name": "porchlight-e2e",
|
||||
"description": "End-to-end browser tests for Porchlight",
|
||||
"scripts": {
|
||||
"test": "./run.sh",
|
||||
"setup": "npx playwright install chromium"
|
||||
},
|
||||
"dependencies": {
|
||||
"playwright": "^1.52.0"
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue