move request to the before on the station tests

pull/3066/head
Patrick Burns 2024-04-07 19:25:23 -05:00
rodzic 155537e99c
commit 3d5169bbdd
2 zmienionych plików z 6 dodań i 3 usunięć

Wyświetl plik

@ -1,4 +1,10 @@
describe("Create station location", () => {
before(() => {
cy.request({
method: "GET",
url: "/index.php/update/dxcc_entities",
}).wait(1000);
});
beforeEach(() => {
cy.login();
});

Wyświetl plik

@ -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