diff --git a/e2e/health-checks.spec.ts b/e2e/health-checks.spec.ts index 03d175525..b280fcc56 100644 --- a/e2e/health-checks.spec.ts +++ b/e2e/health-checks.spec.ts @@ -15,7 +15,7 @@ describe("Health checks", () => { // Assert expect(readyResponse.status).toBe(200); expect(liveResponse.status).toBe(200); - }, 20_000); + }, 60_000); test("ready and live should return 200 OK with external redis", async () => { // Arrange @@ -42,5 +42,5 @@ describe("Health checks", () => { liveResponse.status, `Expected live to return OK statusCode=${liveResponse.status} content=${await liveResponse.text()}`, ).toBe(200); - }, 20_000); + }, 60_000); }); diff --git a/e2e/home.spec.ts b/e2e/home.spec.ts index e8550a3eb..2d79d7247 100644 --- a/e2e/home.spec.ts +++ b/e2e/home.spec.ts @@ -12,5 +12,5 @@ describe("Home", () => { // Assert expect(homeResponse.status).toBe(200); - }, 20_000); + }, 60_000); }); diff --git a/e2e/shared/create-homarr-container.ts b/e2e/shared/create-homarr-container.ts index 7e5bcd5c4..e69562593 100644 --- a/e2e/shared/create-homarr-container.ts +++ b/e2e/shared/create-homarr-container.ts @@ -18,6 +18,11 @@ export const createHomarrContainer = ( .withExposedPorts(7575) .withEnvironment({ ...options.environment, + // We disable external connections due to the following reasons: + // - No icons have to be downloaded (11k) + // - No analytics data is sent + // - It is just faster and makes the tests more reliable (better performance) + NO_EXTERNAL_CONNECTION: true.toString(), SECRET_ENCRYPTION_KEY: "0".repeat(64), }) .withBindMounts(