From 651070040bcbd8eade64586239274a76bb618582 Mon Sep 17 00:00:00 2001 From: "adam.zakrzewski" Date: Mon, 19 Jun 2023 15:01:33 +0200 Subject: [PATCH] removing playwright if statement --- .github/actions/run-e2e/action.yml | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/.github/actions/run-e2e/action.yml b/.github/actions/run-e2e/action.yml index 5e52b0669..cc2d32154 100644 --- a/.github/actions/run-e2e/action.yml +++ b/.github/actions/run-e2e/action.yml @@ -45,15 +45,11 @@ runs: npm start > /dev/null &\ - if [ ${{ inputs.test-runner }} == "playwright" ]; then - echo "Running playwright tests with options ${{ inputs.options }}" - sleep 90 - npx nx run ${{ inputs.options }}-e2e:e2e - else - echo "Running protractor tests with options ${{ inputs.options }}" - echo "./node_modules/.bin/protractor \"./protractor.conf.js\" ${{ inputs.options }} || exit 1" - ./node_modules/.bin/protractor "./protractor.conf.js" ${{ inputs.options }} $E2E_PROTRACTOR_OPTS || exit 1 - fi + echo "Running protractor tests with options ${{ inputs.options }}" + echo "./node_modules/.bin/protractor \"./protractor.conf.js\" ${{ inputs.options }} || exit 1" + ./node_modules/.bin/protractor "./protractor.conf.js" ${{ inputs.options }} $E2E_PROTRACTOR_OPTS || exit 1 + sleep 90 + npx nx run ${{ inputs.options }}-e2e:e2e - name: Upload E2Es results if: ${{ always() }}