Skip to content

E2E Utils: Add retry mechanism to the REST API discovery#62331

Merged
WunderBart merged 11 commits intotrunkfrom
fix/e2e-add-retry-mechanism-to-api-discovery
Jun 5, 2024
Merged

E2E Utils: Add retry mechanism to the REST API discovery#62331
WunderBart merged 11 commits intotrunkfrom
fix/e2e-add-retry-mechanism-to-api-discovery

Conversation

@WunderBart
Copy link
Copy Markdown
Member

@WunderBart WunderBart commented Jun 5, 2024

Fixes #61627
Fixes #60366

Related thread: https://wordpress.slack.com/archives/C02QB2JS7/p1717143284055259

What?

Add a retry mechanism to the REST API discovery so that it doesn't fail when the env is not ready yet.

Testing Instructions

  • All tests should pass.
  • Perf tests on trunk have been failing, so I've triggered a workflow using params from the failing job with this branch as a test runner. It should pass.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Tool] E2E Test Utils /packages/e2e-test-utils [Type] Automated Testing Testing infrastructure changes impacting the execution of end-to-end (E2E) and/or unit tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Playwright e2e tests are configured to start wp-env but don't wait for REST API to be advertised Perf Tests: Update reporter to include test failures

4 participants