Add Playwright tests for live site authentication and race page loading

- Introduced `auth.setup.js` to handle authentication against the live site and store the session state.
- Created `live-race.spec.js` to test loading a live race page with an authenticated session, including cookie validation.
- Added utility functions in `live-site-test-utils.js` for managing authentication, dismissing cookie banners, and checking UI states.
- Included a temporary JSON file for live state inspection.
- Updated deployment manifest to reflect new and modified files.
- Implemented `_inc_faceai_identity.jsp` for managing FaceAI identity cookies and included it in relevant JSP files.
- Added language management JavaScript in `lang.js`.
- Adjusted `fotoCR-en.jsp` and `fotoCR.jsp` to include the FaceAI identity logic.
- Created a tarball for staging deployment.
This commit is contained in:
MaddoScientisto 2026-04-19 10:26:34 +02:00
commit 1d1bccdae6
23 changed files with 4358 additions and 11 deletions

View file

@ -10,20 +10,17 @@ All files in this rollout are deployed from the current working tree.
## New Files
- None in this rollout.
- `www/_inc_faceai_identity.jsp`
- `www/_js/lang.js`
## Updated Files
- `www/faceai_config.php`
- `www/faceai_handoff.php`
- `www/faceai_return.php`
- `www/fotoCR.jsp`
- `www/fotoCR-en.jsp`
- `www/fotoCR.jsp`
## Excluded Files
- `www/faceai_simulator.php`
- `www/faceai_simulator_view.php`
- None in this rollout.
## Remote Copy Target
@ -31,7 +28,7 @@ All files in this rollout are deployed from the current working tree.
- Remote host: `marco@83.149.164.4:410`
- Remote staging path: `/home/marco/regalamiunsorriso/incoming/www`
- Remote live path: `/home/sites/regalamiunsorriso/www`
- Total files in this manifest: `5`
- Total files in this manifest: `4`
## Transfer Method