Skip to content

Commit

Permalink
Update import_cases_page.py
Browse files Browse the repository at this point in the history
Fix for india server script failure
  • Loading branch information
kbo001 committed Jul 18, 2024
1 parent f17602b commit 762ee8b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion HQSmokeTests/testPages/data/import_cases_page.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,12 @@ def replace_property_and_upload(self):
self.select_by_text(self.case_type, UserData.case_pregnancy)
self.scroll_to_element(self.create_new_cases)
self.wait_to_click(self.create_new_cases)
time.sleep(2)
self.wait_to_click(self.next_step)
time.sleep(5)
self.scroll_to_element(self.confirm_import)
self.js_click(self.confirm_import)
time.sleep(2)
self.wait_to_click(self.confirm_import)
print("Imported case!")
assert self.is_visible_and_displayed((By.XPATH, self.success.format(self.file_new_name))), "Waitinng to start import. Celery might have a high queue."

Expand Down

0 comments on commit 762ee8b

Please sign in to comment.