Skip to content

Conversation

hasanmo
Copy link
Member

@hasanmo hasanmo commented Nov 19, 2026

The quality job on #130 failed because two recipe form scenarios exceeded Vitest's default five-second timeout and the title test observed the previous title before the effect updated it.

Give only the two long interaction scenarios a 15-second timeout, matching the existing drag scenario, and wait for the expected document title in each edit-page state. All interaction and focus assertions remain in place. Only the test file changes; the global timeout and application behavior are unchanged.

Validation:

  • All 320 tests across 51 files passed locally, including the 31 recipe form tests.
  • ESLint, generated types, migration checks, TypeScript and production builds passed.
  • Prettier passed with --end-of-line auto; the default local formatting check stopped on Windows CRLF checkouts. Generated files were regenerated to normalize line endings and confirmed unchanged in Git.
  • git diff --check passed.
  • The original test file also passed locally before the change, so the CI timing failure was not reproduced locally. CI validation remains necessary. Database integration and Playwright suites were not rerun locally for this test-only change.

Merge this fix into dev, then update #130 from dev so its quality check includes the test correction.

@hasanmo
Copy link
Member Author

hasanmo commented Nov 19, 2026

Closing this PR because its complete test fix has been included in #130 as commit 5a16c70. Review and CI validation will continue in #130; no changes have been discarded.

@hasanmo hasanmo closed this Nov 19, 2026
@oliveror oliveror deleted the fix/recipe-form-test-stability branch November 20, 2026 15:31
Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant