-
Notifications
You must be signed in to change notification settings - Fork 113
feat: add playwright tests to examples #615
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?
Conversation
|
|
||
| export default defineConfig({ | ||
| testDir: './tests', | ||
| fullyParallel: false, |
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.
To discuss: parallelism - pnpm level or within Playwright
| /** | ||
| * See https://playwright.dev/docs/test-configuration. | ||
| */ | ||
| const port = 4173 |
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.
Ports should be different for each example if we run tests in parallel (pnpm level)
| }, | ||
| ], | ||
| webServer: { | ||
| command: `NPM_CONFIG_LOGLEVEL=error npm run dev -- --port ${port}`, |
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.
(pnpm just hangs on some reason, used npm)
|
@chybisov can you check this setup, what do you think? |
Which Jira task is linked to this PR?
https://lifi.atlassian.net/browse/LF-16706
Why was it implemented this way?
This PR:
connectkitandvitedata-testidto widgetdata-testidare released.Checklist before requesting a review