-
Notifications
You must be signed in to change notification settings - Fork 440
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
test(playwright-ct): fix issues and flake #8016
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Skipped Deployment
|
8346a5f
to
0c4024a
Compare
No changes to documentation |
New and removed dependencies detected. Learn more about Socket for GitHub ↗︎
🚮 Removed packages: npm/@playwright/[email protected], npm/@playwright/[email protected] |
packages/sanity/src/core/form/inputs/PortableText/object/modals/PopoverModal.tsx
Outdated
Show resolved
Hide resolved
0c4024a
to
b365756
Compare
⚡️ Editor Performance ReportUpdated Thu, 12 Dec 2024 11:37:46 GMT
Detailed information🏠 Reference resultThe performance result of
🧪 Experiment resultThe performance result of this branch
📚 Glossary
|
packages/sanity/src/core/form/inputs/PortableText/object/modals/PopoverModal.tsx
Outdated
Show resolved
Hide resolved
packages/sanity/src/core/form/inputs/PortableText/object/modals/PopoverModal.tsx
Outdated
Show resolved
Hide resolved
packages/sanity/src/core/form/inputs/PortableText/object/modals/PopoverModal.tsx
Outdated
Show resolved
Hide resolved
042ba35
to
8cac812
Compare
@@ -266,8 +266,8 @@ | |||
"yargs": "^17.3.0" | |||
}, | |||
"devDependencies": { | |||
"@playwright/experimental-ct-react": "1.44.1", | |||
"@playwright/test": "1.44.1", | |||
"@playwright/experimental-ct-react": "1.49.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.
wonder when it will no longer be experimental 🤔
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.
Haha, yes
Upgrade @playwright/experimental-ct-react from 1.44.1 to 1.49.1 Upgrade @playwright/test from 1.49.1 to 1.49.1
…y being used for chromium/darwin
663f8bf
to
e941fce
Compare
Component Testing Report Updated Dec 12, 2024 11:37 AM (UTC) ❌ Failed Tests (5) -- expand for details
|
This test is now likely to work as expected. Remove exception to skip Chromium
e941fce
to
f9f6e84
Compare
@@ -44,12 +44,6 @@ test.describe('Portable Text Input', () => { | |||
page, | |||
browserName, | |||
}) => { | |||
// avoid flakiness to make sure the test has the best chance despite being slow | |||
test.slow() |
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.
Increased timeouts will not combat the flake 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.
This is great, thank you so much!
* next: (49 commits) fix: delays rendering the Start in Create banner until document is ready (#8020) fix(deps): update dependency @sanity/ui to ^2.10.9 (#8009) chore(deps): dedupe pnpm-lock.yaml (#8023) test(playwright-ct): fix issues and flake (#8016) feat(cli): misc copy changes (#8003) feat(cli): remove is-builtin-module (#6579) v3.67.1 chore(deps): bump minimum requirement of @sanity/import and @sanity/export (#8012) chore(deps): update dependency @sanity/pkg-utils to v6.12.0 (#8010) fix(core): tasks UpdatedTimeAgo should be a hook (#8011) v3.67.0 chore(prettier): fix unformatted files 🤖 ✨ (#8006) chore: reduce renovate double PR noise fix(deps): update dependency @sanity/ui to ^2.10.7 (#8005) fix(deps): update dependency @sanity/ui to ^2.10.7 (#7998) feat(cli): use `@vercel/frameworks` in `bootstrapRemoteTemplate` (#8001) feat: switch create integration to opt-out flow (#8002) feat: use eslint 9 for new studios (#7978) fix(sanity): optimise getLeafWeights to not stack overflow (#7999) feat(test-studio): enable `groq2024` search strategy ...
Description
I have identified several issues that caused the
playwright-ct
tests to be flaky.Some were real issues, some were with the library itself, and some were issues with the tests (see individual commits for details).
I have upgraded the Playwright packages used in the mono-repo.
There might still be flake, but this should help at least.
This PR is also tied into #8021 and #8022 which was moved into own separate PRs
What to review
Testing
Should be tested automatically.
Notes for release
N/A