Skip to content

✅ Add frontend/playwright/.auth to .dockerignore to fix e2e tests run locally - #2395

Open
YuriiMotov wants to merge 1 commit into
masterfrom
fix-backend-reload-during-playwright-tests
Open

✅ Add frontend/playwright/.auth to .dockerignore to fix e2e tests run locally#2395
YuriiMotov wants to merge 1 commit into
masterfrom
fix-backend-reload-during-playwright-tests

Conversation

@YuriiMotov

@YuriiMotov YuriiMotov commented Jul 31, 2026

Copy link
Copy Markdown
Member

Description

Currently if you run playwright tests locally, they will fail because Playwright updates file inside frontend/playwright/.auth and it triggers backend service reload during the tests.

To reproduce:

docker compose watch backend db mailcatcher

# In another terminal
cd frontend
bunx playwright test

See several random tests failing on each run.

To fix this we need to ignore this path by adding it to .dockerignore

AI Disclaimer

Used Claude Code (Opus 5) to investigate and fix the issue. Reviewed and verified manually

Checklist

  • This PR links to a GitHub Discussion for the proposed code change.
  • I added tests for the change.
  • The new or updated tests fail on the main branch and pass on this PR.
  • Coverage stays at 100%.
  • The documentation explains the change if needed.

@YuriiMotov YuriiMotov added the internal Internal changes label Jul 31, 2026
@YuriiMotov
YuriiMotov marked this pull request as ready for review July 31, 2026 17:25
@YuriiMotov
YuriiMotov requested a review from tiangolo July 31, 2026 17:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

internal Internal changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants