nice video, something I'm looking into right now. Running Playwright with cucumber runner seems such a waste of potential. So playwright-bdd seems like a good solution. Liked and subbed for more.
@Test-Rover-Automation nice playlist. Is there a way to run features which have tags? Just like how we runs tests with certain tags(eg. nom run test --tag=@login in cucumber.
Thanks for the descriptive video 👍 I want to use cucumber, Playwright runner and typescript. Would i need to make any extra configs so that i can debug by stepping into the code of my feature and .ts files in vs code? In the feature file when I click on f12 on a step it doesn't take me to the respective step definition file
@Test-Rover-Automation thanks but what about file linking? When I press F12 on one of the bdd lines in the feature file it doesn't go to the corresponding step definition.
thank you Mahesh I hope you enjoyed this series please share anything if you need help on thank you , that will help me in creating content and need of people
Please make sure you give path in playwrright config file here is the config file github.com/TestRoverAutomation/Playwright-BDD-Automation/blob/main/playwright.config.js
If your version is latest "playwright-bdd": "^7.0.0-1" than in playwright config file you need to provide const testDir = defineBddConfig({ features: ['ecomlogin.feature'], steps: ['ecomsteps.js'] }); from version 7 we have to provide it like this, still you facing issue please provide me code on testroverautomation@gmail.com or your git link I will have a look thank you
Hi I have followed the video, but when I run this cmd "npx bddgen; npx playwright test --reporter=html,list" it will show me error "Error: No tests found" could you help me, please?
Sure if your version is latest "playwright-bdd": "^7.0.0-1" than in playwright config file you need to provide const testDir = defineBddConfig({ features: ['ecomlogin.feature'], steps: ['ecomsteps.js'] }); from version 7 we have to provide it like this, still you facing issue please provide me code on testroverautomation@gmail.com or your git link I will have a look thank you
@@Test-Rover-Automation hi, it's alr fixed. But I have found an error like this "Cannot read properties of undefined (reading 'fill')" did you know something about this error?
Hi, if i am giving command > npx bddgen then i am getting error no BDD configs found. But i have done the same steps which is in the video. Kindly help
Hi there may I please know which version of Playwright BDD you are using , you can try using "playwright-bdd": "^7.2.2", you don't need cucumber dependancy if you are using this version and in Playwright you need to configure something like this const testDir = defineBddConfig({ features: 'tests/features/***.feature', steps: ['tests/steps/***steps.js', 'tests/fixtures/fixture.js' ] }); Very soon I will post the video for this update Thank you
One suggestion: Kindly provide all the commands and feature file or doc links that you're using or showcasing during the tutorial. Thanks
nice video, something I'm looking into right now.
Running Playwright with cucumber runner seems such a waste of potential.
So playwright-bdd seems like a good solution.
Liked and subbed for more.
Thank your feedback
@Test-Rover-Automation nice playlist.
Is there a way to run features which have tags?
Just like how we runs tests with certain tags(eg. nom run test --tag=@login in cucumber.
Hi please review this video I have explain how to run the tags ruclips.net/video/2YChXd8s_nc/видео.htmlsi=LlfQuwT3zLT1p9s3
Great video,quite helpful
Thank you for your feedback
Thanks for the descriptive video 👍
I want to use cucumber, Playwright runner and typescript. Would i need to make any extra configs so that i can debug by stepping into the code of my feature and .ts files in vs code?
In the feature file when I click on f12 on a step it doesn't take me to the respective step definition file
No you don't need any extra config you can run same config but the playwright bdd generated file would appear in JS format
@Test-Rover-Automation thanks but what about file linking? When I press F12 on one of the bdd lines in the feature file it doesn't go to the corresponding step definition.
can you please do video on plywright api test using bdd?
Sure will soon do till next week I will post it thank you for your suggestion
Awesome thank you !
thank you Mahesh I hope you enjoyed this series please share anything if you need help on thank you , that will help me in creating content and need of people
When i am trying to run my feature file using npx bddgen; npx playwright test --reporter=html,list....then the example.spec.js is running
Hi Can you please provide your code, I can have a look send me git link of email me at testroverautomation@gmail.com
After adding a feature file, when I ran the npx bddgen to generate steps, the "No step definitions found!" console message is displaying
Please make sure you give path in playwrright config file here is the config file github.com/TestRoverAutomation/Playwright-BDD-Automation/blob/main/playwright.config.js
If your version is latest "playwright-bdd": "^7.0.0-1" than in playwright config file you need to provide
const testDir = defineBddConfig({
features: ['ecomlogin.feature'],
steps: ['ecomsteps.js']
}); from version 7 we have to provide it like this, still you facing issue please provide me code on testroverautomation@gmail.com or your git link I will have a look thank you
@@Test-Rover-Automation Thanks for your response. I shared the code to you email address. Please share the fix. Thanks
Please upgrade your project to "playwright-bdd": "^7.2.1"
Hi I have followed the video, but when I run this cmd "npx bddgen; npx playwright test --reporter=html,list" it will show me error "Error: No tests found" could you help me, please?
Sure if your version is latest "playwright-bdd": "^7.0.0-1" than in playwright config file you need to provide
const testDir = defineBddConfig({
features: ['ecomlogin.feature'],
steps: ['ecomsteps.js']
}); from version 7 we have to provide it like this, still you facing issue please provide me code on testroverautomation@gmail.com or your git link I will have a look thank you
@@Test-Rover-Automation hi, it's alr fixed. But I have found an error like this "Cannot read properties of undefined (reading 'fill')" did you know something about this error?
@@rotamapandi9251 Hi Can you send me your code I can check what is the issue or screenshots
Please upgrade project to "playwright-bdd": "^7.2.1"
Please check this video here ruclips.net/video/E6TyDaLa3Xk/видео.html thank you
Hi Brother. DO you have the same sample repo project for PlayWright with BDD frame work java. Do you have a mail id to reach out?
Please review this video here ruclips.net/video/E6TyDaLa3Xk/видео.html
> npx bddgen
No step definitions found! , after run this without step definition
Please try to upgrade your project to "playwright-bdd": "^7.2.1"
Hi, if i am giving command > npx bddgen then i am getting error no BDD configs found. But i have done the same steps which is in the video. Kindly help
Hi there may I please know which version of Playwright BDD you are using , you can try using "playwright-bdd": "^7.2.2", you don't need cucumber dependancy if you are using this version and in Playwright you need to configure something like this
const testDir = defineBddConfig({
features: 'tests/features/***.feature',
steps: ['tests/steps/***steps.js', 'tests/fixtures/fixture.js' ]
});
Very soon I will post the video for this update Thank you
Yeah resolved for me thank you..but please update the latest with 7.2.2.
@@sunnymayank4274 Hi, how you resoled this? I too facing the same issue
Did you overcome the issue? Am still facing the same@@kavyapulapaka4357
Hi Please review this video here ruclips.net/video/E6TyDaLa3Xk/видео.html hope this will sort all your problems thank you
is this work with typescipt also?
Hi @Mjain, Yes you can use typescript as well