Refine homepage journey form layout
This commit is contained in:
parent
13c4341f3a
commit
ed8a5626a4
4 changed files with 74 additions and 38 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue