diff --git a/src/frontend/e2e/createproject.spec.ts b/src/frontend/e2e/createproject.spec.ts index 09834e6618..6220ff881c 100644 --- a/src/frontend/e2e/createproject.spec.ts +++ b/src/frontend/e2e/createproject.spec.ts @@ -70,11 +70,11 @@ test('Project Creation', async ({ browserName, page }) => { await page.getByLabel('buildings').click(); await page.getByRole('button', { name: 'NEXT' }).click(); - // 4. Data Extract Step - const dataExtractRadio = await page.getByText('Use OSM data extract'); + // 4. Map Features Step + const dataExtractRadio = await page.getByText('Use OSM map features'); await dataExtractRadio.click(); await expect(dataExtractRadio).toBeChecked(); - await page.getByRole('button', { name: 'Generate Data Extract' }).click(); + await page.getByRole('button', { name: 'Generate Map Features' }).click(); await page.getByRole('button', { name: 'NEXT' }).click(); // 5. Split Tasks Step diff --git a/src/frontend/src/components/MapComponent/OpenLayersComponent/LayerSwitcher/index.js b/src/frontend/src/components/MapComponent/OpenLayersComponent/LayerSwitcher/index.js index b3d0d16c78..a51f8859d2 100644 --- a/src/frontend/src/components/MapComponent/OpenLayersComponent/LayerSwitcher/index.js +++ b/src/frontend/src/components/MapComponent/OpenLayersComponent/LayerSwitcher/index.js @@ -235,7 +235,7 @@ const LayerSwitcherControl = ({ map, visible = 'osm', pmTileLayerData = null }) location.pathname.includes('project/') || location.pathname.includes('upload-area') || location.pathname.includes('select-category') || - location.pathname.includes('data-extract') || + location.pathname.includes('map-features') || location.pathname.includes('split-tasks') ) { const olZoom = document.querySelector('.ol-zoom'); diff --git a/src/frontend/src/components/ProjectDetailsV2/ProjectOptions.tsx b/src/frontend/src/components/ProjectDetailsV2/ProjectOptions.tsx index 859534c334..afc50cffd7 100644 --- a/src/frontend/src/components/ProjectDetailsV2/ProjectOptions.tsx +++ b/src/frontend/src/components/ProjectDetailsV2/ProjectOptions.tsx @@ -91,8 +91,8 @@ const ProjectOptions = ({ projectName }: projectOptionPropTypes) => { />