-
Notifications
You must be signed in to change notification settings - Fork 263
Update playwright.config for Improved Logging and Reduced Retries
#1073
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
base: main
Are you sure you want to change the base?
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -10,10 +10,11 @@ export default defineConfig({ | |||||
| /* Fail the build on CI if you accidentally left test.only in the source code. */ | ||||||
| forbidOnly: !!process.env.CI, | ||||||
| /* Retry on CI only */ | ||||||
| retries: process.env.CI ? 2 : 1, | ||||||
| retries: process.env.CI ? 1 : 0, | ||||||
| workers: process.env.CI ? "100%" : undefined, | ||||||
| /* Reporter to use. See https://playwright.dev/docs/test-reporters */ | ||||||
| reporter: [["html", { open: process.env.CI ? "never" : "on-failure" }]], | ||||||
| reporter: process.env.CI ? [["list"], ["html"]] : "list", | ||||||
|
||||||
| reporter: process.env.CI ? [["list"], ["html"]] : "list", | |
| reporter: [["list"], ["html", { open: process.env.CI ? "never" : "on-failure" }], ["github"], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sm17p Thanks for the comment, but it seems there’s no change in the report after switching togithub
check here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you try by failing a spec?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Still doesn’t seem like it’s anything worthwhile here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.


There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Implementation copied from flexile