mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-02 17:48:50 -04:00
Sometimes test hang up and time out due to network errors (#2853)
* Fixed disable button, formated time to include time zone * Fixed bandit * Fix hanging test
This commit is contained in:
@@ -52,7 +52,7 @@ def create_new_template(page):
|
||||
page.wait_for_load_state("domcontentloaded")
|
||||
check_axe_report(page)
|
||||
|
||||
template_name_input = page.get_by_text("Template name")
|
||||
template_name_input = page.get_by_label("Template name")
|
||||
expect(template_name_input).to_be_visible()
|
||||
template_name = str(uuid.uuid4())
|
||||
template_name_input.fill(template_name)
|
||||
|
||||
@@ -126,7 +126,7 @@ def handle_no_existing_template_case(page):
|
||||
page.wait_for_load_state("domcontentloaded")
|
||||
check_axe_report(page)
|
||||
|
||||
template_name_input = page.get_by_text("Template name")
|
||||
template_name_input = page.get_by_label("Template name")
|
||||
expect(template_name_input).to_be_visible()
|
||||
template_name = str(uuid.uuid4())
|
||||
template_name_input.fill(template_name)
|
||||
|
||||
Reference in New Issue
Block a user