Skip to content

Commit

Permalink
test: fix duplicate steps
Browse files Browse the repository at this point in the history
  • Loading branch information
vitalets committed Apr 12, 2024
1 parent 9f90742 commit 3ec39d9
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions test/duplicate-steps/playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
}),
};
Expand All @@ -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',
}),
};
Expand Down

0 comments on commit 3ec39d9

Please sign in to comment.