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:
@@ -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'],
|
||||
|
||||
|
||||
Reference in New Issue
Block a user