[openstreetmap/openstreetmap-website] Add datalist to display multiple search results (PR #6765)
Marwin Hochfelsner
notifications at github.com
Mon Feb 9 18:09:19 UTC 2026
@hlfan commented on this pull request.
> @@ -65,6 +65,28 @@ class DirectionsSystemTest < ApplicationSystemTestCase
assert_no_content "Start popup text"
end
end
+ test "selects from datalist and shows route" do
+ visit directions_path
+ stub_nominatim_search
+ stub_straight_routing(:start_instruction => "Head north")
+
+ find_by_id("route_from").set("Berlin").send_keys :enter
+
+ find_by_id("route_from").set("Berlin, Germany").send_keys :enter
Shouldn't you be able to select that with arrow keys + enter?
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6765#pullrequestreview-3774391287
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/6765/review/3774391287 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260209/337b083b/attachment.htm>
More information about the rails-dev
mailing list