-
Notifications
You must be signed in to change notification settings - Fork 132
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
On GitHub Actions, run only the e2e tests that are reliable there (#2954
- Loading branch information
Showing
5 changed files
with
43 additions
and
3 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: Run e2e tests | ||
|
||
on: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
run-e2e-tests: | ||
name: Run e2e tests | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: [ubuntu-20.04] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: ./.github/actions/setup-zui | ||
- run: yarn lint | ||
- run: yarn test | ||
- run: yarn build | ||
- name: End to end tests | ||
id: playwright | ||
uses: GabrielBB/xvfb-action@v1 | ||
with: | ||
options: -screen 0 1280x1024x24 | ||
run: yarn e2e:ci | ||
- uses: actions/upload-artifact@v2 | ||
if: failure() && steps.playwright.outcome == 'failure' | ||
with: | ||
name: artifacts-${{ matrix.os }} | ||
path: | | ||
run/playwright-itest | ||
!run/**/SS |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
const baseConfig = require('./playwright.config'); | ||
|
||
module.exports = { | ||
...baseConfig, | ||
/* This is the list of flaky tests to ignore when running on CI */ | ||
testIgnore: /(pool-loads|pool-groups|title-bar-buttons).spec/, | ||
}; |
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