fix: update Cucumber config and hooks to properly load test infrastructure

- Add support files to require config for proper hook loading
- Remove database cleanup from hooks (browser-only testing)
- Fix World type issues in hooks
- Cucumber tests now run successfully
This commit is contained in:
2026-04-25 21:24:14 -07:00
parent a1d754a5fb
commit 933f2cf808
2 changed files with 12 additions and 20 deletions
+3
View File
@@ -9,6 +9,9 @@ module.exports = {
// Paths to step definitions
import: ['e2e/cucumber/step-definitions/**/*.ts'],
// Paths to support files (hooks, world)
require: ['e2e/cucumber/support/**/*.ts'],
// Use tsx loader for TypeScript with path aliases
requireModule: ['tsx'],