Is there an easy way for me to send a warning to console if an action takes longer than a specific amount of time, but only fail if it meets my default timeout?
For example, clicking a button that increases quantity in cart, then asserting a change in the quantity #.
- If the quantity # doesn't update within 2 seconds, warn in console.
- If the quantity # doesn't update 6 seconds later (for 8 second global default timeout), fail test step