Overzealous changing of find to click

This commit is contained in:
JonahStanley
2013-07-03 11:00:46 -04:00
parent 0689f0b32d
commit 12a7922f89

View File

@@ -26,7 +26,7 @@ def upload_file(_step, file_name):
world.css_click(upload_css)
file_css = 'input.file-input'
upload = world.css_click(file_css)
upload = world.css_find(file_css)
#uploading the file itself
path = os.path.join(TEST_ROOT, 'uploads/', file_name)
upload._element.send_keys(os.path.abspath(path))