For the complete documentation index, see llms.txt. This page is also available as Markdown.

Generate Tests With AI

Use AI generation to turn TestVibe feature intent into generated Gherkin, Playwright code, and runnable browser tests.

AI generation helps you turn readable test intent into runnable browser automation.

In TestVibe, generation usually starts from a Gherkin feature or a new feature idea. The selected AI agent uses your instructions, target site, and project settings to create or update test output in your project.

What You Can Generate

What AI Generation Does

It can help with
What that means

Drafting feature behavior

Turn a user goal into clearer Gherkin scenarios.

Generating Playwright code

Create executable browser automation from saved test intent.

Using target site context

Inspect or interact with the site while building the test.

Producing progress evidence

Show sections, steps, screenshots, run status, and generated paths.

Iterating on tests

Regenerate after you improve the instructions or setup.

What AI Generation Does Not Replace

AI generation does not remove the need to review tests.

You still decide:

  • whether the Gherkin describes the right behavior

  • whether the generated code checks the right outcome

  • whether test data and credentials are safe and repeatable

  • whether a failure means the app is broken, the test is wrong, or the setup is incomplete

Before You Generate

Make sure the project has:

Requirement
Why it matters

Saved feature intent

Generation needs clear behavior to turn into code.

Target site URL

The agent and the cloud test session need a site to inspect or run against.

Available credits

Generation runs on TestVibe’s metered AI service and stops when the balance runs out.

Site reachability

The cloud test session must be able to reach the target site.

Start Here

New to generation? Read How AI generation works, then continue to Generate Playwright code.

Last updated

Was this helpful?