diff --git a/.github/actions/run-e2e/action.yml b/.github/actions/run-e2e/action.yml index 5e52b06697..cc2d321544 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() }}