Open ShanmukhaGajula opened 2 years ago
@1996phani would https://codecept.io/playwright/ serve your needs?
BDD implementation with Playwright test runner is what am also looking for..
It would be great to have BDD with Playwright
@1996phani would https://codecept.io/playwright/ serve your needs?
@unlikelyzero, The package you're mentioning has been deprecated.
I am looking for something kind of Native support from the Playwright
Let's collect upvotes. Please upvote the OP!
Yeah BBD is a must thing!
It would be helpful ,if we have BDD along with Playwright.
BDD support is a perk
bdd is a good feature to have.. i am using in selenium java.. i need it in playwright to migrate
I'm looking for bdd too!
Good to have BDD with playwright
Having BDD with Playwright will be helpful
@1996phani would https://codecept.io/playwright/ serve your needs?
@unlikelyzero, The package you're mentioning has been deprecated.
I am looking for something kind of Native support from the Playwright
@ShanmukhaGajula where does it say that?
@1996phani would https://codecept.io/playwright/ serve your needs?
@unlikelyzero, The package you're mentioning has been deprecated. I am looking for something kind of Native support from the Playwright
@ShanmukhaGajula where does it say that?
I see a pop-up yesterday when I opened that link. I think they've removed now. However, I see playwright test runner and reporting is very good and hence requesting Playwright team for that feature within playwright itself.
BDD is always good to have
Yes, Looking for BDD to implement playwright in our project.
BDD is a must-have feature for us too! It really helps.
Hope playwright will add this BDD feature..
i was also looking for same.. BDD will really add value
I'm looking for BDD too!
Looking forward to have BDD feature with Playwright,
It would be great to have BDD with Playwright
It would be helpful ,if we have BDD along with Playwright.
It would be nice to have BDD along with Playwright.
BDD with Playwright! That sounds great. Looking forward to it.
It would be good to have the BDD feature, looking forward for it
@pavelfeldman Looks like 90% of the comments and upvotes are well planned, just digging through the user profile, most of the users just opened GitHub account to upvote this request.
May be one particular group of users really need this!
Playwright has already got support to write BDD tests using cucumber.js(dependency = "@cucumber/cucumber": "^7.3.1",). I am just wondering whether PlaywrightTestConfig (dependency = '@playwright/test') is supported in BDD tests(GIVEN, WHEN, THEN because the global configuration (const config: PlaywrightTestConfig = { use: {.......) is not being picked automatically as written in https://playwright.dev/docs/test-configuration#global-configuration eventhough I am using playwright test runner.
Looks like the PlaywrightTestConfig works only with 'test' block in .ts or .js file. Can somebody confirm this how to call PlaywrightTestConfig in BDD tests using playwright test runner.
Cucumber integration with playwright. Looking forward for it.
Upvote! Implementation of BDD will be great!!!
Definitely a needed feature.
Cucumber integration with playwright. +1
An official cucumber Playwright adapter is needed to use all the features of playwright which works on 'test' block i.e. with @playwright/test test runnier. Please see the comment of @mxschmitt:
https://github.com/microsoft/playwright/issues/12069#issuecomment-1047112096
Definitely needed. Integrating with e.g. Cucumber as the test runner is hacky.
Do you know when the cucumber integration will be done? This is really needed as not being able to run the tests with playwright test runner is really limiting
Would be really great if we have an official support for BDD, for syntaxes like Cucumber, etc.
We are also very much waiting for bdd support in playwright. Now we use cucumber runner and playwright. But I really wanted to be able to also use plywright.config in this case
Upvote x1000
+1 for adding Playwright Test Cucumber integration
Pls consider the Playwright/Test-Cucumber integration
a playwright native bdd test runner would be great
It would be great to have native bdd in playwright test runner
It would be awesome to use Playwright Test with Cucumber BDD. I am upvoting behalf of all teams in our company as Test Architect.
Adding votes on behalf of my company for this feature.
Are there any plans to implement this feature request?
@kumars3 is perfectly right with https://github.com/microsoft/playwright/issues/11975#issuecomment-1038297911. It's not completely necessary to implement a BDD framework for Playwright however hooks into Playwrights' initialisation need to be exposed so that the Playwright context can be initialised. I've done some digging to try and figure out a way and came up with nothing.
Does anyone know of a workaround here so in setups within other test runners' @playwright/test
context can be initialised?
@kumars3 is perfectly right with #11975 (comment). It's not completely necessary to implement a BDD framework for Playwright however hooks into Playwrights' initialisation need to be exposed so that the Playwright context can be initialised. I've done some digging to try and figure out a way and came up with nothing.
Does anyone know of a workaround here so in setups within other test runners'
@playwright/test
context can be initialised?
I initialize the browser and context in a beforeAll hook with cucumber js. As for settings like timeout they get picked up from playwright.config.js the only issue I’m having is that I need to configure video and trace recording manually in the hooks they are not picked up from the playwright config.
@kumars3 is perfectly right with #11975 (comment). It's not completely necessary to implement a BDD framework for Playwright however hooks into Playwrights' initialisation need to be exposed so that the Playwright context can be initialised. I've done some digging to try and figure out a way and came up with nothing. Does anyone know of a workaround here so in setups within other test runners'
@playwright/test
context can be initialised?I initialize the browser and context in a beforeAll hook with cucumber js. As for settings like timeout they get picked up from playwright.config.js the only issue I’m having is that I need to configure video and trace recording manually in the hooks they are not picked up from the playwright config.
I'm experiencing the same issue. It also affects the toMatchSnapshot
assertion.
@pavelfeldman this is the 3rd most popular issue on the playwright. Is there any workaround you know of to use another test runner by initialising @playwright/test
context in a similar manner?
A lot of companies won't consider using Playwright Test without Cucumber because they would be migrating from their current framework which already supports Cucumber and BDD, and it's an important part of their development process so it's a necessity
@pavelfeldman is it possible to get an update on this please? Even if that's to give a rough timeline or just to say it's not currently on the horizon. This will help people, such as myself, who are looking at automation tools to decide whether they can initially work without Cucumber and integrate it later knowing it's coming within a certain timeframe, or that they just need to use a different tool.
Our team has a case to use the BDD test, Playwright has any plan to add their own BDD implementation using the playwright test runner? That would be great if to have.
This can help many people who want to use BDD along with Playwright. That's where cucumber became popular 😉