From 52367fdb16cdf790bb1e2ebb768bc678c8499407 Mon Sep 17 00:00:00 2001 From: Beppe Catanese <1771700+gcatanese@users.noreply.github.com> Date: Wed, 18 Sep 2024 15:34:44 +0200 Subject: [PATCH] Support iDEAL 2.0 flow (#91) * Support iDEAL 2.0 flow * Update GitHub actions --- .github/workflows/docker-publish.yml | 12 ++++++------ .../{ideal.spec.js.txt => ideal.spec.js} | 0 tests/checkout/{ideal.spec.js.txt => ideal.spec.js} | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) rename tests/advanced-checkout/{ideal.spec.js.txt => ideal.spec.js} (100%) rename tests/checkout/{ideal.spec.js.txt => ideal.spec.js} (94%) diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index c7d81d7..96602f1 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -20,16 +20,16 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Set up QEMU - uses: docker/setup-qemu-action@v1 + uses: docker/setup-qemu-action@v3 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v3 - name: Log in to the Container registry - uses: docker/login-action@v1 + uses: docker/login-action@v3 with: registry: ${{ env.REGISTRY }} username: ${{ github.actor }} @@ -37,12 +37,12 @@ jobs: - name: Extract metadata (tags, labels) for Docker id: meta - uses: docker/metadata-action@v1 + uses: docker/metadata-action@v5 with: images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} - name: Build and push Docker image - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v6 with: context: . platforms: linux/amd64,linux/arm64 diff --git a/tests/advanced-checkout/ideal.spec.js.txt b/tests/advanced-checkout/ideal.spec.js similarity index 100% rename from tests/advanced-checkout/ideal.spec.js.txt rename to tests/advanced-checkout/ideal.spec.js diff --git a/tests/checkout/ideal.spec.js.txt b/tests/checkout/ideal.spec.js similarity index 94% rename from tests/checkout/ideal.spec.js.txt rename to tests/checkout/ideal.spec.js index 9551508..2ed67de 100644 --- a/tests/checkout/ideal.spec.js.txt +++ b/tests/checkout/ideal.spec.js @@ -5,7 +5,7 @@ const { test, expect } = require('@playwright/test'); test('iDEAL', async ({ page }) => { await page.goto('/'); - await expect(page).toHaveTitle(/Checkout Demo Advanced/); + await expect(page).toHaveTitle(/Checkout Demo/); await expect(page.locator('text="Select a demo"')).toBeVisible(); // Select "iDEAL"