playwright icon indicating copy to clipboard operation
playwright copied to clipboard

[Feature] BDD implementation with Playwright test runner

Open ShanmukhaGajula opened this issue 3 years ago • 169 comments
trafficstars

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 😉

ShanmukhaGajula avatar Feb 09 '22 18:02 ShanmukhaGajula

@1996phani would https://codecept.io/playwright/ serve your needs?

unlikelyzero avatar Feb 09 '22 18:02 unlikelyzero

BDD implementation with Playwright test runner is what am also looking for..

saranyakakarlapudi avatar Feb 09 '22 18:02 saranyakakarlapudi

It would be great to have BDD with Playwright

keshavmunagala avatar Feb 09 '22 18:02 keshavmunagala

@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 avatar Feb 09 '22 18:02 ShanmukhaGajula

Let's collect upvotes. Please upvote the OP!

pavelfeldman avatar Feb 09 '22 19:02 pavelfeldman

Yeah BBD is a must thing!

CodeStrikerr avatar Feb 09 '22 19:02 CodeStrikerr

It would be helpful ,if we have BDD along with Playwright.

soundaryakk avatar Feb 10 '22 05:02 soundaryakk

BDD support is a perk

kvsrk432 avatar Feb 10 '22 06:02 kvsrk432

bdd is a good feature to have.. i am using in selenium java.. i need it in playwright to migrate

siddharththakurji avatar Feb 10 '22 07:02 siddharththakurji

I'm looking for bdd too!

Vinaymanchala avatar Feb 10 '22 08:02 Vinaymanchala

Good to have BDD with playwright

Geetha2604 avatar Feb 10 '22 09:02 Geetha2604

Having BDD with Playwright will be helpful

dimmetasowjanya avatar Feb 10 '22 09:02 dimmetasowjanya

@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?

unlikelyzero avatar Feb 10 '22 10:02 unlikelyzero

@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.

ShanmukhaGajula avatar Feb 10 '22 11:02 ShanmukhaGajula

BDD is always good to have

abhirammocharla avatar Feb 10 '22 11:02 abhirammocharla

Yes, Looking for BDD to implement playwright in our project.

PranayEtikala avatar Feb 10 '22 11:02 PranayEtikala

BDD is a must-have feature for us too! It really helps.

Akhila4062 avatar Feb 10 '22 11:02 Akhila4062

Hope playwright will add this BDD feature..

Mohan2736 avatar Feb 10 '22 11:02 Mohan2736

i was also looking for same.. BDD will really add value

agarwalu avatar Feb 10 '22 11:02 agarwalu

I'm looking for BDD too!

marko-simic avatar Feb 10 '22 13:02 marko-simic

Looking forward to have BDD feature with Playwright,

IsabelFrancis avatar Feb 11 '22 03:02 IsabelFrancis

It would be great to have BDD with Playwright

KalyanPuppala36 avatar Feb 11 '22 08:02 KalyanPuppala36

It would be helpful ,if we have BDD along with Playwright.

ghost avatar Feb 11 '22 08:02 ghost

It would be nice to have BDD along with Playwright.

NagaSivaSankar45 avatar Feb 11 '22 08:02 NagaSivaSankar45

BDD with Playwright! That sounds great. Looking forward to it.

LoneyR001 avatar Feb 11 '22 08:02 LoneyR001

It would be good to have the BDD feature, looking forward for it

pbusam avatar Feb 11 '22 08:02 pbusam

@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!

macroking avatar Feb 11 '22 10:02 macroking

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.

kumars3 avatar Feb 13 '22 17:02 kumars3

Cucumber integration with playwright. Looking forward for it.

isherkhan avatar Feb 14 '22 03:02 isherkhan

Upvote! Implementation of BDD will be great!!!

AlexKomanov avatar Feb 14 '22 08:02 AlexKomanov