Commit 23dd1661 by Jay Zoldak

Merge pull request #1218 from edx/zoldak/fix-file-matcher

Fix the matcher for the word 'test' in the upload file step of tests
parents d32611be 855d5d9e
...@@ -24,7 +24,7 @@ def go_to_uploads(_step): ...@@ -24,7 +24,7 @@ def go_to_uploads(_step):
world.css_click(uploads_css) world.css_click(uploads_css)
@step(u'I upload the( test?) file "([^"]*)"$') @step(u'I upload the( test)? file "([^"]*)"$')
def upload_file(_step, is_test_file, file_name): def upload_file(_step, is_test_file, file_name):
upload_css = 'a.upload-button' upload_css = 'a.upload-button'
world.css_click(upload_css) world.css_click(upload_css)
......
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