Commit daf5ef14 by JonahStanley

Fixed weird issue of needed to sometimes first find then click instead of css_click

parent e843f80e
...@@ -84,7 +84,8 @@ def click_on_section(step, section): ...@@ -84,7 +84,8 @@ def click_on_section(step, section):
subid = "ui-accordion-accordion-panel-" + str(int(section) - 1) subid = "ui-accordion-accordion-panel-" + str(int(section) - 1)
subsection_css = 'ul[id="%s"]> li > a' % subid subsection_css = 'ul[id="%s"]> li > a' % subid
world.css_click(subsection_css) #for some reason needed to do it in two steps
world.css_find(subsection_css).click()
@step(u'I click on subsection "([^"]*)"$') @step(u'I click on subsection "([^"]*)"$')
......
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