cypress-wp-utils
cypress-wp-utils copied to clipboard
[insertBlock Command] Fix flakiness observed during block insertion.
Describe the bug
While working on fixing Distributor E2E tests, I noticed flakiness in the insertBlock command (specifically with oEmbed and Image blocks). The flaky behavior is mostly in the GH action environment. I am not experiencing it locally.
Logs:
- https://github.com/10up/distributor/actions/runs/12932346630/job/36113046532
- https://github.com/10up/distributor/actions/runs/12868128224/job/35877799782
Steps to Reproduce
- Write E2E tests using the
insertBlockcommand. - Run them in the GitHub Actions environment multiple times. You will notice occasional test failures.
Screenshots, screen recording, code snippet
Environment information
No response
WordPress information
No response
Code of Conduct
- [x] I agree to follow this project's Code of Conduct