Version: 1.1.0Documentation Index
Fetch the complete documentation index at: https://docs.encoreos.io/llms.txt
Use this file to discover all available pages before exploring further.
Last Updated: 2026-05-13
Purpose: Environment-based credentials and workflows for AI/browser testing.
Credential Policy
Do not store plaintext credentials in this file. Use environment variables instead:TEST_USER_ADMIN_EMAILTEST_USER_ADMIN_PASSWORDTEST_USER_STAFF_EMAILTEST_USER_STAFF_PASSWORDTEST_USER_MANAGER_EMAILTEST_USER_MANAGER_PASSWORDTEST_USER_VIEWER_EMAILTEST_USER_VIEWER_PASSWORD
Login Flow
- Open the app preview or dev URL.
- If already authenticated, continue testing.
- If at
/auth, sign in usingTEST_USER_ADMIN_EMAIL/TEST_USER_ADMIN_PASSWORD. - Verify redirect to an authenticated page.
- Continue with the target workflow.
Standard Browser Testing Workflow
Recommended Scenarios
- Form submission and validation
- CRUD lifecycle
- Navigation and breadcrumbs
- Permission-protected routes
- Mobile/responsive layout
- Cross-module journey transitions
Security Notes
- Use test accounts only.
- Never commit or document raw credentials.
- Never include PHI/PII in prompts, screenshots, or logs.
- Keep tenant isolation and RLS behavior validated during tests.
Troubleshooting
Login Fails
- Confirm env vars are present in the running environment.
- Verify test users exist in the target Supabase project.
- Check browser console and network logs for auth errors.
No Organization Access
- Verify role assignments in
pf_user_role_assignments. - Confirm org/site records exist.
- Verify permissions and RLS policies.
Related Documentation
docs/testing/TESTING_SETUP_AND_RUN.mddocs/testing/SPEC_TEST_COVERAGE.mdAGENTS.mdconstitution.md