From 83d3b1684fe1c50c427f3433b0889f40d729174c Mon Sep 17 00:00:00 2001 From: Beverly Nguyen Date: Wed, 26 Jun 2024 16:59:12 -0700 Subject: [PATCH] removed commented preview button --- tests/end_to_end/test_accounts_page.py | 2 ++ .../end_to_end/test_send_message_from_existing_template.py | 6 ------ 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/tests/end_to_end/test_accounts_page.py b/tests/end_to_end/test_accounts_page.py index b6fe8c5ac..591c3eb7c 100644 --- a/tests/end_to_end/test_accounts_page.py +++ b/tests/end_to_end/test_accounts_page.py @@ -21,6 +21,8 @@ def test_add_new_service_workflow(authenticated_page, end_to_end_context): # Check to make sure that we've arrived at the next page. page.wait_for_load_state("domcontentloaded") + print(page.url) + print(page.title()) # Check to make sure that we've arrived at the next page. # Check the page title exists and matches what we expect. diff --git a/tests/end_to_end/test_send_message_from_existing_template.py b/tests/end_to_end/test_send_message_from_existing_template.py index 7b5a64ac4..53b98be55 100644 --- a/tests/end_to_end/test_send_message_from_existing_template.py +++ b/tests/end_to_end/test_send_message_from_existing_template.py @@ -256,12 +256,6 @@ def handle_existing_template_case(page): # Check to make sure that we've arrived at the next page. page.wait_for_load_state("domcontentloaded") - # preview_button = page.get_by_text("Preview") - # expect(preview_button).to_be_visible() - # preview_button.click() - - # # Check to make sure that we've arrived at the next page. - # page.wait_for_load_state("domcontentloaded") send_button = page.get_by_role("button", name="Send") expect(send_button).to_be_visible()