-
Notifications
You must be signed in to change notification settings - Fork 68
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
Page type incompatibility when updating @playwright/test #1087
Labels
Comments
Hey @ritchieanesco, What version were you on and what version of @playwright/test caused the type break? Thanks! |
Type 'import("C:/Users/....../Playwright/node_modules/.pnpm/[email protected]/node_modules/playwright-core/types/types").Page' is not assignable to type 'import("C:/Users/....../Playwright/node_modules/.pnpm/[email protected]/node_modules/playwright-core/types/types").Page'.ts(2322)
index.d.ts(5, 5): The expected type comes from property 'page' which is declared here on type 'AxePlaywrightParams' Generally get this error everytime I upgrade playwright/test to a new version |
4lejandrito
added a commit
to jaimelr10/liferay-portal
that referenced
this issue
Sep 27, 2024
4lejandrito
added a commit
to jaimelr10/liferay-portal
that referenced
this issue
Sep 30, 2024
Same here! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Product
playwright
Product Version
4.9.1
Latest Version
Issue Description
Expectation
No type errors when updating @playwright/tests package
Actual
Page
type error occurs when runningtsc --noEmit
after updating @playwright/tests packageHow to Reproduce
Page
type from @playwright.tests package in your tests.tsc --noEmit
The text was updated successfully, but these errors were encountered: