Adding waitsFor check in the beforeEach method. The condition I'm waiting for here is shamelessly borrowed from bok-choy's wait_for_ajax._is_ajax_finished() method: https://github.com/edx/bok-choy/blob/master/bok_choy/page_object.py#L431 This seems to fix the errors I was able to generate with the set_timeout, which themselves looked ver similar to the failing master tests, so I *think* this will fix our woes, but since I was never able to get the tests to fail exactly the same way I can't be sure. Since there don't seem to be any drawbacks, this is going into mainline as-is and we'll monitor for the sporadic failures over the next few weeks.
Name |
Last commit
|
Last update |
---|---|---|
.tx | Loading commit data... | |
cms | Loading commit data... | |
common | Loading commit data... | |
conf/locale | Loading commit data... | |
docs | Loading commit data... | |
lms | Loading commit data... | |
openedx | Loading commit data... | |
pavelib | Loading commit data... | |
requirements | Loading commit data... | |
scripts | Loading commit data... | |
static | Loading commit data... | |
test_root | Loading commit data... | |
vendor_extra/tinymce | Loading commit data... | |
.coveragerc | Loading commit data... | |
.gitattributes | Loading commit data... | |
.gitignore | Loading commit data... | |
.jshintignore | Loading commit data... | |
.jshintrc | Loading commit data... | |
.ruby-gemset | Loading commit data... | |
.ruby-version | Loading commit data... | |
AUTHORS | Loading commit data... | |
CHANGELOG.rst | Loading commit data... | |
CONTRIBUTING.rst | Loading commit data... | |
Gemfile | Loading commit data... | |
Gemfile.lock | Loading commit data... | |
LICENSE | Loading commit data... | |
README.rst | Loading commit data... | |
circle.yml | Loading commit data... | |
manage.py | Loading commit data... | |
package.json | Loading commit data... | |
pavement.py | Loading commit data... | |
pylintrc | Loading commit data... | |
pylintrc_tweaks | Loading commit data... | |
setup.cfg | Loading commit data... | |
setup.py | Loading commit data... |