-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Perf: reopen inspector for remaining tests #56780
Conversation
Size Change: 0 B Total Size: 1.72 MB ℹ️ View Unchanged
|
Flaky tests detected in 1e43cab. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/7099073476
|
@@ -173,6 +179,9 @@ test.describe( 'Post Editor Performance', () => { | |||
} ); | |||
|
|||
await type( paragraph, metrics, 'typeWithoutInspector' ); | |||
|
|||
// Open the inspector again. | |||
await editor.openDocumentSettingsSidebar(); |
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.
We could also put this in beforeEach somehow. But this is good.
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.
Maybe it would be worth dumping all the preferences and setting them in the beforeEach
hook to ensure an identical state for each test?
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.
Looks good 👍
Let's get it in so it's corrected asap. |
What?
In #56753 a test was added that types with the inspector sidebar closed, but this closing is persisted and affects the remaining tests, so we should open it again at the end.
See the drop for
Block Select
: https://www.codevitals.run/project/gutenbergWhy?
How?
Testing Instructions
Testing Instructions for Keyboard
Screenshots or screencast