From 353f223dce1634a522407a4242f3f4be0d802039 Mon Sep 17 00:00:00 2001 From: andrew nimmo Date: Sat, 20 Jul 2024 16:59:52 -0700 Subject: [PATCH] Update observation_form_system_test.rb --- test/system/observation_form_system_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/system/observation_form_system_test.rb b/test/system/observation_form_system_test.rb index 8d5920ea18..49971e0603 100644 --- a/test/system/observation_form_system_test.rb +++ b/test/system/observation_form_system_test.rb @@ -394,9 +394,9 @@ def test_post_edit_and_destroy_with_details_and_location # Carousel items are re-output with image records this time. all(".carousel-indicator").last.click - second_item = find(".carousel-item", text: "25.7582") items = all(".carousel-item", visible: :all) assert_equal(items.length, 2) + second_item = find(".carousel-item", text: "25.7582", visible: :all) within(second_item) do assert_equal("2018", find('[id$="when_1i"]').value)