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

fix: change playwright to devdep and use playwright-core types #563

Merged
merged 1 commit into from
Sep 14, 2022

Conversation

michael-siek
Copy link
Member

See: #536, #536

Copy link
Contributor

@Zidious Zidious left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One thing inline

nit - we may also want to use the types from playwright-core in axe-playwright.spec.ts too

@@ -53,6 +52,8 @@
"express": "^4.18.1",
"mocha": "^10.0.0",
"nyc": "^15.1.0",
"playwright": "^1.0.0",
"playwright-core": "^1.25.2",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

playwright-core probably needs to be a dependency as we are utilising functions from Playwright rather than just exposing their types

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Technically we use the instance of playwright being passed in from the user so that the API only uses playwright-core types and the only time we use playwright is within the test.

@michael-siek michael-siek merged commit c89fa58 into develop Sep 14, 2022
@michael-siek michael-siek deleted the fix/561/536 branch September 14, 2022 14:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants