Merge pull request #11655 from edx/muddasser-chrome-bokchoy-test_can_add_remove_allowance

Test should wait for ajax calls to finish before checking the changes
This commit is contained in:
Muddasser
2016-02-29 18:46:08 +05:00

View File

@@ -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):