From abdaf8debe2d46e2b8f9b21ee57c31cc027463d0 Mon Sep 17 00:00:00 2001 From: sushmita Date: Tue, 17 Sep 2024 15:43:54 +0200 Subject: [PATCH] [ECP-9328] Add debug code --- .github/docker-compose.e2e.yml | 2 +- .github/workflows/e2e-test.yml | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/docker-compose.e2e.yml b/.github/docker-compose.e2e.yml index bc5addb9..43d7f022 100644 --- a/.github/docker-compose.e2e.yml +++ b/.github/docker-compose.e2e.yml @@ -23,7 +23,7 @@ services: - WEBHOOK_USERNAME - WEBHOOK_PASSWORD volumes: - - ./scripts/e2e.sh:/e2e.sh + - ./.github/scripts/e2e.sh:/e2e.sh - ../test-report:/tmp/test-report networks: backend: \ No newline at end of file diff --git a/.github/workflows/e2e-test.yml b/.github/workflows/e2e-test.yml index b92d44f7..4b8396e8 100644 --- a/.github/workflows/e2e-test.yml +++ b/.github/workflows/e2e-test.yml @@ -48,6 +48,15 @@ jobs: # - name: Setup permissions # run: docker exec magento2-hyva-container make fs + - name: Checkout code + uses: actions/checkout@v3 + + - name: List files in .github/scripts + run: ls -l .github/scripts + + - name: Make script executable + run: chmod +x .github/scripts/e2e.sh + - name: Run E2E tests run: docker compose -f .github/docker-compose.e2e.yml run --rm playwright /e2e.sh env: