Shared Steps
Create reusable steps that can be inserted into any test
A shared step is a named, reusable step that can be referenced from any test in the project. When you update a shared step, every test that uses it picks up the change automatically.
The Library
Click Shared Steps in the main sidebar to open the library. It lists every shared step in the current project with columns for Name, Type, Category, and Created. Click a row to open the shared step detail page.
Creating a Shared Step
The primary way to create a shared step is from inside the test editor: select a step and click Share selected step in the toolbar. The step is marked as shared and appears in the library; the test keeps using the same step.
Editing a Shared Step
- Click the step in the library list to open the detail page.
- Edit the fields.
- Click Save.
For group steps, the detail page has two tabs: Group Details (edit the group and its child steps) and Referenced Tests (lists every test that uses the group, with a View Test link for each).
For non-group steps, the detail page shows the edit form and a list of tests that use the step side by side.
Deleting a Shared Step
Click the Delete button on the shared step detail page.
For non-group steps: if the step is referenced by any test, the dialog updates to show the blocking tests with View Test links. Remove the step from those tests before deleting.
For group steps: if the step is referenced by any test, a toast error lists the blocking tests by name.
Deleting a shared step is permanent and cannot be undone.
Inserting a Shared Step into a Test
In the test editor, open the step sidebar and choose the Shared Steps tab, then select a step from the list.