diff --git a/cypress/e2e/4-station-locations.cy.js b/cypress/e2e/4-station-locations.cy.js index 1e3104fa..9f4496b2 100644 --- a/cypress/e2e/4-station-locations.cy.js +++ b/cypress/e2e/4-station-locations.cy.js @@ -1,4 +1,10 @@ describe("Create station location", () => { + before(() => { + cy.request({ + method: "GET", + url: "/index.php/update/dxcc_entities", + }).wait(1000); + }); beforeEach(() => { cy.login(); }); diff --git a/script.sh b/script.sh index 0581b3a3..c1447f8f 100755 --- a/script.sh +++ b/script.sh @@ -79,8 +79,5 @@ rm -rf /install echo "Replacement complete." -# Send a GET request to populate the dxcc_entities table -curl "${WEBSITE_URL}/index.php/update/dxcc_entities" - # Start Apache in the foreground exec apache2-foreground \ No newline at end of file