@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/[email protected]>_______________________________________________
rails-dev mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/rails-dev