Fix the matcher for the word 'test' in the upload file step of acceptance tests

This commit is contained in:
Jay Zoldak
2013-10-03 16:14:00 -04:00
parent d32611be82
commit 855d5d9e4a

View File

@@ -24,7 +24,7 @@ def go_to_uploads(_step):
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):
upload_css = 'a.upload-button'
world.css_click(upload_css)