mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-10 03:14:58 -04:00
increase debug
This commit is contained in:
@@ -11,6 +11,7 @@ def login_for_end_to_end_testing(browser):
|
||||
context = browser.new_context()
|
||||
page = context.new_page()
|
||||
page.goto(f"{E2E_TEST_URI}/")
|
||||
print(f"PAGE IN CONFTEST IS {page}")
|
||||
|
||||
sign_in_button = page.get_by_role("link", name="Sign in")
|
||||
|
||||
@@ -38,7 +39,7 @@ def login_for_end_to_end_testing(browser):
|
||||
|
||||
# Wait for the next page to fully load.
|
||||
page.wait_for_load_state("domcontentloaded")
|
||||
|
||||
print(f"PAGE ON CONFTEST AFTER SIGNIN IS {page}")
|
||||
# Check for the sign in form elements.
|
||||
# NOTE: Playwright cannot find input elements by role and recommends using
|
||||
# get_by_label() instead; however, hidden form elements do not have
|
||||
|
||||
@@ -164,6 +164,8 @@ def create_new_template(page):
|
||||
def test_create_new_template(authenticated_page):
|
||||
page = authenticated_page
|
||||
|
||||
print(f"PAGE ON ENTER TEST_CREATE_NEW_TEMPLATE IS {page}")
|
||||
|
||||
_setup(page)
|
||||
|
||||
create_new_template(page)
|
||||
|
||||
Reference in New Issue
Block a user