E2e instance assign and create #3
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: E2E pool | |
on: [pull_request] | |
jobs: | |
run-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install Playwright Browsers | |
run: npx playwright install --with-deps | |
- name: Retrieve instance | |
id: retrieve_instance | |
run: | | |
echo "Getting instance"... | |
echo "POOL_INSTANCE=https://pr-testing-1.staging.saleor.cloud/graphql/" >> $GITHUB_OUTPUT | |
- name: Run tests | |
env: | |
API_URI: ${{ steps.retrieve_instance.outputs.POOL_INSTANCE }} | |
run: | | |
echo "Running tests on: $API_URI" | |
npx playwright test |