Skip to content

fix: stabilize flaky costumes integration test (#447)#448

Merged
takaokouji merged 1 commit into
developfrom
fix/flaky-costumes-test-447
Apr 4, 2026
Merged

fix: stabilize flaky costumes integration test (#447)#448
takaokouji merged 1 commit into
developfrom
fix/flaky-costumes-test-447

Conversation

@takaokouji
Copy link
Copy Markdown

Summary

  • Increase jest.setTimeout from 60s to 90s for costume integration tests to handle CI resource contention
  • Add waitForLoadingFinished() after opening the costume library modal in two tests that interact with library contents

Changes Made

  1. jest.setTimeout(90_000) — gives more headroom on slow CI runners
  2. "Adding a costume through the library" — added waitForLoadingFinished() between opening modal and searching
  3. "Adding a letter costume through the Letters filter" — added waitForLoadingFinished() between opening modal and clicking filter

Test Coverage

  • No new tests needed — this fixes flaky behavior in existing tests
  • The fix is safe: waitForLoadingFinished() is a no-op if loading is already complete

Fixes #447

Add waitForLoadingFinished() after opening the costume library modal
to handle slow library loading in CI. Increase jest.setTimeout from
60s to 90s as additional safety margin.

Fixes #447

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 4, 2026

@takaokouji takaokouji merged commit 6001e80 into develop Apr 4, 2026
9 checks passed
@takaokouji takaokouji deleted the fix/flaky-costumes-test-447 branch April 4, 2026 16:45
github-actions Bot pushed a commit that referenced this pull request Apr 4, 2026
…tumes-test-447

fix: stabilize flaky costumes integration test (#447)
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.

fix: flaky integration test — costumes.test.js timeout on library add

1 participant