-
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
Add template part conversion e2e tests #26788
Conversation
Size Change: -988 B (0%) Total Size: 1.21 MB
ℹ️ View Unchanged
|
b086dc5
to
db3f167
Compare
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 to me, especially with the tests passing! I wonder if it might be useful to test with more than one inner block, but that's not a blocker.
Perhaps. Do you mean to multi-select a couple blocks for converting to template part (instead of just the one)? I suppose the test could select one, verify the option is there, multi select and convert and then verify it was converted with all the blocks? Or alternatively have 2 separate tests for block conversion vs. multiple block conversion? 🤔 |
I guess that might be "more robust", but yeah, selecting multiple blocks before converting is what I was getting at |
👌 - Sounds good. I added another test for doing the same with a multi-selection, and refactored a little bit. Could use another 👀 glance and 👍 at some point for a sanity check. Also rerunning the CI tests here a couple times to be sure things are good. |
Description
Adding tests for convert/detach template part flows that were added in #20445 / #26488
How has this been tested?
Tested by running the new tests locally as well as verifying they are doing as expected in interactive/slow-mo mode.
Screenshots
Types of changes
Checklist: