Modern Docker Management, Designed for Everyone
Go composecontainer-managementcontainersdockerdocker-composedocker-managementgoself-hostedsveltekittypescriptweb-ui
chore: e2e tests fixes
Kyle Mendelle4021ec7b183
diff --git a/.github/workflows/build-next-images.yml b/.github/workflows/build-next-images.ymlindex 1846f6dfc..0fccb30f6 100644--- a/.github/workflows/build-next-images.yml+++ b/.github/workflows/build-next-images.yml@@ -17,7 +17,7 @@ permissions:jobs:build-next-images:- runs-on: depot-ubuntu-24.04-32+ runs-on: depot-ubuntu-latestenv:MANAGER_IMAGE_NAME: ghcr.io/${{ github.repository_owner }}/arcanediff --git a/.github/workflows/build-pr-images.yml b/.github/workflows/build-pr-images.ymlindex ce980c3cc..f12d9a115 100644--- a/.github/workflows/build-pr-images.yml+++ b/.github/workflows/build-pr-images.yml@@ -18,7 +18,7 @@ jobs:build-pr-images:# Only build if the PR is from a branch within the getarcaneapp organizationif: github.event.pull_request.head.repo.owner.login == 'getarcaneapp'- runs-on: depot-ubuntu-24.04-32+ runs-on: depot-ubuntu-latestenv:MANAGER_IMAGE_NAME: ghcr.io/${{ github.repository_owner }}/arcanediff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex 32a250483..0b0a71ec5 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -20,7 +20,7 @@ concurrency:jobs:go-tests:name: Go Tests (${{ matrix.module.name }})- runs-on: depot-ubuntu-24.04-32+ runs-on: depot-ubuntu-latesttimeout-minutes: 30strategy:fail-fast: false@@ -77,7 +77,7 @@ jobs:go-linter:name: Go Linter (${{ matrix.module.name }})- runs-on: depot-ubuntu-24.04-16+ runs-on: depot-ubuntu-lateststrategy:fail-fast: falsematrix:@@ -186,7 +186,7 @@ jobs:svelte-check:name: Svelte Type Check- runs-on: depot-ubuntu-24.04-8+ runs-on: depot-ubuntu-lateststeps:- name: Checkout codeuses: actions/checkout@v6@@ -218,7 +218,7 @@ jobs:e2e-tests:name: E2E Tests (${{ matrix.database.name }})if: ${{ github.head_ref != 'l10n_crowdin' }}- runs-on: depot-ubuntu-24.04-32+ runs-on: depot-ubuntu-latestpermissions:contents: readactions: writediff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex 84d64fe96..2a2e0e719 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -13,7 +13,7 @@ permissions:jobs:release:- runs-on: depot-ubuntu-24.04-32+ runs-on: depot-ubuntu-latestenv:MANAGER_IMAGE_NAME: ghcr.io/${{ github.repository_owner }}/arcanediff --git a/.github/workflows/sync-go-workspace.yml b/.github/workflows/sync-go-workspace.ymldeleted file mode 100644index 95e7b4ade..000000000--- a/.github/workflows/sync-go-workspace.yml+++ /dev/null@@ -1,46 +0,0 @@-name: Dependabot Go Workspaces Tidy-on:- pull_request:- branches:- - main- - "release/**"- types: [opened, synchronize, reopened]- paths:- - backend/go.mod- - backend/go.sum- - types/go.mod- - types/go.sum- - cli/go.mod- - cli/go.sum- - go.work- - go.work.sum--jobs:- tidy:- runs-on: ubuntu-latest- if: ${{ github.actor == 'dependabot[bot]' }}- steps:- - name: Checkout repository- uses: actions/checkout@v6- with:- token: ${{ secrets.GITHUB_TOKEN }}-- - name: Set up Go- uses: actions/setup-go@v6- with:- go-version-file: backend/go.mod- cache-dependency-path: |- backend/go.sum- cli/go.sum- types/go.sum- go.work.sum-- - name: Run go work sync and go mod tidy- run: |- go work sync-- - name: Commit changes (if any)- uses: stefanzweifel/git-auto-commit-action@v7- with:- commit_message: "chore(deps): Synchronize go.mod files via go work sync"- branch: ${{ github.head_ref }}diff --git a/tests/spec/project.spec.ts b/tests/spec/project.spec.tsindex d789fd707..3c73951df 100644--- a/tests/spec/project.spec.ts+++ b/tests/spec/project.spec.ts@@ -406,11 +406,6 @@ test.describe('New Compose Project Page', () => {});});- const deployRequestPromise = page.waitForRequest((request) => {- if (request.method() !== 'POST') return false;- return /\/api\/environments\/[^/]+\/projects\/[^/]+\/up$/.test(new URL(request.url()).pathname);- });-const deployButtonGroup = page.locator('[data-slot="button-group"]').filter({ has: page.getByRole('button', { name: 'Up', exact: true }) })@@ -421,11 +416,27 @@ test.describe('New Compose Project Page', () => {await expect(deployMenuTrigger).toBeVisible();- await deployMenuTrigger.click({ force: true });- await page.getByRole('menuitemradio', { name: /Always/i }).click();-- await deployMenuTrigger.click({ force: true });- await page.getByRole('menuitemcheckbox', { name: /Force recreate containers/i }).click();+ // Open dropdown and select "Always" pull policy+ await deployMenuTrigger.click();+ const alwaysItem = page.getByRole('menuitemradio', { name: /Always/i });+ await expect(alwaysItem).toBeVisible();+ await alwaysItem.click();+ // Wait for the dropdown to fully close before reopening+ await expect(alwaysItem).not.toBeVisible();++ // Reopen dropdown and toggle "Force recreate containers"+ await deployMenuTrigger.click();+ const forceRecreateItem = page.getByRole('menuitemcheckbox', { name: /Force recreate containers/i });+ await expect(forceRecreateItem).toBeVisible();+ await forceRecreateItem.click();+ // Wait for the dropdown to fully close+ await expect(forceRecreateItem).not.toBeVisible();++ // Set up request listener right before clicking to minimize timeout window+ const deployRequestPromise = page.waitForRequest((request) => {+ if (request.method() !== 'POST') return false;+ return /\/api\/environments\/[^/]+\/projects\/[^/]+\/up$/.test(new URL(request.url()).pathname);+ });await page.getByRole('button', { name: 'Up', exact: true }).click();