From 626a657a9f645be5919cf5aee98f7ac5f245a3a0 Mon Sep 17 00:00:00 2001 From: Kevin Ma <104021955+Kevma50287@users.noreply.github.com> Date: Fri, 25 Oct 2024 15:54:31 -0400 Subject: [PATCH] update test --- .../queue/correspondence/submit_intake_form_spec.rb | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/spec/feature/queue/correspondence/submit_intake_form_spec.rb b/spec/feature/queue/correspondence/submit_intake_form_spec.rb index 649da041eb..7e3999246a 100644 --- a/spec/feature/queue/correspondence/submit_intake_form_spec.rb +++ b/spec/feature/queue/correspondence/submit_intake_form_spec.rb @@ -316,13 +316,10 @@ # Select each unique related to inactive appeal task react_select_containers = page.all("#reactSelectContainer") react_select_containers.each_with_index do |select_container, index| - using_wait_time(wait_time) do - retry_if_not_found(cleanup: click_page_body) do + retry_if_not_found(cleanup: click_page_body) do + using_wait_time(wait_time) do select_container.click - expect(page).to have_selector("div[class*=MenuList]", visible: true) - within "div[class*=MenuList]" do - find("div", exact_text: inactive_appeal_tasks[index]["label"]).click - end + find("div", exact_text: inactive_appeal_tasks[index]["label"]).click end end end