More regions for checklist interaction tests

This commit is contained in:
2021-02-14 22:50:22 +00:00
parent c02e2e6bbf
commit 6c9e360927
7 changed files with 236 additions and 24 deletions

View File

@@ -25,14 +25,14 @@ def pytest_configure():
@pytest.fixture
def logged_in_browser(live_server, browser, db):
profile, created = Profile.objects.get_or_create(
profile = Profile.objects.create(
username="EventTest", first_name="Event", last_name="Test", initials="ETU", is_superuser=True)
profile.set_password("EventTestPassword")
profile.save()
login_page = pages.LoginPage(browser.driver, live_server.url).open()
login_page.login("EventTest", "EventTestPassword")
return browser
yield browser
profile.delete()
@pytest.fixture(scope='session')
def splinter_driver_kwargs():