Find a project
project list as PROJECT_ID. If your workspace has several pages of projects, pass the returned nextToken to --starting-token or use --max-items to read across pages. To use a project across commands, export TESTSPRITE_PROJECT_ID.
Create a project and its first environment
Create the project first. Copy itsprojectId from the JSON output, then add the URL where your app is running. The first environment becomes the default.
--type backend and give the environment the API’s base URL. For a frontend app running on your machine, start it and use --local <port> when creating the environment. A new project starts without tests. Once the target is ready, ask its agent for the first cases. Creating Tests
Update project settings
--instruction replaces the project’s extra instructions. For frontend projects, list the DOM attributes your app uses for stable element selection in priority order. --clear-test-id-attributes restores the default. To change the app URL or its test account, update the environment. Environments