improve the reliability of protocol.py when it executes scripts that are meant to click on and close windows (e.g. closeScenarioEndMessage.bat and MoveMouseEnterScenario.ps1)
Because
we currently rely on timing (i.e. sleep) in the scripts themselves to ensure correct timing. This is not always going to be reliable per the discussion in this comment. We need to create a module in protocol.py that will check the existence of the window to be closed, and restart the script to close the window as necessary.
Complexity
Easy to medium
Definition of Done
We have more certainty that when we run scripts that close windows they actually finish and can verify that the windows have been closed
We should
improve the reliability of
protocol.py
when it executes scripts that are meant to click on and close windows (e.g.closeScenarioEndMessage.bat
andMoveMouseEnterScenario.ps1
)Because
we currently rely on timing (i.e.
sleep
) in the scripts themselves to ensure correct timing. This is not always going to be reliable per the discussion in this comment. We need to create a module inprotocol.py
that will check the existence of the window to be closed, and restart the script to close the window as necessary.Complexity
Easy to medium
Definition of Done
We have more certainty that when we run scripts that close windows they actually finish and can verify that the windows have been closed