Test should wait for ajax calls to finish before checking the changes
This commit is contained in:
@@ -839,6 +839,7 @@ class SpecialExamsPageAllowanceSection(PageObject):
|
||||
self.q(css='input#user_info').fill(username)
|
||||
self.q(css="input#addNewAllowance").click()
|
||||
self.wait_for_element_absence("div.modal div.modal-header", "Popup should be hidden")
|
||||
self.wait_for_ajax()
|
||||
|
||||
|
||||
class SpecialExamsPageAttemptsSection(PageObject):
|
||||
|
||||
Reference in New Issue
Block a user