Skip to content

Step Parameter Conventions

Beginners: use Creating Tests or Template Steps if you still need the workflow context. This page is the shared placeholder reference for exact step values.

Use this page when you know which step signature you need but need to confirm the expected value format before saving a step or debugging a failure.

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.