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/wizard.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'tests/testcases/wizard.py') 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() + -- cgit v1.2.3