Skip to main content

Generate a New Feature

Use Describe with the Assistant when you know the behavior to test and want help writing the first draft.

Describe a shopper journey in one plain-English sentence, review the Gherkin the Assistant drafts from it, save the test into its group, then generate the Playwright code and see it verified green against the live app — closing on the generated code itself.

  1. Open Tests and select a group.
  2. Choose New test feature, then Describe with the Assistant.
  3. Describe the starting page, actions, and expected result. You can attach, paste, or drop a screenshot to give more context.
  4. Submit the description and review the drafted instructions.
  5. Edit and Save the test before generating Playwright code.

For example: “From the sign-in page, request a password reset for a test account and verify the confirmation message.” Include the actual field and button labels when you know them. Use project variables and secrets for credentials.

You can also choose Gherkin test or Markdown test to write your own instructions, or accept a suggestion after reviewing its content and verification state.

A draft is not a passing test result. Check the setup, repeatable data, actions, and assertions, then Generate Playwright code or try an Assistant run.