From d502eb6f8efb3a66935511f303f0bbf5445ca0be Mon Sep 17 00:00:00 2001 From: tschumpr Date: Tue, 23 Jan 2024 11:51:54 +0100 Subject: [PATCH] Fix paths --- src/client/cypress/e2e/admin/loginScreen.cy.js | 2 +- src/client/cypress/e2e/app.cy.js | 2 +- src/client/cypress/e2e/editor/attachments.cy.js | 2 +- src/client/cypress/e2e/editor/boreholeform.cy.js | 2 +- src/client/cypress/e2e/editor/chronostratigraphy.cy.js | 2 +- src/client/cypress/e2e/editor/coordinates.cy.js | 2 +- src/client/cypress/e2e/editor/emptyMessages.cy.js | 2 +- src/client/cypress/e2e/editor/groundwaterLevelMeasurement.cy.js | 2 +- src/client/cypress/e2e/editor/layerform.cy.js | 2 +- src/client/cypress/e2e/editor/lithostratigraphy.cy.js | 2 +- src/client/cypress/e2e/editor/waterIngress.cy.js | 2 +- src/client/cypress/e2e/hierarchicalDataFilter.cy.js | 2 +- src/client/cypress/e2e/identifierFilter.cy.js | 2 +- src/client/cypress/e2e/srsFilter.cy.js | 2 +- 14 files changed, 14 insertions(+), 14 deletions(-) diff --git a/src/client/cypress/e2e/admin/loginScreen.cy.js b/src/client/cypress/e2e/admin/loginScreen.cy.js index 2720da6ce..13224f430 100644 --- a/src/client/cypress/e2e/admin/loginScreen.cy.js +++ b/src/client/cypress/e2e/admin/loginScreen.cy.js @@ -1,4 +1,4 @@ -import { loginAsAdmin } from "../testHelpers"; +import { loginAsAdmin } from "../helpers/testHelpers"; describe("Admin login preview tests", () => { it("displays correct message when publishing a new welcome message.", () => { diff --git a/src/client/cypress/e2e/app.cy.js b/src/client/cypress/e2e/app.cy.js index c32cffb51..0dadfd9bd 100644 --- a/src/client/cypress/e2e/app.cy.js +++ b/src/client/cypress/e2e/app.cy.js @@ -1,4 +1,4 @@ -import { loginAsAdmin, loginAsEditorInViewerMode } from "./testHelpers"; +import { loginAsAdmin, loginAsEditorInViewerMode } from "./helpers/testHelpers"; describe("General app tests", () => { it("Displays the login page in the correct language", () => { diff --git a/src/client/cypress/e2e/editor/attachments.cy.js b/src/client/cypress/e2e/editor/attachments.cy.js index d112a3195..2932ca1d0 100644 --- a/src/client/cypress/e2e/editor/attachments.cy.js +++ b/src/client/cypress/e2e/editor/attachments.cy.js @@ -2,7 +2,7 @@ import { createAndEditBoreholeAsAdmin, deleteDownloadedFile, readDownloadedFile, -} from "../testHelpers"; +} from "../helpers/testHelpers"; describe("Tests for 'Attachments' edit page.", () => { it("creates, downloads and deletes attachments.", () => { diff --git a/src/client/cypress/e2e/editor/boreholeform.cy.js b/src/client/cypress/e2e/editor/boreholeform.cy.js index ee75eb62d..c607afa0c 100644 --- a/src/client/cypress/e2e/editor/boreholeform.cy.js +++ b/src/client/cypress/e2e/editor/boreholeform.cy.js @@ -1,4 +1,4 @@ -import { newEditableBorehole } from "../testHelpers"; +import { newEditableBorehole } from "../helpers/testHelpers"; describe("Test for the borehole form.", () => { it("Creates a borehole and fills dropdowns.", () => { diff --git a/src/client/cypress/e2e/editor/chronostratigraphy.cy.js b/src/client/cypress/e2e/editor/chronostratigraphy.cy.js index 63f838e41..40fd2304c 100644 --- a/src/client/cypress/e2e/editor/chronostratigraphy.cy.js +++ b/src/client/cypress/e2e/editor/chronostratigraphy.cy.js @@ -3,7 +3,7 @@ import { createStratigraphy, loginAsAdmin, bearerAuth, -} from "../testHelpers"; +} from "../helpers/testHelpers"; describe("Tests for the chronostratigraphy editor.", () => { beforeEach(function () { diff --git a/src/client/cypress/e2e/editor/coordinates.cy.js b/src/client/cypress/e2e/editor/coordinates.cy.js index 48c730bb0..ef77a07c0 100644 --- a/src/client/cypress/e2e/editor/coordinates.cy.js +++ b/src/client/cypress/e2e/editor/coordinates.cy.js @@ -1,4 +1,4 @@ -import { newEditableBorehole, delayedType } from "../testHelpers"; +import { newEditableBorehole, delayedType } from "../helpers/testHelpers"; describe("Tests for editing coordinates of a borehole.", () => { beforeEach(() => { diff --git a/src/client/cypress/e2e/editor/emptyMessages.cy.js b/src/client/cypress/e2e/editor/emptyMessages.cy.js index ce796b4e3..0ef987236 100644 --- a/src/client/cypress/e2e/editor/emptyMessages.cy.js +++ b/src/client/cypress/e2e/editor/emptyMessages.cy.js @@ -1,4 +1,4 @@ -import { newUneditableBorehole } from "../testHelpers"; +import { newUneditableBorehole } from "../helpers/testHelpers"; describe("Messages for empty profiles", () => { beforeEach(() => { diff --git a/src/client/cypress/e2e/editor/groundwaterLevelMeasurement.cy.js b/src/client/cypress/e2e/editor/groundwaterLevelMeasurement.cy.js index d04619812..18a670bc7 100644 --- a/src/client/cypress/e2e/editor/groundwaterLevelMeasurement.cy.js +++ b/src/client/cypress/e2e/editor/groundwaterLevelMeasurement.cy.js @@ -2,7 +2,7 @@ import { createBorehole, createStratigraphy, loginAsAdmin, -} from "../testHelpers"; +} from "../helpers/testHelpers"; describe("Tests for the groundwater level measurement editor.", () => { beforeEach(function () { diff --git a/src/client/cypress/e2e/editor/layerform.cy.js b/src/client/cypress/e2e/editor/layerform.cy.js index d18b075ed..f75dd289f 100644 --- a/src/client/cypress/e2e/editor/layerform.cy.js +++ b/src/client/cypress/e2e/editor/layerform.cy.js @@ -1,4 +1,4 @@ -import { newEditableBorehole } from "../testHelpers"; +import { newEditableBorehole } from "../helpers/testHelpers"; describe("Tests for the layer form.", () => { it("Creates a layer and fills all dropdowns with multiple selection.", () => { diff --git a/src/client/cypress/e2e/editor/lithostratigraphy.cy.js b/src/client/cypress/e2e/editor/lithostratigraphy.cy.js index 5cd38ddf7..179539d72 100644 --- a/src/client/cypress/e2e/editor/lithostratigraphy.cy.js +++ b/src/client/cypress/e2e/editor/lithostratigraphy.cy.js @@ -3,7 +3,7 @@ import { createStratigraphy, bearerAuth, loginAsAdmin, -} from "../testHelpers"; +} from "../helpers/testHelpers"; describe("Tests for the lithostratigraphy editor.", () => { beforeEach(function () { diff --git a/src/client/cypress/e2e/editor/waterIngress.cy.js b/src/client/cypress/e2e/editor/waterIngress.cy.js index c2ee54dfa..3c3938f52 100644 --- a/src/client/cypress/e2e/editor/waterIngress.cy.js +++ b/src/client/cypress/e2e/editor/waterIngress.cy.js @@ -2,7 +2,7 @@ import { createBorehole, createStratigraphy, loginAsAdmin, -} from "../testHelpers"; +} from "../helpers/testHelpers"; describe("Tests for the wateringress editor.", () => { beforeEach(function () { diff --git a/src/client/cypress/e2e/hierarchicalDataFilter.cy.js b/src/client/cypress/e2e/hierarchicalDataFilter.cy.js index 4c40d3a1e..f62cc1958 100644 --- a/src/client/cypress/e2e/hierarchicalDataFilter.cy.js +++ b/src/client/cypress/e2e/hierarchicalDataFilter.cy.js @@ -1,4 +1,4 @@ -import { loginAsAdmin } from "./testHelpers"; +import { loginAsAdmin } from "./helpers/testHelpers"; describe("Hierachical data filter tests", () => { it("check visible filters", () => { diff --git a/src/client/cypress/e2e/identifierFilter.cy.js b/src/client/cypress/e2e/identifierFilter.cy.js index 1f80d51e5..affc3898b 100644 --- a/src/client/cypress/e2e/identifierFilter.cy.js +++ b/src/client/cypress/e2e/identifierFilter.cy.js @@ -1,4 +1,4 @@ -import { newEditableBorehole } from "./testHelpers"; +import { newEditableBorehole } from "./helpers/testHelpers"; describe("Tests for filtering data by identifier.", () => { it("can filter by identifier", () => { diff --git a/src/client/cypress/e2e/srsFilter.cy.js b/src/client/cypress/e2e/srsFilter.cy.js index b446fca59..d497c3391 100644 --- a/src/client/cypress/e2e/srsFilter.cy.js +++ b/src/client/cypress/e2e/srsFilter.cy.js @@ -1,4 +1,4 @@ -import { newEditableBorehole, loginAsAdmin } from "./testHelpers"; +import { newEditableBorehole, loginAsAdmin } from "./helpers/testHelpers"; describe("Tests for filtering data by reference system.", () => { function goToEditorLocationFilter() {