Edit Test Content
Edit Gherkin feature files and generated code from TestVibe, then save changes to your project.
Last updated
Was this helpful?
Edit Gherkin feature files and generated code from TestVibe, then save changes to your project.
You can edit test intent and, when needed, generated code from the selected feature detail view.

Most changes should start in the Gherkin feature file. Regenerate Playwright code after the intent changes meaningfully.
Use the Gherkin editor when you want to change what the test should prove.
Open the Test Suite.
Select a feature.
Open the editor for the feature file.
Update the Feature, Background, Scenario, or steps.
Save the file.
Regenerate Playwright code if the behavior changed.
Saving writes the updated .feature file to your project.
Depending on the screen, you may see options such as:
Save
You want to keep editing or review before generating.
Save and close
You are done editing the feature for now.
Save and generate
You want to save the current feature and immediately start generation.
Cancel or revert
You do not want to keep unsaved edits.
If you have unsaved changes, TestVibe may ask before switching away from the editor.
Generated Playwright code is executable test code. Edit it only when you need a targeted adjustment that is easier to make in code than in Gherkin.
Good reasons to edit generated code:
Small selector fix
A generated locator needs a more stable role or label.
Extra wait or assertion
The app has a known delayed state that should be verified.
Project-specific helper
Your project has a reusable test helper.
Prefer editing Gherkin and regenerating when the expected behavior changed.
The user journey changed
Edit Gherkin, then regenerate.
The expected result changed
Edit Gherkin, then regenerate.
A selector is slightly wrong
Edit generated code or improve Gherkin with visible labels.
The generated code is broadly off
Improve Gherkin and regenerate.
A helper should be reused
Edit generated code if your team owns that helper pattern.
After saving changes:
Generate or regenerate Playwright code if needed.
Run one test first.
Review screenshots, videos, traces, and failure details.
Keep the Gherkin and code aligned.
Last updated
Was this helpful?
Was this helpful?
