Skip to content

Commit

Permalink
address failing tests #3
Browse files Browse the repository at this point in the history
  • Loading branch information
dsego committed Apr 16, 2015
1 parent 1ad4770 commit d09cf2f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions common/test/acceptance/pages/lms/dashboard.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,11 @@ def change_language(self, code):
# Clicking the submit-lang button does a jquery ajax post, so make sure that
# has completed before continuing on.
self.wait_for_ajax()

# wait for /i18n/setlang
self.wait_for_page()

# wait for redirect
self.wait_for_page()

self._changed_lang_promise(code).fulfill()
Expand Down

0 comments on commit d09cf2f

Please sign in to comment.