Skip to content

Commit

Permalink
tile tests
Browse files Browse the repository at this point in the history
  • Loading branch information
hiddewie committed Oct 31, 2024
1 parent 3b66a49 commit eb337b3
Showing 1 changed file with 20 additions and 24 deletions.
44 changes: 20 additions & 24 deletions tiles/test/tiles.hurl
Original file line number Diff line number Diff line change
@@ -1,69 +1,65 @@
# Hmoe page
GET {{base_url}}/
HTTP 200
Content-Type: text/html
[Asserts]
body contains "<title>OpenRailwayMap</title>"
Content-Type: text/plain; charset=utf-8

# Imported bounds
GET {{base_url}}/manifest.json
GET {{base_url}}/catalog
HTTP 200

# Tile sources
GET {{base_url}}/railway_line_low
HTTP 200
Content-Type: application/json

# Imported bounds
GET {{base_url}}/bounds.json
GET {{base_url}}/standard_railway_text_stations_low
HTTP 200
Content-Type: application/json

# Proxy to tiles
GET {{base_url}}/speed
Referer: http://localhost:8000
GET {{base_url}}/railway_line_med
HTTP 200
Content-Type: application/json

GET {{base_url}}/standard_railway_text_stations_med
HTTP 200
Content-Type: application/json

GET {{base_url}}/high
HTTP 200
Content-Type: application/json

GET {{base_url}}/standard
Referer: http://localhost:8000
HTTP 200
Content-Type: application/json

GET {{base_url}}/speed
Referer: http://localhost:8000
HTTP 200
Content-Type: application/json

GET {{base_url}}/signals
Referer: http://localhost:8000
HTTP 200
Content-Type: application/json

GET {{base_url}}/electrification
Referer: http://localhost:8000
HTTP 200
Content-Type: application/json

# (local URLs)
GET {{base_url}}/signals_railway_signals/14/8803/5371
GET {{base_url}}/speed/14/8803/5371
Referer: http://localhost:8000
HTTP 200
Content-Type: application/x-protobuf

GET {{base_url}}/signals_railway_signals/18/140807/85974
GET {{base_url}}/speed/18/140807/85974
Referer: http://localhost:8000
HTTP 204

# Proxy to API, cannot proxy
GET {{base_url}}/api/test
HTTP 502

# Proxy to sprites
# Sprites
GET {{base_url}}/sprite/symbols.json
HTTP 200
Content-Type: application/json

GET {{base_url}}/sprite/symbols.png
HTTP 200

# Proxy to SDF sprites
# SDF sprites
GET {{base_url}}/sdf_sprite/symbols.json
HTTP 200
Content-Type: application/json

0 comments on commit eb337b3

Please sign in to comment.