ci: enable e2e retries on merge queue runs

Merged
GG
3mo ago
+3-3

Summary

E2E test retries (PLAYWRIGHT_RETRIES=2) were only enabled for release events and pushes to develop/master. Merge queue runs come in as merge_group events, so they ran with 0 retries and flaky tests could evict PRs from the queue.

This adds merge_group to the retries condition for the three e2e jobs (test-ui, test-api-ee, test-ui-ee), so merge queue runs get the same 2 retries as develop.

Summary by CodeRabbit

  • Bug Fixes
    • Improved reliability of UI end-to-end test runs in merge queue validation by allowing up to two retries when needed.

Task: ARCH-2285