Skip to content

Modern Docker Management, Designed for Everyone

ci/cd: always pull latest test images

Kyle Mendellbc13ca243fb8
diff --git a/.github/workflows/e2e-tests.yml b/.github/workflows/e2e-tests.yml
index 556d0e340..4c7c8a135 100644
--- a/.github/workflows/e2e-tests.yml
+++ b/.github/workflows/e2e-tests.yml
@@ -104,24 +104,12 @@ jobs:
- name: Load Arcane Docker image
run: docker load -i /tmp/arcane-image.tar
- - name: Cache test images
- uses: actions/cache@v4
- id: test-images-cache
- with:
- path: /tmp/test-images.tar
- key: test-images-${{ runner.os }}-latest
-
- name: Pull and save test images
- if: steps.test-images-cache.outputs.cache-hit != 'true'
run: |
docker pull ghcr.io/linuxserver/nginx:latest
docker pull ghcr.io/linuxserver/radarr:nightly
docker save ghcr.io/linuxserver/nginx:latest ghcr.io/linuxserver/radarr:nightly > /tmp/test-images.tar
- - name: Load test images from cache
- if: steps.test-images-cache.outputs.cache-hit == 'true'
- run: docker load < /tmp/test-images.tar
-
- name: Install test dependencies
run: pnpm --filter arcane-tests install
diff --git a/tests/spec/images.spec.ts b/tests/spec/images.spec.ts
index 73f1a562f..b9eb2b183 100644
--- a/tests/spec/images.spec.ts
+++ b/tests/spec/images.spec.ts
@@ -151,6 +151,8 @@ test.describe('Images Page', () => {
await page.locator('button[type="submit"]:has-text("Pull Image")').click();
+ await page.waitForLoadState('networkidle');
+
await expect(page.locator('li[data-sonner-toast][data-type="success"] div[data-title]')).toBeVisible();
});
});