SmoothDeploy Docs
Steps

Built-in Steps

Reference for all 15 built-in action types available when creating a step in the test editor

Built-in steps are the core Playwright-backed action types available on the Built-in Steps tab when creating a step. There are 15 of them.

Assert Checked

Asserts that a checkbox or radio button is in a checked or unchecked state.

FieldDefaultNotes
Selector—Playwright locator for the element
CheckedoffWhen on, asserts the element is checked; when off, asserts unchecked
Soft AssertionoffWhen on, a failure does not abort the test
Timeout (milliseconds)00 means no timeout

Assert Snapshot

Asserts that the ARIA accessibility tree of an element matches an expected snapshot.

FieldDefaultNotes
Selector—Playwright locator for the element
Aria Snapshot—Expected ARIA tree as text
Soft AssertionoffWhen on, a failure does not abort the test
Timeout (milliseconds)00 means no timeout

Assert Text

Asserts that an element's text matches an expected value.

FieldDefaultNotes
Selector—Playwright locator for the element
Text—Expected text; wrap in /slashes/ to use regex
Substring MatchoffWhen on, uses toContainText instead of exact toHaveText
Use Inner TextoffWhen on, uses element.innerText instead of textContent
Soft AssertionoffWhen on, a failure does not abort the test
Timeout (milliseconds)00 means no timeout

Assert Value

Asserts that an input element's value equals an expected string.

FieldDefaultNotes
Selector—Playwright locator for the element
Value—Expected value
Soft AssertionoffWhen on, a failure does not abort the test
Timeout (milliseconds)00 means no timeout

Assert Visible

Asserts that an element is visible on the page.

FieldDefaultNotes
Selector—Playwright locator for the element
Soft AssertionoffWhen on, a failure does not abort the test
Timeout (milliseconds)00 means no timeout

Check

Checks a checkbox or radio button.

FieldDefaultNotes
Selector—Playwright locator for the element
Timeout (milliseconds)00 means no timeout

Click

Clicks an element.

FieldDefaultNotes
Selector—Playwright locator for the element
Buttonleftleft, right, or middle
Click Count1Number of clicks
Timeout (milliseconds)00 means no timeout

Close Page

Closes the current browser page. Has no configuration fields.

Fill

Fills text into an input field.

FieldDefaultNotes
Selector—Playwright locator for the element
Text—Text to fill into the field
Blur after filloffWhen on, triggers a blur event after filling
Timeout (milliseconds)00 means no timeout

Hover

Moves the pointer over an element.

FieldDefaultNotes
Selector—Playwright locator for the element
Use Mouse Over EventsoffWhen on, fires mouseover/mouseenter events
Timeout (milliseconds)00 means no timeout

Navigates to a URL.

FieldDefaultNotes
URL—Target URL or path
Wait UntilDefault (load)Options: Default (load), load, domcontentloaded, networkidle, commit. Default (load) leaves the option unset so Playwright's default (load) applies.
Referer—Optional value for the HTTP Referer header
Timeout (milliseconds)00 means no timeout

Press

Presses a keyboard key or key combination on an element.

FieldDefaultNotes
Selector—Playwright locator for the element
Key—Key name, e.g. Enter, Escape, Tab
Modifiers—Checkboxes: Alt, Control, Meta, Shift, ControlOrMeta
Timeout (milliseconds)00 means no timeout

Select

Selects one or more options from a <select> element.

FieldDefaultNotes
Selector—Playwright locator for the element
Options—Option values or labels to select, one per line
Timeout (milliseconds)00 means no timeout

Set Input Files

Uploads files to a file input element.

FieldDefaultNotes
Selector—Playwright locator for the file input or the element that opens the file dialog
Files—Files to attach
Click to open file chooseroffWhen on, clicks the selector to open the native file dialog; when off, the selector must be input[type=file]
Timeout (milliseconds)00 means no timeout

Uncheck

Unchecks a checkbox.

FieldDefaultNotes
Selector—Playwright locator for the element
Timeout (milliseconds)00 means no timeout