cypress-wp-utils icon indicating copy to clipboard operation
cypress-wp-utils copied to clipboard

[insertBlock Command] Fix flakiness observed during block insertion.

Open iamdharmesh opened this issue 1 year ago • 0 comments

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

  1. Write E2E tests using the insertBlock command.
  2. Run them in the GitHub Actions environment multiple times. You will notice occasional test failures.

Screenshots, screen recording, code snippet

Image

Environment information

No response

WordPress information

No response

Code of Conduct

  • [x] I agree to follow this project's Code of Conduct

iamdharmesh avatar Jan 24 '25 10:01 iamdharmesh