Specifying and Testing Web Applications
Oskar Wickström
Code Mesh, November 2020
sleep or waitChange the modality of the sub-expression
Available operators from LTL:
queryOnequeryAllWe must instruct Quickstrom which actions to try
List of weighted probabilities and action specifiers
Array (Tuple Int Action)Comes with predefined actions, e.g. foci, clicks
Often need to carefully pick selectors, actions, and weights
numbersstringsarraystransformersgenerics-repUse the check command:
Origin can be a file:
1. State
• .play-pause
-
- property "textContent" = "Play"
• .time-display
-
- property "textContent" = "00:00"
2. click button[0]
3. click button[0]
4. State
• .play-pause
-
- property "textContent" = "Play"
• .time-display
-
- property "textContent" = "NaN:NaN"
Failed after 1 tests and 4 levels of shrinking.
--max-trailing-state-changes--trailing-state-change-timeout