summaryrefslogtreecommitdiff
path: root/tests/testcases/state.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testcases/state.py')
-rw-r--r--tests/testcases/state.py21
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')
+
+
+
+