diff --git a/e2e/tests/ui-driven/src/create-flow-with-geospatial.spec.ts b/e2e/tests/ui-driven/src/create-flow-with-geospatial.spec.ts index 782f53ec35..67418c9145 100644 --- a/e2e/tests/ui-driven/src/create-flow-with-geospatial.spec.ts +++ b/e2e/tests/ui-driven/src/create-flow-with-geospatial.spec.ts @@ -19,9 +19,11 @@ import { } from "./helpers/navigateAndPublish"; import { TestContext } from "./helpers/types"; import { serviceProps } from "./helpers/serviceData"; -import { mockMapGeoJson } from "./mocks/geoJsonMock"; import { checkGeoJsonContent } from "./helpers/geospatialChecks"; -import { mockPropertyTypeOptions } from "./mocks/serviceComponentMocks"; +import { + mockMapGeoJson, + mockPropertyTypeOptions, +} from "./mocks/geospatialMocks"; test.describe("Flow creation, publish and preview", () => { let context: TestContext = { diff --git a/e2e/tests/ui-driven/src/mocks/geoJsonMock.ts b/e2e/tests/ui-driven/src/mocks/geospatialMocks.ts similarity index 74% rename from e2e/tests/ui-driven/src/mocks/geoJsonMock.ts rename to e2e/tests/ui-driven/src/mocks/geospatialMocks.ts index 34cc06d02d..fb26308b1d 100644 --- a/e2e/tests/ui-driven/src/mocks/geoJsonMock.ts +++ b/e2e/tests/ui-driven/src/mocks/geospatialMocks.ts @@ -1,3 +1,10 @@ +import { OptionWithDataValues } from "../helpers/types"; + +export const mockPropertyTypeOptions: OptionWithDataValues[] = [ + { optionText: "Residential", dataValue: "residential" }, + { optionText: "Commercial", dataValue: "commercial" }, +]; + import { Feature } from "geojson"; export const mockMapGeoJson: Feature = { diff --git a/e2e/tests/ui-driven/src/mocks/serviceComponentMocks.ts b/e2e/tests/ui-driven/src/mocks/serviceComponentMocks.ts deleted file mode 100644 index 6d956d2ca3..0000000000 --- a/e2e/tests/ui-driven/src/mocks/serviceComponentMocks.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { OptionWithDataValues } from "../helpers/types"; - -export const mockPropertyTypeOptions: OptionWithDataValues[] = [ - { optionText: "Residential", dataValue: "residential" }, - { optionText: "Commercial", dataValue: "commercial" }, -];