Browser-specific playwright job
This commit is contained in:
@@ -221,6 +221,7 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
node-version: [18] # just one as integration tests are about testing in browser
|
node-version: [18] # just one as integration tests are about testing in browser
|
||||||
runs-on: [ubuntu] # macos is flaky
|
runs-on: [ubuntu] # macos is flaky
|
||||||
|
browser: [chromium, firefox]
|
||||||
runs-on: ${{ matrix.runs-on }}-latest
|
runs-on: ${{ matrix.runs-on }}-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
@@ -234,7 +235,7 @@ jobs:
|
|||||||
yarn --frozen-lockfile
|
yarn --frozen-lockfile
|
||||||
yarn install-addons
|
yarn install-addons
|
||||||
- name: Install playwright
|
- name: Install playwright
|
||||||
run: npx playwright install --with-deps
|
run: npx playwright install --with-deps ${{ matrix.browser }}
|
||||||
- name: Wait for build job
|
- name: Wait for build job
|
||||||
uses: NathanFirmo/wait-for-other-job@v1.1.1
|
uses: NathanFirmo/wait-for-other-job@v1.1.1
|
||||||
with:
|
with:
|
||||||
@@ -254,7 +255,7 @@ jobs:
|
|||||||
- name: Build demo
|
- name: Build demo
|
||||||
run: yarn build-demo
|
run: yarn build-demo
|
||||||
- name: Integration tests
|
- name: Integration tests
|
||||||
run: yarn test-playwright --forbid-only
|
run: yarn test-playwright-${{ matrix.browser }} --forbid-only
|
||||||
|
|
||||||
test-api:
|
test-api:
|
||||||
needs: build
|
needs: build
|
||||||
|
|||||||
Reference in New Issue
Block a user