Commit 85e30622 by JonahStanley

Fixed click to comply to new css_click

parent ce3bc1e1
......@@ -81,8 +81,7 @@ def see_assignment_name(step, do_not, name):
@step(u'I delete the assignment type "([^"]*)"$')
def delete_assignment_type(step, to_delete):
delete_css = '.remove-grading-data'
delete = world.css_find(delete_css)[get_type_index(to_delete)]
delete.click()
world.css_click(delete_css, index=get_type_index(to_delete))
@step(u'I add a new assignment type "([^"]*)"$')
......
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