Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Add end 2 end test to blocks.BlockEdit filter #7294
Test PR adds and e2e test to blocks.BlockEdit. We test a sample plugin that adds a Reset Block button in the inspector to all blocks. When pressed this button resets a block to the default values.
How has this been tested?
I Verified the new end 2 end passes with success and that the test plugin works well.
I pushed a few tweaks myself to speed up things. My changes includes:
- some formatting changes to match with plugins api tests
- I wrapped the reset button with
PanelBodyto make it look better visually
- I fixed deps provided in
- Renamed a few things and explicitly passed only those props that are used in
@jorgefilipecosta great job adding those tests, they work great on my local env and example is excellent