X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/46f642d5cd88d51bd6e80e48cc24f7a6da68d4c7..95b8297955268874bbc4dc657e96f5bc1f0fabb8:/test/system/directions_test.rb?ds=sidebyside diff --git a/test/system/directions_test.rb b/test/system/directions_test.rb index 91a033c4d..a0ca87ce7 100644 --- a/test/system/directions_test.rb +++ b/test/system/directions_test.rb @@ -22,9 +22,7 @@ class DirectionsSystemTest < ApplicationSystemTestCase assert_content "Start popup text" end - within_sidebar do - find("button[aria-label='Close']").click - end + find("#sidebar .sidebar-close-controls button[aria-label='Close']").click within "#map" do assert_no_content "Start popup text"