Home DevOps Article

monday.com Uses AI to Catch E2E Test Failures During Code Review

TL;DR

AI agent analyzes E2E test failures in pull requests, explaining root causes and suggesting fixes before merge, keeping context intact.

Key Points

  • AI agent correlates failing E2E tests with UI changes in the same PR, identifying which assumption was invalidated
  • Analysis results in three outcomes: explain-only, fix suggested, or further validation recommended—never automatic mutations
  • Fixes applied only via explicit developer slash command after human review; no silent automation or background changes
  • System integrated as GitHub composite action within existing Playwright framework, maintaining consistency with established patterns

Why It Matters

E2E test failures typically arrive in CI days after merge, losing context about why changes broke tests. By shifting analysis left into code review, developers get immediate, contextual feedback while they still understand their changes, reducing debugging time and preventing the blame-shifting that happens when failures surface post-merge. This model—explanation before action, human approval required—demonstrates how AI can augment workflows without eroding developer trust or introducing silent automation risks.
Read the full technical deep-dive

Source: engineering.monday.com