Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--webapp/webapp/features/upload_poll_result.py7
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