summaryrefslogtreecommitdiff
path: root/tests/testcases/wizard.py
diff options
context:
space:
mode:
author= <=>2019-03-11 13:07:08 -0400
committer= <=>2019-03-11 13:07:08 -0400
commitf43e99defd7b484d161c904772e7241c95379d0a (patch)
tree18d3f8a9dc85a8777453d64a7890b50159eb5262 /tests/testcases/wizard.py
parent5973dc639ce9d1dfda927562683d6a3d09760653 (diff)
state restart, more options, better click item resiliency #791
Diffstat (limited to 'tests/testcases/wizard.py')
-rw-r--r--tests/testcases/wizard.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/tests/testcases/wizard.py b/tests/testcases/wizard.py
index 0bcbe4a0..9f3e2f3d 100644
--- a/tests/testcases/wizard.py
+++ b/tests/testcases/wizard.py
@@ -51,14 +51,17 @@ def run_tests(self, isFirstRun = False):
self.assertEqual(api_color,success_color)
# Wait for bit for cgi-bin. Don't really care, but hey if we catch it, cool
- sleep(3)
+ sleep(5)
c.take_screenshot(None,'wizard-detection-results.png')
+
c.click_item('testaut_wizard_goto_login')
c.click_item('testaut_settings_save')
# discard the popup and get to sane state
- c.click_popup(save_screenshot=True, save_screenshot_file='./screenshots/wizard-save-report.png')
- sleep(3)
+ c.click_popup(save_screenshot=True, save_screenshot_file='wizard-save-report.png')
+ # we need this because at the end of wizard, it shows the menu,
+ # so close it
app.tap_menu_js()
+