This commit is contained in:
Kenneth Kehl
2024-03-27 12:15:44 -07:00
parent f6f750e5d0
commit a85681252f

View File

@@ -86,31 +86,24 @@ def create_new_template(page):
# Check to make sure that we've arrived at the next page.
page.wait_for_load_state("domcontentloaded")
print(page.content())
send_messages_button = page.get_by_role("button", name="Send messages")
expect(send_messages_button).to_be_visible()
send_messages_button = page.get_by_role("link", name="Send messages")
# expect(send_messages_button).to_be_visible()
send_messages_button.click()
# Check to make sure that we've arrived at the next page.
page.wait_for_load_state("domcontentloaded")
print(page.content())
create_template_button = page.get_by_text("Create your first template")
create_template_button = page.get_by_role("button", name="New template")
expect(create_template_button).to_be_visible()
create_template_button.click()
# Check to make sure that we've arrived at the next page.
page.wait_for_load_state("domcontentloaded")
new_template_button = page.get_by_text("New template")
expect(new_template_button).to_be_visible()
new_template_button.click()
# Check to make sure that we've arrived at the next page.
page.wait_for_load_state("domcontentloaded")
start_with_a_blank_template_radio = page.get_by_text("Start with a blank template")
expect(start_with_a_blank_template_radio).to_be_visible()
start_with_a_blank_template_radio.click()