mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-24 17:31:52 +00:00
removing playwright if statement
This commit is contained in:
8
.github/actions/run-e2e/action.yml
vendored
8
.github/actions/run-e2e/action.yml
vendored
@@ -45,15 +45,11 @@ runs:
|
|||||||
|
|
||||||
npm start > /dev/null &\
|
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 "Running protractor tests with options ${{ inputs.options }}"
|
||||||
echo "./node_modules/.bin/protractor \"./protractor.conf.js\" ${{ inputs.options }} || exit 1"
|
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
|
./node_modules/.bin/protractor "./protractor.conf.js" ${{ inputs.options }} $E2E_PROTRACTOR_OPTS || exit 1
|
||||||
fi
|
sleep 90
|
||||||
|
npx nx run ${{ inputs.options }}-e2e:e2e
|
||||||
|
|
||||||
- name: Upload E2Es results
|
- name: Upload E2Es results
|
||||||
if: ${{ always() }}
|
if: ${{ always() }}
|
||||||
|
Reference in New Issue
Block a user