Steps
How steps work in SmoothDeploy, how to add them, available action groups, and how to control execution with conditions
Steps are the building blocks of every test. Each step contains one action — a discrete operation such as clicking an element, filling a field, or asserting a value.
Adding Steps
Steps are added in the step sidebar inside the Test Editor. Opening the sidebar presents a form headed "Add Step" with two tabs:
- Built-in Steps — pick any action type from the searchable combobox and configure it.
- Shared Steps — insert a previously created shared step from the searchable list.
After configuring the action fields, click Add Step to append the step to the test. To edit an existing step, select it in the sidebar; the submit button changes to Save.
Action Type Groups
Action types are selected from the searchable combobox on the Built-in Steps tab. It is one list, with the most common actions first. The set is fixed; you cannot define new action types. The docs split the list in two pages:
- Built-in Steps: the core Playwright-backed actions such as clicking, filling, asserting text and navigating.
- More Built-in Steps: scrolling, fetching HTTP endpoints, extracting text, generating test data, and others.
Fields Common to All Steps
Every step in the editor exposes:
| Field | Description |
|---|---|
| Continue on Failure | When checked, a failure does not abort the test. The step shows as a warning in the run results with its error, and the test can still pass. |
| Named Step (test.step) | When checked, the step is wrapped in a named entry, which shows as a named entry in test reports. |
| Run with Condition | Collapsed section that controls when the step executes. See Conditions below. |
Many action types also expose a Timeout (Milliseconds) field (default 0, which means no timeout).
Conditions
Every step has a Run with Condition section. Expand it to choose one of five condition types.
| Condition Type | Label in UI | Behavior |
|---|---|---|
always-run | Always run | The step always executes. This is the default. |
skip | Skip step | The step is always skipped. |
condition | Custom condition | The step runs only if a JavaScript expression returns a truthy value. Exposes a JavaScript Code field. |
element-visibility | Element visibility | The step runs only if the visibility check passes. Exposes Playwright Locator, Element Is Visible checkbox, and Timeout (Milliseconds). |
element-text | Element text | The step runs only if a text check passes. Exposes Playwright Locator, Expected Text, Element Should Have This Text checkbox, and Timeout (Milliseconds). |
A funnel icon appears next to Run with Condition whenever any condition other than Always Run is active.
Next Steps
Screenshot Comparison
Compare each Playwright step screenshot against its baseline side by side and promote the run image to a new baseline.
Built-in Steps
The test editor has 49 built-in step types. This page covers the core Playwright actions: click, fill, hover, navigate, press, select, and assertions.