-
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
Migrate 'sidebar' e2e tests to Playwright #57448
Conversation
await setBrowserViewport( 'large' ); | ||
await clearLocalStorage(); | ||
await createNewPost(); | ||
await enableFocusLossObservation(); |
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.
The focus loss observer was introduced in #10917. This was the only test where this method was used, but it's unclear what it was testing.
I've omitted it from the migration for now. If we want a focus loss test, we can write a more explicit one with Playwright.
Size Change: 0 B Total Size: 1.69 MB ℹ️ View Unchanged
|
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.
Thanks! LGTM 👍 !
What?
Part of #38851.
PR migrates
sidebar.test.js
e2e tests to Playwright.Why?
See #38851.
Testing Instructions