This is a step by step guide on how to test the entire functionality of the app (aka end to end testing aka e2e)
| Step | Test Description | Anything unexpected happen? |
|---|---|---|
| 1 | Ensure previous instances of the app have been closed / killed first | |
| • Under the developer menu (within more) hit “reset preference” force close and start again. | ||
| • If you don’t have a current valid forecast you can use the “time machine” under the developer menu to run e2e tests. | ||
| App opens as expected and you have the option to choose your avalanche center. | ||
| • Your center is available | ||
| • The language is what you’d expect | ||
| • Colors are what you’d expect | ||
| 2 | App opens as expected on the default forecast map | |
| • Zones load correctly | ||
| • Zone color is what is expected (according to current forecast) | ||
| • Nothing else is yet loaded on the map | ||
| 3 | Select any 1 zone on the map | |
| • Avalanche card appears with expected data such as when the forecast was published, when it expires (should be 24 hour window), travel advice, correct zone name and forecast | ||
| 4 | Test Card functionality |