We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Given
export default defineConfig({ ... project : { name: "login-chrome", testDir: defineBddConfig({ outputDir: ".features-gen/login", importTestFrom: "page-objects/basePage.ts", paths: ["./features/login.feature"], require: ["page-objects/*.ts"], featuresRoot: "./features", verbose: true, }), }, { name: "Regresion - Chrome", testDir: defineBddConfig({ outputDir: ".features-gen/regression", importTestFrom: "page-objects/basePage.ts", paths: ["./features/todo.feature"], require: ["page-objects/*.ts"], featuresRoot: "./features", verbose: true, }), dependencies: ["login-chrome"], }
` @Then('page screenshot matches previous one') async matchScreenshot() { await expect(this.page).toHaveScreenshot(); } @Then('page screenshot matches previous one') async matchScreenshotv2() { await expect(this.page).toHaveScreenshot(); }`
When I execute npx bddgen
Then no error msg is displayed and the test cases are not generated
Expected behavior Error: Several step definitions found for text: page screenshot matches previous one (features\todopage.feature)
Isolated demo (vitalets/playwright-bdd-example#7)
Environment
The text was updated successfully, but these errors were encountered:
@jzaratei thanks for reporting! Will fix in the nearest release.
Sorry, something went wrong.
fix duplicate steps error message, [#74]
de2b7b7
Released in v5.6.0. Please re-check on your side and report if there are any issues.
All is working fine!
No branches or pull requests
Given
When
I execute npx bddgen
Then
no error msg is displayed and the test cases are not generated
Expected behavior
Error: Several step definitions found for text: page screenshot matches previous one (features\todopage.feature)
Isolated demo
(vitalets/playwright-bdd-example#7)
Environment
The text was updated successfully, but these errors were encountered: