Skip to content

Commit

Permalink
Revert "Revert "Added shell type to action + commented deploy for test""
Browse files Browse the repository at this point in the history
This reverts commit a7f5f6f.
  • Loading branch information
GPaoloni committed Sep 2, 2022
1 parent fb3d974 commit de63db6
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 11 deletions.
5 changes: 4 additions & 1 deletion .github/actions/e2e-test-execution/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,18 @@ runs:
- name: Install e2e-tests dependencies
run: npm install
working-directory: ./e2e-tests
shell: bash
- name: Setup dependencies for playwright/browsers
uses: microsoft/playwright-github-action@v1
- name: Install Playwright CLI
run: npx playwright install
shell: bash
working-directory: ./e2e-tests

# Run E2E tests against actual E2E Flex instance
- name: Run Playwright tests
run: DEBUG=pw:api PLAYWRIGHT_BASEURL=${{secrets.PLAYWRIGHT_BASEURL_E2E}} PLAYWRIGHT_USER_USERNAME=${{secrets.PLAYWRIGHT_USER_USERNAME}} PLAYWRIGHT_USER_PASSWORD=${{secrets.PLAYWRIGHT_USER_PASSWORD}} TWILIO_ACCOUNT_SID=${{secrets.E2E_DEV_ACCOUNT_SID}} TWILIO_AUTH_TOKEN=${{secrets.E2E_DEV_AUTH_TOKEN}} npx playwright test
run: DEBUG=pw:api PLAYWRIGHT_BASEURL=${{inputs.PLAYWRIGHT_BASEURL_E2E}} PLAYWRIGHT_USER_USERNAME=${{inputs.PLAYWRIGHT_USER_USERNAME}} PLAYWRIGHT_USER_PASSWORD=${{inputs.PLAYWRIGHT_USER_PASSWORD}} TWILIO_ACCOUNT_SID=${{inputs.E2E_DEV_ACCOUNT_SID}} TWILIO_AUTH_TOKEN=${{inputs.E2E_DEV_AUTH_TOKEN}} npx playwright test
shell: bash
working-directory: ./e2e-tests

# Upload artifacts
Expand Down
20 changes: 10 additions & 10 deletions .github/workflows/plugin-hrm-form-pre-release-qa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,16 @@ jobs:
uses: actions/setup-node@v1
with:
node-version: '14.x'
# Call main-action to compile and deploy
- name: Executing main-action
uses: ./.github/actions/main-action
with:
account-sid: ${{ secrets.E2E_DEV_ACCOUNT_SID }}
auth-token: ${{ secrets.E2E_DEV_AUTH_TOKEN }}
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: ${{ secrets.AWS_DEFAULT_REGION }}
send-slack-message: false
# # Call main-action to compile and deploy
# - name: Executing main-action
# uses: ./.github/actions/main-action
# with:
# account-sid: ${{ secrets.E2E_DEV_ACCOUNT_SID }}
# auth-token: ${{ secrets.E2E_DEV_AUTH_TOKEN }}
# aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
# aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
# aws-region: ${{ secrets.AWS_DEFAULT_REGION }}
# send-slack-message: false

# # Build Playwright
# - name: Install e2e-tests dependencies
Expand Down

0 comments on commit de63db6

Please # to comment.