Skip to content

Test Cases

A test case is a single scenario composed of ordered template steps.

Test cases are where reusable assets become a specific business scenario. Environments and modules still need to exist before you create a test case, because suites belong to modules and environments help with locator creation. From the test case form, you can create or select suites and tags, then build steps in the flow builder. When a step needs a locator, create it from the node addition sidebar or select an existing locator.

  • Modules -> groups for test suites
  • Environments -> test environment configurations, such as base URLs and API routes. Environments are not required to fill out test case metadata, but they are helpful when creating locators from the builder.
  • Test suites -> groups for test cases

The test case creation process has two parts:

  • Test case metadata -> setting the test case title, description, test suite, and tags
  • Test case flow -> a flow builder for building tests visually so users can create automated tests with less friction
  1. Go to Test Cases -> Create.
  2. Add title (min 3 chars) and description.
  3. Select an existing test suite or create one from the test case form.
  4. Optionally select existing tags or create tags from the same flow.
  5. Build the flow in the flow builder.
  6. Add steps from the node addition sidebar.
  7. Create or select locators from the node addition sidebar when a step needs one.
  8. Fill required parameters for each step.
  9. Save.

Here is a demo of the test case editor in action.

Before saving, confirm that the case has:

  • A navigable flow from start to input, click, and assertion steps
  • No missing parameters
  • A live Gherkin preview updating from the flow
  • Suite, tags, and any needed locators created or selected without leaving the creation flow

Here are screenshots of a completed test case form.

Completed test case flow Completed test case step configuration
  • Title: Valid login shows welcome banner
  • Suite: Auth Smoke under Authentication
  • Tags: @smoke, @auth
  • Steps: navigate, fill email, fill password, click submit, assert banner visible

The flow builder includes helper tools that make test scenarios easier to define and review. Blocks, search, and full-screen mode also make the intent of a flow easier to understand when it is shared with teammates.

Use blocks to group related nodes, such as login setup, form submission, and post-login assertions. Blocks make larger flows easier to scan and help reviewers understand which nodes belong to the same intent.

Use search to find existing nodes quickly when reviewing, editing, or fixing a flow. This is especially useful when a case has many actions and assertions.

Use full-screen mode when a complex flow needs more working space. It gives the flow builder more room while you add nodes, connect steps, and inspect parameters.

  • Keep one business outcome per test case.
  • Use clear step labels and stable locator references.
  • Use blocks when related nodes should be understood together.
  • Use search before manually scanning a large flow.
  • Use full-screen mode when the builder needs more working space.
  • Use template test cases for repeated patterns.