Update tests for the advanced policy settings feature.

Includes adding a method for css_click_at.
This commit is contained in:
Jay Zoldak
2013-02-20 14:30:39 -05:00
parent cbc0406df2
commit 05f32f4bc9
4 changed files with 69 additions and 26 deletions

View File

@@ -21,6 +21,11 @@ def wait(step, seconds):
time.sleep(float(seconds))
@step('I reload the page$')
def reload_the_page(step):
world.browser.reload()
@step('I (?:visit|access|open) the homepage$')
def i_visit_the_homepage(step):
world.browser.visit(django_url('/'))