Rayrun
← Back to Discord Forum

How to remove step declaration that leads to `.feature.spec.js` when clicking on a step

Hello everyone! Perhaps anyone knows what should I do if I'd like to remove feature.spec.js step suggestions when clicking on a step (cmd+click)? I've tried adding .features-gen to exclude in tsconfig.json file, but it didn't help.

because this interferes with consecutive test execution:

core % npx bddgen && npx playwright test homepage.feature --reporter=list,allure-playwright --workers=2 --quiet
ERROR: Several step definitions found for text: I see in title "Playwright" (tests/acceptance/features/homepage.feature)
- I see in title {string}
- I see in title {string}
image.png

This thread is trying to answer question "How can I remove `feature.spec.js` step suggestions when clicking on a step?"

0 replies

Related Discord Threads

TwitterGitHubLinkedIn
AboutQuestionsDiscord ForumBrowser ExtensionTagsQA Jobs

Rayrun is a community for QA engineers. I am constantly looking for new ways to add value to people learning Playwright and other browser automation frameworks. If you have feedback, email [email protected].