mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-08 06:18:24 -04:00
fix up
This commit is contained in:
@@ -3686,10 +3686,7 @@ def end_to_end_authenticated_context(browser):
|
||||
login_for_end_to_end_testing(browser)
|
||||
|
||||
auth_state_path = os.path.join(
|
||||
# TODO
|
||||
"playwright/.auth/",
|
||||
"state.json"
|
||||
# os.getenv("NOTIFY_E2E_AUTH_STATE_PATH"), "state.json"
|
||||
os.getenv("NOTIFY_E2E_AUTH_STATE_PATH"), "state.json"
|
||||
)
|
||||
context = browser.new_context(storage_state=auth_state_path)
|
||||
|
||||
|
||||
@@ -21,9 +21,8 @@ def _bypass_sign_in(end_to_end_context):
|
||||
return page
|
||||
|
||||
|
||||
|
||||
def test_add_new_service_workflow(end_to_end_context):
|
||||
#page = end_to_end_context.new_page()
|
||||
# page = end_to_end_context.new_page()
|
||||
page = _bypass_sign_in(end_to_end_context)
|
||||
page.goto(os.getenv("NOTIFY_E2E_TEST_URI"))
|
||||
|
||||
@@ -131,4 +130,3 @@ def test_add_new_service_workflow(end_to_end_context):
|
||||
# Check to make sure that we've arrived at the next page.
|
||||
# Check the page title exists and matches what we expect.
|
||||
expect(page).to_have_title(re.compile("Choose service"))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user