Add Error Recovery Options
As a user, I need options to recover from any potential errors so that I don't have to make manual changes to the streaming services.
Acceptance Criteria:
- GIVEN the application
- WHEN looking at the top of the window
-
THEN there is a command bar
-
- WHEN looking at the window's sizing parameters
-
THEN the width is adjusted to 400
-
THEN the height is adjusted to 200
-
- WHEN looking at the top of the window
- GIVEN the command bar
- WHEN looking at the primary controls
-
THEN there is a status button -
AND the button has a label of Status
-
AND the status button has a refresh icon E72C
from the Segoe MDL2 iconset
-
- WHEN looking at the overflow
-
THEN there is one item in the overflow menu -
THEN there is a reset button -
AND the button has a label of Stop & Reset All
-
AND the reset button has a delete icon E74D
from the Segoe MDL2 iconset
-
- WHEN looking at the primary controls
- GIVEN a change in any of the stream service status while the application is already running
- WHEN pressing the status button
-
THEN a new status is fetched and displayed in the status file per the existing conventions -
THEN the status button is disabled until the new status is available -
THEN the reset button is disabled until the new status is available
-
- WHEN pressing the status button
- GIVEN an issue with the start up or shut down of any of the streaming services
- WHEN pressing the restart button
-
THEN the streaming services are stopped, regardless of their current state -
THEN the status button is disabled until the services are stopped -
THEN the reset button is disabled until the services are stopped
-
- WHEN pressing the restart button
- GIVEN any of the services are starting or stopping by using the Turn on/off Streaming button
- WHEN the application is working
-
THEN the status button is disabled until the process is finished -
THEN the reset button is disabled until the process is finished
-
- WHEN the application is working
Edited by Oliver Spryn