-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
[lexical-playground] CI: fix flaky collab test #6240
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
size-limit report 📦
|
@@ -99,6 +99,25 @@ test.describe('Toolbar', () => { | |||
ignoreClasses: true, | |||
ignoreInlineStyles: true, | |||
}, | |||
(actualHtml) => | |||
// flaky fix: remove the extra <p><br /></p> that appears occasionally in CI runs |
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.
do we want to add a check for collab if flakyness is for collab mode only ?
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.
afaik these extra chars only appear for collab, tho if it happens to appear for non collab, no harm helping to remove the xtra chars so the test is not flaky
i think we don't need to add label if the PR is approved ald, it cancelled the run https://github.com/facebook/lexical/actions/runs/9346276629/usage and restarted a new one :( |
sorry, perhaps i forgot to refresh the page, i added the tag when i saw the e2e tests were skipped |
Description
https://github.com/facebook/lexical/actions/runs/9294132717/job/25578693971?pr=6201
^ this e2e collab test fails occasionally on the CI due to flakiness. the output is an extra
<p></br><p>
add a callback to modify actual html. this callback is useful to adjust for flaky html outputs
Closes #6241
Test plan
✓ 1 [chromium] › packages/lexical-playground/tests/e2e/Toolbar.spec.mjs:37:8 › Toolbar › Insert image caption + table (2.5s)