Refine homepage journey form layout

This commit is contained in:
Edward Betts 2026-05-26 12:55:23 +01:00
parent 13c4341f3a
commit ed8a5626a4
4 changed files with 74 additions and 38 deletions

View file

@ -64,8 +64,9 @@ def test_index_shows_station_dropdown_and_destination_radios() -> None:
assert "Departure point" in html
assert "Bristol Temple Meads" in html
assert 'name="station_crs"' in html
assert html.count('type="radio"') == len(app_module.DESTINATIONS)
assert "destination-rotterdam" in html
assert html.count('name="destination"') == len(app_module.DESTINATIONS)
assert 'id="dest-rotterdam"' in html
assert "<strong>Cologne Hbf</strong><span>Cologne Hbf</span>" in html
def test_search_redirects_to_results_with_selected_params() -> None: