From fd159af585d1e6c05def9724b86bdac7f60da2be Mon Sep 17 00:00:00 2001 From: Branko Janjic Date: Thu, 19 Dec 2024 09:11:37 +0100 Subject: [PATCH] Add e2e tests to the same repositories --- .github/workflows/scripts/e2e.sh | 5 ++++- .github/workflows/templates/docker-compose.playwright.yml | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/scripts/e2e.sh b/.github/workflows/scripts/e2e.sh index 3cb8a566..5c04e942 100755 --- a/.github/workflows/scripts/e2e.sh +++ b/.github/workflows/scripts/e2e.sh @@ -2,7 +2,10 @@ set -euo pipefail # Checkout E2E tests -cd /tmp/adyen-integration-tools-tests; +cd /tmp; +git clone https://github.com/Adyen/adyen-integration-tools-tests.git; +cd adyen-integration-tools-tests; +git checkout $INTEGRATION_TESTS_BRANCH; # Setup environment rm -rf package-lock.json; diff --git a/.github/workflows/templates/docker-compose.playwright.yml b/.github/workflows/templates/docker-compose.playwright.yml index 296aa464..fe014224 100644 --- a/.github/workflows/templates/docker-compose.playwright.yml +++ b/.github/workflows/templates/docker-compose.playwright.yml @@ -16,7 +16,7 @@ services: - PAYPAL_PASSWORD volumes: - ../scripts/e2e.sh:/e2e.sh - - ../e2e/:/tmp/ + #- ../e2e/:/tmp/ - ../../../test-report:/tmp/test-report networks: