diff options
| author | = <=> | 2019-03-11 13:07:08 -0400 |
|---|---|---|
| committer | = <=> | 2019-03-11 13:07:08 -0400 |
| commit | f43e99defd7b484d161c904772e7241c95379d0a (patch) | |
| tree | 18d3f8a9dc85a8777453d64a7890b50159eb5262 /tests/testcases/state.py | |
| parent | 5973dc639ce9d1dfda927562683d6a3d09760653 (diff) | |
state restart, more options, better click item resiliency #791
Diffstat (limited to 'tests/testcases/state.py')
| -rw-r--r-- | tests/testcases/state.py | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/testcases/state.py b/tests/testcases/state.py new file mode 100644 index 00000000..108cf29f --- /dev/null +++ b/tests/testcases/state.py @@ -0,0 +1,21 @@ +''' +Validates State view +''' + +import common as c +from time import sleep +import app + +def run_tests(self): + app.tap_menu_js() + c.log ('Validating state with restart') + c.click_item('testaut_menu_state') + c.click_item('testaut_state_restart_button') + c.click_popup(save_screenshot=True, save_screenshot_file='state-restart-prompt.png') + # Wait for state change to show + sleep(2) + c.take_screenshot(None,'state-after-restart.png') + + + + |
