Skip to content

Step Parameter Conventions

Use this page as the base reference for all built-in step signatures.

PlaceholderExpected dataNotes
{string}Text valueMeaning depends on context (locator name, URL, variable name, literal text, route).
{int}Whole numberUsed for durations such as seconds.
{boolean}true or falseUse lowercase booleans in step values.
ContextExpected valueExample
Locator nameExisting locator key from AppraiseJS locatorsloginButton
Variable nameRuntime variable key in test worldgeneratedEmail
URLAbsolute URLhttps://example.com/login
RouteRelative route segment or path/dashboard
Literal textExact or partial expected text contentWelcome back
Dropdown optionOption value or label resolvable by Playwright selectOptionadmin
  • Keep locator names stable and human-readable.
  • Keep variable names descriptive (userEmail, otpCode).
  • Avoid hard-coded waits when element/route waits are available.
  • Prefer deterministic assertions before broad text checks.