Skip to main content
Use the Verify step type for an assertion. Spur has no step type named Check. State the expected result, for example “Verify that the confirmation message is visible.”

Steps to use verify action

1

Type verify

Begin by typing Verify to author a verify action.
Typing Verify to start a verify step
2

Write your assertion

Describe the element or state you want to check.
A verify step describing the element to check
3

Run and view results

After executing your verify action, you can view the result of your assertion.
A passing verify step result

Basic usage

Verify step checking an element is present
Verify step validating page content
Verify step checking element state
Custom verification step example

Common testing flows

Verify step checking form validation
Verify step confirming content loaded
Verify step checking UI state

Best practices

  1. Be Specific: Use clear, specific element descriptions and expected values
  2. Timing: Add appropriate waits before verifications when needed
  3. State Management: Verify important state changes after actions
  4. Multiple Conditions: Combine verifications when needed
example of combined verifications

example of combined verifications

  1. Dynamic Content: Use flexible matching when appropriate
example of flexible matching

example of flexible matching

  1. Complex Validation: Use JavaScript for advanced verification
example of javascript for verification

example of javascript for verification

Troubleshooting

When a verification fails, Spur provides:
  • Detailed error messages
  • Screenshots of the failure state
  • Console logs and network requests
This information helps quickly identify and fix issues in your tests.