Troubleshooting
Fixes for common Testis problems: install and PATH errors, browser and dev server issues, AI model keys, credits and cloud sign-in.
First, run testis doctor. It checks Node, the browser and your project, and says what to fix.
Install#
testis: command not found after npm install -g @testisdev/cli. npm's global folder is not on your PATH. Run npm prefix -g and add its bin folder to your PATH, or open a new terminal.
Node is too old. Testis needs Node 22 or newer. Install a current version (a version manager such as nvm, fnm or volta makes this easy) and reinstall the CLI.
testis update fails with EACCES. Global installs were made with administrator rights. Install Node with a version manager instead of using sudo, then reinstall.
Interactive command-line tests fail to install on Linux. They use the node-pty module, which is compiled on install. Install a compiler (sudo apt install build-essential on Debian and Ubuntu) and reinstall.
Testing#
"Chromium not found" or the browser does not start. Run testis install-browsers. On a fresh Linux machine the browser also needs system libraries: npx playwright-core install --with-deps chromium installs both.
The app did not start. Check devCommand in .testis/config.yaml by running it yourself. If it takes long to start, raise readyTimeoutMs; if its address differs from baseUrl, set readyUrl. If you start the app yourself, use testis test --no-start. A port that is already in use is the usual cause when the app starts but the tests cannot reach it.
The tester reports something that is not a bug. First check your PRD: a short one leaves the tester guessing, and guesses become false alarms. Write a detailed one with the prompt. Then read its quote and steps in the report: often the PRD says one thing and the app another (then the PRD or the app needs changing), or the tester set something up differently from what the check meant. A stronger AI model makes fewer of these mistakes; see AI models.
A lot was "not reached". The run hit its time limit or a hard part of the app. Test that part on its own: testis test "the checkout", or give it longer with --minutes.
"Could not be checked" for part of the app. It needs something outside the app (an email inbox, another company's payment page). If it should be reachable, say how in your PRD (for example how to get to a sold-out product).
Missing variable or secret. The tester typed {{NAME}} but the environment does not define it. Add it under variables, or under secretRefs and set that environment variable in your shell or CI.
AI#
"No model is configured." Run testis setup, or testis models use --all <provider>/<model>.
The key is rejected or the model does not answer properly. testis models test tries each model and says what is wrong.
Hosted credit ran out, or a provider's quota did. Top up in the dashboard, or set a fallback model with testis models fallback <provider/model>. testis credits shows your balance.
The agent did something odd. Press Esc to stop it. Everything it saves is in .testis/ and is plain text you can read, edit or delete; git diff shows what changed.
Cloud#
testis login cannot reach the server. Check your connection and testis whoami. Behind a proxy, set your usual proxy variables. If your organisation hosts its own, pass --api-url.
Runs do not appear in the dashboard. You need to be signed in and the project linked (testis link). --no-sync and cloud: { sync: false } turn uploading off. Look at testis whoami, and check you are looking at the same workspace.
A CLI in CI says it is too old. Update it (npm install --global @testisdev/cli@latest) or pin a newer version.
Windows#
Use PowerShell or Windows Terminal. Testis supports Windows, including interactive command-line tests. If a command is not found after installing, open a new terminal so the PATH refreshes.
Still stuck#
- Is the service up? See the status page.
- Write to hello@testis.dev with the output of
testis --version,testis doctorand what you ran. Never include your keys.
Something unclear or wrong? Write to hello@testis.dev.