-
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
Local autosave: Expand E2E tests #17503
Conversation
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 we shouldn't close #17495 yet?
We're still missing this:
- Add documentation for the newly introduced component
expect( await page.evaluate( () => window.sessionStorage.length ) ).toBe( 1 ); | ||
|
||
const logoutUrl = await page.$eval( '#wp-admin-bar-logout a', ( element ) => element.href ); | ||
await page.goto( logoutUrl ); |
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.
Can't we just click on the button/link?
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.
Right, click should work better in this case 👍
Well spotted. |
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.
LGTM after rebasing to pass the e2e tests.
efb00c2
to
482ce6d
Compare
Thanks! |
482ce6d
to
eb2eba8
Compare
Description
Fixes part of #17495