From 2d20302ab2442daa8b69b8c440120e226b1918c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20N=C3=A9grier?= Date: Mon, 1 Jun 2020 16:39:34 +0200 Subject: [PATCH] Fixing e2e test URL --- .github/workflows/build-and-deploy.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build-and-deploy.yml b/.github/workflows/build-and-deploy.yml index 9d632968..4019cdff 100644 --- a/.github/workflows/build-and-deploy.yml +++ b/.github/workflows/build-and-deploy.yml @@ -112,20 +112,20 @@ jobs: uses: cypress-io/github-action@v1 if: ${{ env.GITHUB_REF_SLUG != 'master' }} env: - CYPRESS_BASE_URL: https://${{ env.GITHUB_REF_SLUG }}.workadventure.test.thecodingmachine.com + CYPRESS_BASE_URL: https://play.${{ env.GITHUB_REF_SLUG }}.workadventure.test.thecodingmachine.com with: - env: host=${{ env.GITHUB_REF_SLUG }}.workadventure.test.thecodingmachine.com,port=80 + env: host=play.${{ env.GITHUB_REF_SLUG }}.workadventure.test.thecodingmachine.com,port=80 spec: cypress/integration/spec.js - wait-on: https://${{ env.GITHUB_REF_SLUG }}.workadventure.test.thecodingmachine.com + wait-on: https://play.${{ env.GITHUB_REF_SLUG }}.workadventure.test.thecodingmachine.com working-directory: e2e - name: Run Cypress tests in prod uses: cypress-io/github-action@v1 if: ${{ env.GITHUB_REF_SLUG == 'master' }} env: - CYPRESS_BASE_URL: https://workadventu.re + CYPRESS_BASE_URL: https://play.workadventu.re with: - env: host=workadventu.re + env: host=play.workadventu.re spec: cypress/integration/spec.js wait-on: https://workadventu.re working-directory: e2e