Skip to content

Commit

Permalink
Update observation_form_system_test.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
nimmolo committed Jul 21, 2024
1 parent 353f223 commit 5dd4eee
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/system/observation_form_system_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -394,9 +394,10 @@ 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

assert_selector(".carousel-item", text: "25.7582", visible: :all)
second_item = find(".carousel-item", text: "25.7582", visible: :all)
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)
Expand Down

0 comments on commit 5dd4eee

Please sign in to comment.