From f43e99defd7b484d161c904772e7241c95379d0a Mon Sep 17 00:00:00 2001 From: = <=> Date: Mon, 11 Mar 2019 13:07:08 -0400 Subject: state restart, more options, better click item resiliency #791 --- tests/testcases/state.py | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 tests/testcases/state.py (limited to 'tests/testcases/state.py') 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') + + + + -- cgit v1.2.3