Merge pull request #3149 from edx/alex/fix_flaky_test

Fix flaky acceptance test.
This commit is contained in:
Alexander Kryklia
2014-04-03 12:20:42 +03:00

View File

@@ -26,8 +26,7 @@ def go_to_uploads(_step):
@step(u'I upload the( test)? file "([^"]*)"$')
def upload_file(_step, is_test_file, file_name):
upload_css = 'a.upload-button'
world.css_click(upload_css)
world.click_link('Upload New File')
if not is_test_file:
_write_test_file(file_name, "test file")