Refactor Playwright tests and update configurations
Some checks failed
Chore App Build, Test, and Push Docker Images / build-and-push (push) Has been cancelled

- Consolidated kindness and penalty tests into single files to ensure serial execution and prevent conflicts.
- Updated Playwright configuration to define separate test buckets for child options and create child tests, ensuring proper execution order.
- Added new tests for child kebab menu options including editing, deleting points, and confirming child deletion.
- Removed obsolete tests for kindness and penalty default management.
- Updated authentication tokens in user.json for improved security.
- Enhanced test reliability by implementing retry logic for UI interactions in the create-child happy path test.
This commit is contained in:
2026-03-13 23:26:27 -04:00
parent 8da04676ca
commit c2b022eb0b
14 changed files with 568 additions and 261 deletions

View File

@@ -2,17 +2,17 @@
"cookies": [
{
"name": "refresh_token",
"value": "lEN8eJ_pJ1tcLjsFgkyzCxzsZXn3rjDvdUqoQlcGD1w",
"value": "cR3-UAhFv9MEhSxeLcU2J-BVxuhbFH4nBYJ3_ot_ylo",
"domain": "localhost",
"path": "/api/auth",
"expires": 1781149918.627695,
"expires": 1781234351.04593,
"httpOnly": true,
"secure": true,
"sameSite": "Strict"
},
{
"name": "access_token",
"value": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImUyZUB0ZXN0LmNvbSIsInVzZXJfaWQiOiJkYTM5MDQ0OC04YzFiLTRjYmQtYWNjNi1lNWFmNzM5OTRkNzMiLCJ0b2tlbl92ZXJzaW9uIjowLCJleHAiOjE3NzMzNzQ4MTh9.Imxrgn0cjIfrNne918fLKfsLNcWAG_5FaF0crvYroic",
"value": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImUyZUB0ZXN0LmNvbSIsInVzZXJfaWQiOiIzNWYyNzM5NS0xMGRhLTQzMTQtYjVjNC1jMDIwMmJkYjNiNDMiLCJ0b2tlbl92ZXJzaW9uIjowLCJleHAiOjE3NzM0NTkyNTF9.cqUw3IjBTkTvRFinuQCZ_DPZJsmfFeTxyGAnKt-AozQ",
"domain": "localhost",
"path": "/",
"expires": -1,
@@ -27,11 +27,11 @@
"localStorage": [
{
"name": "authSyncEvent",
"value": "{\"type\":\"logout\",\"at\":1773373918495}"
"value": "{\"type\":\"logout\",\"at\":1773458350728}"
},
{
"name": "parentAuth",
"value": "{\"expiresAt\":1773546718838}"
"value": "{\"expiresAt\":1773631151242}"
}
]
}