diff --git a/test/duplicate-steps/playwright.config.ts b/test/duplicate-steps/playwright.config.ts index 12b5f200..380cc715 100644 --- a/test/duplicate-steps/playwright.config.ts +++ b/test/duplicate-steps/playwright.config.ts @@ -18,7 +18,9 @@ function noDuplicates(): Project { testDir: defineBddConfig({ outputDir: `.features-gen/no-duplicates`, paths: ['features/*.feature'], - require: ['steps/steps.ts'], + // with require step locations are invalid + // require: ['steps/steps.ts'], + steps: ['steps/steps.ts'], tags: '@no-duplicates', }), }; @@ -30,7 +32,9 @@ function duplicateRegularSteps(): Project { testDir: defineBddConfig({ outputDir: `.features-gen/regular`, paths: ['features/*.feature'], - require: ['steps/steps.ts'], + // with require step locations are invalid + // require: ['steps/steps.ts'], + steps: ['steps/steps.ts'], tags: '@duplicate-regular-steps', }), };