Generate a New Feature
Start from a feature idea or group and use TestVibe to draft new test intent.
Last updated
Was this helpful?
Start from a feature idea or group and use TestVibe to draft new test intent.
Generate a new feature when you know what behavior you want to cover but do not want to write the first Gherkin draft from scratch.
TestVibe can help turn a user goal into a feature file with scenarios and steps that you can review, edit, and generate into Playwright code.
Prepare:
Target group
The feature needs a place in the Test Suite.
Feature goal
The agent needs a clear behavior to draft.
Target site URL
Generation may inspect or reason about the application.
Test data
The scenario should use repeatable data or explain how to reach it.
Open the Test Suite.
Select the group where the new feature belongs.
Choose the action to create or generate a feature.
Describe the behavior you want to cover.
Confirm the target site URL.
Start generation.
Watch the generation progress view.
Review the generated feature before relying on it.
If TestVibe opens an editable draft first, improve the draft before starting generation.
Good requests are specific:
Create a feature for an admin inviting a new team member and seeing a success message.
Test admin stuff.
Cover filtering invoices by overdue status and verifying only overdue invoices are shown.
Check invoices.
Generate a password reset scenario for a valid email address.
Password reset works.
Include the visible outcome that proves success.
After generation, check:
Feature name
Does it describe the product behavior clearly?
Scenarios
Is each scenario focused on one outcome?
Steps
Are the steps visible and repeatable?
Assertions
Does every scenario prove something with a Then?
Test data
Can the data exist every time the test runs?
Edit the feature before generating Playwright code if the intent is not right yet.
When the feature reads well, continue to Generate Playwright code.
Last updated
Was this helpful?
Was this helpful?
