Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: broken actions while catching failure #1789

Merged
merged 11 commits into from
Oct 18, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v2

- name: Use Node.js "14.x"
uses: actions/setup-node@v3
uses: actions/setup-node@v1
with:
node-version: '14.x'
registry-url: 'https://registry.npmjs.org'
Expand Down Expand Up @@ -52,7 +52,8 @@ jobs:

- uses: microsoft/playwright-github-action@v1
- name: Init & Test
run: npm i && npm run init && npm run test:ui-ci
run: npm i && npm run init && cd tools/playwright && npm run ui-tests-ci

- name: Upload test results
if: always()
uses: actions/upload-artifact@v3
Expand Down
1 change: 1 addition & 0 deletions tools/playwright/.gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
allure-results
test-results
playwright-report
1 change: 1 addition & 0 deletions tools/playwright/configs/playwright.ci.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const ciConfig: PlaywrightTestConfig = {
workers: 1,
retries: 1,
maxFailures: process.env.CI ? 10 : undefined,
reporter: process.env.CI ? 'github' : 'list',
};

export default ciConfig;