diff --git a/scripts/add-city.js b/scripts/add-city.js index f4e0b91..8aca476 100644 --- a/scripts/add-city.js +++ b/scripts/add-city.js @@ -8,7 +8,7 @@ const addScoreCard = async (cityId, cityName) => { Percentage: "FILL ME IN, e.g. 23%", cityType: "FILL ME IN, e.g. Core City", Population: "FILL ME IN, e.g. 346,824", - "Metro Population": "FILL ME IN, e.g. 13,200,998", + urbanizedAreaPopulation: "FILL ME IN, e.g. 13,200,998", "Parking Score": "FILL ME IN, e.g. 53", Reforms: "FILL ME IN, e.g. No Reforms or Implemented", "Website URL": "FILL ME IN OR DELETE ME", diff --git a/tests/app/setUpSite.test.js b/tests/app/setUpSite.test.js index 89bd0cf..624a9c7 100644 --- a/tests/app/setUpSite.test.js +++ b/tests/app/setUpSite.test.js @@ -66,14 +66,13 @@ test("correctly load the city score card", async ({ page }) => { }); return [details, cityToggle]; }); - expect(cityToggleValue).toEqual("anchorage-ak"); expect(content["Parking: "]).toEqual( `${anchorageExpected.Percentage} of central city` ); expect(content["Population: "]).toEqual(anchorageExpected.Population); - expect(content["Metro population: "]).toEqual( - anchorageExpected["Metro Population"] + expect(content["Urbanized area population: "]).toEqual( + anchorageExpected.urbanizedAreaPopulation ); expect(content["Parking score: "]).toEqual( anchorageExpected["Parking Score"]