mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-08 03:48:25 -04:00
fix
This commit is contained in:
@@ -86,31 +86,24 @@ def create_new_template(page):
|
|||||||
|
|
||||||
# Check to make sure that we've arrived at the next page.
|
# Check to make sure that we've arrived at the next page.
|
||||||
page.wait_for_load_state("domcontentloaded")
|
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()
|
send_messages_button.click()
|
||||||
|
|
||||||
# Check to make sure that we've arrived at the next page.
|
# Check to make sure that we've arrived at the next page.
|
||||||
page.wait_for_load_state("domcontentloaded")
|
page.wait_for_load_state("domcontentloaded")
|
||||||
|
print(page.content())
|
||||||
|
|
||||||
|
|
||||||
|
create_template_button = page.get_by_role("button", name="New template")
|
||||||
create_template_button = page.get_by_text("Create your first template")
|
|
||||||
expect(create_template_button).to_be_visible()
|
expect(create_template_button).to_be_visible()
|
||||||
create_template_button.click()
|
create_template_button.click()
|
||||||
|
|
||||||
# Check to make sure that we've arrived at the next page.
|
# Check to make sure that we've arrived at the next page.
|
||||||
page.wait_for_load_state("domcontentloaded")
|
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")
|
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()
|
expect(start_with_a_blank_template_radio).to_be_visible()
|
||||||
start_with_a_blank_template_radio.click()
|
start_with_a_blank_template_radio.click()
|
||||||
|
|||||||
Reference in New Issue
Block a user