The Simple Path
Already have tests (e.g., Playwright, Cypress, Jest, Postman collections)? You don’t need to rewrite them.1
Add to Test Plan
Include your existing tests in the TestSprite test plan alongside generated ones

Keep the same IDs/titles where possible for clarity

2
Regenerate Test Code
Regenerate the test code to incorporate the imported tests. TestSprite will reference them during code generation and execution
Example Prompt
3
Run
Execute like any other plan. Results and reports will include both generated and imported tests
Best Practices
Keep Tests in Repository
Keep Tests in Repository
Keep imported tests in your repo so the runner can access them
Map Environment Variables
Map Environment Variables
If needed, map environment variables/credentials in the TestSprite portal
Use Consistent Naming
Use Consistent Naming
Use consistent naming so maintenance is straightforward