diff options
Diffstat (limited to '.cypress/cypress/fixtures')
-rw-r--r-- | .cypress/cypress/fixtures/bus_stops.json | 7 | ||||
-rw-r--r-- | .cypress/cypress/fixtures/bus_stops_none.json | 3 | ||||
-rw-r--r-- | .cypress/cypress/fixtures/iow_roadworks.json | 109 |
3 files changed, 18 insertions, 101 deletions
diff --git a/.cypress/cypress/fixtures/bus_stops.json b/.cypress/cypress/fixtures/bus_stops.json index f3808c912..dbfb44e68 100644 --- a/.cypress/cypress/fixtures/bus_stops.json +++ b/.cypress/cypress/fixtures/bus_stops.json @@ -1,14 +1,13 @@ { - "type": "FeatureCollection", - "features": [ + "results": [ { "type": "Feature", "id": "307.9404949", "geometry": { "type": "Point", "coordinates": [ - -99073, - 6843328 + -0.889992, + 52.238301 ] }, "properties": { diff --git a/.cypress/cypress/fixtures/bus_stops_none.json b/.cypress/cypress/fixtures/bus_stops_none.json index 3102a72dd..749921de7 100644 --- a/.cypress/cypress/fixtures/bus_stops_none.json +++ b/.cypress/cypress/fixtures/bus_stops_none.json @@ -1,6 +1,5 @@ { - "type": "FeatureCollection", - "features": [ + "results": [ ], "crs": { "properties": { diff --git a/.cypress/cypress/fixtures/iow_roadworks.json b/.cypress/cypress/fixtures/iow_roadworks.json index b20dd8514..d6d7bb31b 100644 --- a/.cypress/cypress/fixtures/iow_roadworks.json +++ b/.cypress/cypress/fixtures/iow_roadworks.json @@ -1,97 +1,16 @@ { - "query": { - "recordcount": 38, - "columnlist": "se_id,phase_id,u_se_id,longitude,latitude,gsymbol_id,tooltip,swtype,org_name_disp,promoter,source,promoter_works_ref,originator_ref,swa_org_ref,promoter_org_ref,publisher_orgref,publisher_organisation_id,promoter_organisation_id,organisation_id,lha_id,start_date,end_date,works_state,impact,works_desc,geom_type,geojson_wgs84,tm_cat", - "data": { - "se_id": [ - 114013162 - ], - "phase_id": [ - 1 - ], - "u_se_id": [ - "114013162:1" - ], - "longitude": [ - -1.29574 - ], - "latitude": [ - 50.71086 - ], - "gsymbol_id": [ - "gcln01y" - ], - "tooltip": [ - "B3401 Whitepit Lane, Newport, Isle of Wight\\n18 Jun 2019 - 23 Jul 2019\\ndelays unlikely" - ], - "swtype": [ - "cw" - ], - "org_name_disp": [ - "Island Roads on behalf of the Isle of Wight Council" - ], - "promoter": [ - "Island Roads on behalf of the Isle of Wight Council" - ], - "source": [ - "SW" - ], - "promoter_works_ref": [ - "RF101BT0103000021728" - ], - "originator_ref": [ - "RF101BT0103000021728" - ], - "swa_org_ref": [ - 2114 - ], - "promoter_org_ref": [ - 2114 - ], - "publisher_orgref": [ - 2114 - ], - "publisher_organisation_id": [ - 1062 - ], - "promoter_organisation_id": [ - 1062 - ], - "organisation_id": [ - 1062 - ], - "lha_id": [ - 62 - ], - "start_date": [ - "{ts '2019-06-18 00:00:00'}" - ], - "end_date": [ - "{ts '2030-07-23 23:59:59'}" - ], - "works_state": [ - 4 - ], - "impact": [ - 1 - ], - "works_desc": [ - "Parapet improvement NEWPORT" - ], - "geom_type": [ - 1 - ], - "geojson_wgs84": [ - "{\"type\":\"Point\",\"coordinates\":[-1.295784,50.71086]}" - ], - "tm_cat": [ - "" - ] - } - }, - "reqtoken": "", - "filterimpact": "1,2,3,4", - "filterenddate": "16/10/2019", - "filterstartdate": "16/07/2019", - "timeperiod": "cw" + "type":"FeatureCollection", + "features":[ + { + "type":"Feature", + "geometry":{"type":"Point","coordinates":[449822,90373]}, + "properties":{ + "start_date":"2019-06-18T00:00:00.000Z", + "end_date":"2040-07-23T23:59:59.000Z", + "summary":"B3401 Whitepit Lane, Newport, Isle of Wight", + "description":"Parapet improvement NEWPORT", + "promoter":"Island Roads on behalf of the Isle of Wight Council" + } + } + ] } |