Skip to content

E2e instance assign and create #3

E2e instance assign and create

E2e instance assign and create #3

Workflow file for this run

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