Commit 1e8163e2 by Muddasser

Test should wait for ajax calls to finish before checking the changes

parent 0251e8e1
...@@ -839,6 +839,7 @@ class SpecialExamsPageAllowanceSection(PageObject): ...@@ -839,6 +839,7 @@ class SpecialExamsPageAllowanceSection(PageObject):
self.q(css='input#user_info').fill(username) self.q(css='input#user_info').fill(username)
self.q(css="input#addNewAllowance").click() self.q(css="input#addNewAllowance").click()
self.wait_for_element_absence("div.modal div.modal-header", "Popup should be hidden") self.wait_for_element_absence("div.modal div.modal-header", "Popup should be hidden")
self.wait_for_ajax()
class SpecialExamsPageAttemptsSection(PageObject): class SpecialExamsPageAttemptsSection(PageObject):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment