The shape of a test
The structure of a Drizz test: one instruction per line, five beats, and the command palette that lists everything Drizz understands.
Prerequisites
Copy this
# T04 — Search and add to cart
CALL login_module
Tap on the search icon
Wait Until 2 Seconds
Type running shoes in the search field
Tap on the first search result
Wait Until 3 Seconds
Validate that the product detail page is visible
Store the price as listed_price
Tap on Add to Cart
Wait Until 2 Seconds
Validate that Item added to cart is visible
CLEAR_APP com.shopease.androidWrite a test
The five beats
Beat
What it does
Commands
Writing the lines
Rule
Detail
Common mistakes
What you wrote
What happens
Next
Last updated
Was this helpful?