-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Lightbox UI block override tests #61414
Conversation
Size Change: -37 B (0%) Total Size: 1.74 MB
ℹ️ View Unchanged
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.
To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
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.
This PR has nicely scoped set of changes. I had some questions regarding the lifecycle methods that need to get clarified. Y
Test cases added back and revised make perfect sense and are easy to follow. Nice work!
@gziolo Thanks for the feedback and catching the inconsistencies! I've cleaned up the code and rearranged things in the most recent commit. Let me know what you think. |
Flaky tests detected in 87b820b. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/8983385128
|
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 great, thank you for addressing the feedback.
What?
After an initial attempt to reenable the lightbox tests in #60150, this PR aims to break that PR down into smaller chunks so that it is easier to review. It includes two UI tests and removes code for many outdated ones.
To put this PR in context: The UI for the lightbox was recently updated in #57608 with extensive edge cases covered via #59890 (comment). Now that the UX and implementation are a bit more solid, it makes sense to start reenabling test coverage.
How?
It adds a test plugin for handling a first set of theme.json settings and some relevant tests.
Testing Instructions
To run tests locally, use the command
npm run test:e2e -- image.spec.js