Skip to content

Conversation

@bhorai-atl
Copy link
Collaborator

@bhorai-atl bhorai-atl commented Nov 6, 2025

What Is This Change?

This PR enhances the E2E test suite's reliability by addressing test state pollution issues and improves CI observability for flaky tests

  • Added WireMock reset: Introduced resetWireMockMappings() helper function to reset all WireMock mappings before each test, preventing state pollution between test runs

  • Updated StartWork Test: Increased Timeout: Extended startWorkFlow test timeout from 50s to 60s to accommodate slower CI environments

  • Added Playwright Reporters: Configured both list and github reporters for better test output formatting and CI integration

  • Optimized Artifact Generation: Changed video/trace capture from retain-on-failure to on-first-retry to reduce storage overhead while maintaining debugging capability

  • Always Upload E2E Artifacts: upload test artifacts on all runs (not just failures) enabling better analysis of flaky tests

  • Enhanced Annotations: CI now includes annotations for flaky tests in addition to failures

How Has This Been Tested?

Basic checks:

  • npm run lint
  • npm run test

Advanced checks:

  • If Atlassian employee & Bitbucket changes: did you test with DC in mind? See Instructions

Recommendations:

  • Update the CHANGELOG if making a user facing change

@bhorai-atl bhorai-atl force-pushed the AXON-1465-start-work-e2e branch 5 times, most recently from 296829e to 2e40e84 Compare November 11, 2025 14:03
@bhorai-atl bhorai-atl closed this Nov 11, 2025
@bhorai-atl bhorai-atl reopened this Nov 11, 2025
@bhorai-atl bhorai-atl changed the title test: increased startWork e2e test time AXON-1465: increased startWork e2e test time Nov 11, 2025
@bhorai-atl bhorai-atl self-assigned this Nov 11, 2025
@bhorai-atl bhorai-atl marked this pull request as ready for review November 12, 2025 08:52
@bhorai-atl bhorai-atl force-pushed the AXON-1465-start-work-e2e branch from 5e51371 to f7241ad Compare November 13, 2025 18:29
@bhorai-atl bhorai-atl merged commit d97ee48 into main Nov 14, 2025
13 checks passed
@bhorai-atl bhorai-atl deleted the AXON-1465-start-work-e2e branch November 14, 2025 12:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants