From 396459be676b4dd4c831b5fedd8b118534a4c770 Mon Sep 17 00:00:00 2001 From: Kenneth Kehl <@kkehl@flexion.us> Date: Mon, 9 Jun 2025 12:18:38 -0700 Subject: [PATCH] try to solve async issues --- tests/end_to_end/test_create_new_template.py | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/tests/end_to_end/test_create_new_template.py b/tests/end_to_end/test_create_new_template.py index 022eb5e63..07c9ba2be 100644 --- a/tests/end_to_end/test_create_new_template.py +++ b/tests/end_to_end/test_create_new_template.py @@ -83,16 +83,13 @@ def create_new_template(page): # Check to make sure that we've arrived at the next page. page.wait_for_load_state("domcontentloaded") - # TODO FIX THIS IMMEDIATELY preview_button = page.get_by_text("Preview") - # assert await preview_button.evaluate("el => el.tagName") == "BUTTON" - - # expect(preview_button).to_be_visible() - # preview_button.click() + 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") - # check_axe_report(page) + page.wait_for_load_state("domcontentloaded") + check_axe_report(page) # We are not going to send the message for this test, we just want to confirm # that the template has been created and we are now seeing the message from the