diff options
author | Rogelio Mita <rogeliomita@activitycentral.com> | 2013-10-04 17:04:49 (GMT) |
---|---|---|
committer | Rogelio Mita <rogeliomita@activitycentral.com> | 2013-10-04 17:04:49 (GMT) |
commit | 5b13ca2e4fdaa4d8d0c23b10d6eb94268ca35672 (patch) | |
tree | 23e5df869c6b5d5e27d93da6805ffc2cbc9c88cb | |
parent | db9b371f271c05cfe8f886f060aae822b4b23286 (diff) |
New step when_i_upload_loaded_files
-rw-r--r-- | webapp/webapp/features/upload_poll_result.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/webapp/webapp/features/upload_poll_result.py b/webapp/webapp/features/upload_poll_result.py index 715422b..b200c5a 100644 --- a/webapp/webapp/features/upload_poll_result.py +++ b/webapp/webapp/features/upload_poll_result.py @@ -39,6 +39,13 @@ def load_file_name(step, file_name): load_file(b, file_name) +@step(u'When I upload loaded files') +def when_i_upload_loaded_files(step): + b = world.browser + xpath = '/html/body/div/div[2]/form/div[1]/div/button' + click_on_by_xpath(b, xpath) + + @step(u'I upload "([^"]*)"') def upload_file_name(step, file_name): b = world.browser |