mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-07-13 09:32:26 +03:00
Remove click: djHideToolBarButton step and put it in load_website.
This commit is contained in:
parent
a5e127b9a1
commit
4490d08659
|
@ -118,6 +118,7 @@ class ExecutionEngine(hitchtest.ExecutionEngine):
|
||||||
def load_website(self):
|
def load_website(self):
|
||||||
"""Navigate to website in Firefox."""
|
"""Navigate to website in Firefox."""
|
||||||
self.driver.get(self.services['Django'].url())
|
self.driver.get(self.services['Django'].url())
|
||||||
|
self.click("djHideToolBarButton")
|
||||||
|
|
||||||
def fill_form(self, **kwargs):
|
def fill_form(self, **kwargs):
|
||||||
"""Fill in a form with id=value."""
|
"""Fill in a form with id=value."""
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
- name: Sign up and log in
|
- name: Sign up and log in
|
||||||
scenario:
|
scenario:
|
||||||
- Load website
|
- Load website
|
||||||
- Click: djHideToolBarButton
|
|
||||||
- Click: sign-up-link
|
- Click: sign-up-link
|
||||||
- Fill form:
|
- Fill form:
|
||||||
id_username: testuser
|
id_username: testuser
|
||||||
|
|
Loading…
Reference in New Issue
Block a user