Test signed-in users and roles
Most bugs hide behind a sign-in, and many are about who can do what. Give testers a test account for each role that matters, and they'll test as each of them, including what a role shouldn't be able to reach.
Add a role
Add a manager test account to QailaClaude adds the role to qaila/qaila.config.json. The config names environment variables, never the details themselves:
"login": { "route": "/sign-in" },
"roles": {
"anonymous": null,
"customer": { "email": "env:QAILA_CUSTOMER_EMAIL", "password": "env:QAILA_CUSTOMER_PASSWORD" },
"manager": { "email": "env:QAILA_MANAGER_EMAIL", "password": "env:QAILA_MANAGER_PASSWORD" }
}anonymous is the signed-out visitor. Use dedicated test accounts, not real people's: testers change data as they go.
Where the passwords go
Emails and passwords go in qaila/.env, one NAME=value per line. Git ignores that file. If your repository has seed accounts, Claude copies them in without repeating them in the chat. Otherwise it asks you to add them yourself, or, if you agree, creates accounts in your local database.
In CI, the same names become secrets of your pipeline (Run Qaila every night in CI).
How testers sign in
Testers never see the passwords. When a tester needs to act as a role, Qaila fills in the sign-in form for it, and the tester carries on signed in.
Qaila finds the email and password fields on its own. If your sign-in form is unusual, Claude adds the selectors for its fields and button to login in the config.
Check every sign-in
Check Qaila can sign in as every roleThe environment check signs in as each role and reports which fail and why: a wrong password, a missing variable, a form it couldn't fill. After adding a role, map the app again so the map shows what that role can reach.
From the terminal: qaila preflight