Commit e2de072f by Alexander Kryklia

Fix flaky acceptance test.

parent b1a0cc9d
......@@ -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")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment