-
Notifications
You must be signed in to change notification settings - Fork 457
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: improving robustness of unpublish.spec e2e #9052
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
No changes to documentation |
Coverage Report
File Coverage
|
📊 Playwright Test ReportThis report contains test results, including videos of failing tests. |
⚡️ Editor Performance ReportUpdated Wed, 26 Mar 2025 14:14:20 GMT
Detailed information🏠 Reference resultThe performance result of
🧪 Experiment resultThe performance result of this branch
📚 Glossary
|
e428844
to
4b228c1
Compare
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.
Thank you! One flaky test at a time 👊🏻
Description
Sometimes there can be 2 'Published' elements available after unpublishing is run in
unpublish.spec
- this is because briefly the Publish document action button shows 'Published' as the document state is reconciled.This PR places a
data-testid
around the document perspective list, and uses this to target the correct 'Published'What to review
Testing
Repeat running of this particular test (locally and in CI) shows improved robustness
Notes for release
N/A