From 6ccb1183112eb7f8dc03a15575beb4575b96a5b2 Mon Sep 17 00:00:00 2001 From: Cenk Kucukiravul Date: Wed, 20 Dec 2023 10:17:46 +0100 Subject: [PATCH 1/4] Tweak express checkout e2e workflow trigger --- .github/workflows/e2e.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index afa5271..5f532a5 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -3,7 +3,7 @@ run-name: Headless E2E tests for ${{ github.event.pull_request.head.ref}} on: pull_request: - types: [opened, synchronize, reopened, ready_for_review] + types: [opened, synchronize] branches: [main, develop] jobs: @@ -14,4 +14,4 @@ jobs: GITHUB_TOKEN: ${{ secrets.ADYEN_AUTOMATION_BOT_TEST_ACCESS_TOKEN }} steps: - name: Run E2E Tests - run: gh workflow run e2e-test-express-checkout.yml -R Adyen/adyen-magento2 \ No newline at end of file + run: gh workflow run e2e-test-dispatch.yml -R Adyen/adyen-magento2 -F expressBranch=${{ github.event.pull_request.head.ref}} \ No newline at end of file From 1e1e14b265426f06449292f15ca41ce1344b746c Mon Sep 17 00:00:00 2001 From: Cenk Kucukiravul Date: Thu, 21 Dec 2023 12:15:10 +0100 Subject: [PATCH 2/4] Utilize express-checkout set from dispatch pipeline --- .github/workflows/e2e.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 5f532a5..388e26b 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -14,4 +14,4 @@ jobs: GITHUB_TOKEN: ${{ secrets.ADYEN_AUTOMATION_BOT_TEST_ACCESS_TOKEN }} steps: - name: Run E2E Tests - run: gh workflow run e2e-test-dispatch.yml -R Adyen/adyen-magento2 -F expressBranch=${{ github.event.pull_request.head.ref}} \ No newline at end of file + run: gh workflow run e2e-test-express-dispatch.yml -R Adyen/adyen-magento2 -F expressBranch=${{ github.event.pull_request.head.ref }} -F testGroup=${{"express-checkout"}} From 163b24505a14474daf99db20d2d459e197c270f0 Mon Sep 17 00:00:00 2001 From: Cenk Kucukiravul Date: Thu, 21 Dec 2023 12:18:12 +0100 Subject: [PATCH 3/4] Use correct pipeline name --- .github/workflows/e2e.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 388e26b..53a89d5 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -14,4 +14,4 @@ jobs: GITHUB_TOKEN: ${{ secrets.ADYEN_AUTOMATION_BOT_TEST_ACCESS_TOKEN }} steps: - name: Run E2E Tests - run: gh workflow run e2e-test-express-dispatch.yml -R Adyen/adyen-magento2 -F expressBranch=${{ github.event.pull_request.head.ref }} -F testGroup=${{"express-checkout"}} + run: gh workflow run e2e-test-dispatch.yml -R Adyen/adyen-magento2 -F expressBranch=${{ github.event.pull_request.head.ref }} -F testGroup=${{"express-checkout"}} From ad0219e2910c79d5657cb21f15c941f8ab4c14c3 Mon Sep 17 00:00:00 2001 From: Cenk Kucukiravul Date: Thu, 21 Dec 2023 12:22:06 +0100 Subject: [PATCH 4/4] Fix workflow formatting --- .github/workflows/e2e.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 53a89d5..e0f9ca1 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -14,4 +14,4 @@ jobs: GITHUB_TOKEN: ${{ secrets.ADYEN_AUTOMATION_BOT_TEST_ACCESS_TOKEN }} steps: - name: Run E2E Tests - run: gh workflow run e2e-test-dispatch.yml -R Adyen/adyen-magento2 -F expressBranch=${{ github.event.pull_request.head.ref }} -F testGroup=${{"express-checkout"}} + run: gh workflow run e2e-test-dispatch.yml -R Adyen/adyen-magento2 -F expressBranch=${{ github.event.pull_request.head.ref }} -F testGroup="express-checkout"