Fixed click to comply to new css_click

This commit is contained in:
JonahStanley
2013-06-18 12:51:18 -04:00
parent ce3bc1e1cb
commit 85e3062225

View File

@@ -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 "([^"]*)"$')