Skip to content

Commit

Permalink
Merge pull request #3149 from edx/alex/fix_flaky_test
Browse files Browse the repository at this point in the history
Fix flaky acceptance test.
  • Loading branch information
auraz committed Apr 3, 2014
2 parents 11d078a + e2de072 commit 80635a9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cms/djangoapps/contentstore/features/upload.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 80635a9

Please sign in to comment.