Knowing how far to trust the price
The dot next to the price tells you how current it is. This tutorial follows a price from live to late to missing, and shows what each state means for you.
Make the test provider send prices late.
The price has an amber dot and says when it was last updated.
Screenshot to come. Switch the test provider off.
The price is replaced by the message "Prices unavailable" and a Retry button.
Screenshot to come. Switch the test provider back on and tap Retry.
The price has a green dot.
Screenshot to come.
Learn more
How this is tested not run
This tutorial is also an acceptance test. Its report has every step, check and screenshot from the last run.
The user story: As a tea drinker, I want to see when the price is old, so that I do not wait for, or rely on, a price that has already changed.
When the feed falls behind Then the price feed is delayed When the feed stops answering Then the price feed is unavailable When the feed answers again Then the price feed is live