-
Notifications
You must be signed in to change notification settings - Fork 3
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
56 close button fix tests #57
Conversation
@@ -29,6 +29,8 @@ export default defineConfig({ | |||
/* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */ | |||
trace: 'on-first-retry', | |||
}, | |||
outputDir: './playwright-report', |
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.
This will ensure our test results are saved when running in GitHub Actions
@@ -16,7 +16,7 @@ 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 : 0, | |||
retries: process.env.CI ? 2 : 1, |
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.
It can be useful to retry once locally, also we will get saved traces
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.
LGTM 🚀
Resolves #56
What changed 🧐
useMediaQuery
and test on mobile viewportsHow did you test it? 🧪
New unit tests, e2e tests, manual testing