Skip to main content

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
plan
2

Regenerate Test Code

Regenerate the test code to incorporate the imported tests. TestSprite will reference them during code generation and execution
Example Prompt
Import these UI tests and add them to the TestSprite frontend testing plan, 
then regenerate the test code and run it.
3

Run

Execute like any other plan. Results and reports will include both generated and imported tests

Best Practices

Keep imported tests in your repo so the runner can access them
If needed, map environment variables/credentials in the TestSprite portal
Use consistent naming so maintenance is straightforward

Create Tests for New Projects

Learn how to create tests for new projects

Create Tests for New Change

Learn how to create tests for new features and changes

Modify or Update Tests

Learn how to modify and update existing tests

MCP Tools Reference

Reference guide for MCP tools and commands