Playwright BDD | Playwright Test Runner | POM | Playwright Fixtures

Поделиться
HTML-код
  • Опубликовано: 27 ноя 2024

Комментарии • 43

  • @QWIKReferral
    @QWIKReferral Месяц назад

    One suggestion: Kindly provide all the commands and feature file or doc links that you're using or showcasing during the tutorial. Thanks

  • @alexusadays
    @alexusadays 7 месяцев назад +1

    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.

  • @manojbabu7254
    @manojbabu7254 Месяц назад

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

    • @Test-Rover-Automation
      @Test-Rover-Automation  Месяц назад

      Hi please review this video I have explain how to run the tags ruclips.net/video/2YChXd8s_nc/видео.htmlsi=LlfQuwT3zLT1p9s3

  • @umesh1056
    @umesh1056 3 месяца назад +1

    Great video,quite helpful

  • @notmyname2027
    @notmyname2027 4 месяца назад +1

    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
      @Test-Rover-Automation  3 месяца назад

      No you don't need any extra config you can run same config but the playwright bdd generated file would appear in JS format

    • @notmyname2027
      @notmyname2027 3 месяца назад

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

  • @jessytalasani
    @jessytalasani 2 месяца назад +1

    can you please do video on plywright api test using bdd?

    • @Test-Rover-Automation
      @Test-Rover-Automation  2 месяца назад

      Sure will soon do till next week I will post it thank you for your suggestion

  • @MaheshJoshi_wellington
    @MaheshJoshi_wellington 8 месяцев назад

    Awesome thank you !

    • @Test-Rover-Automation
      @Test-Rover-Automation  8 месяцев назад +1

      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

  • @sunnymayank4274
    @sunnymayank4274 3 месяца назад

    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

    • @Test-Rover-Automation
      @Test-Rover-Automation  3 месяца назад

      Hi Can you please provide your code, I can have a look send me git link of email me at testroverautomation@gmail.com

  • @channakeshava.p
    @channakeshava.p 4 месяца назад

    After adding a feature file, when I ran the npx bddgen to generate steps, the "No step definitions found!" console message is displaying

    • @Test-Rover-Automation
      @Test-Rover-Automation  4 месяца назад

      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

    • @Test-Rover-Automation
      @Test-Rover-Automation  4 месяца назад +1

      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

    • @channakeshava.p
      @channakeshava.p 4 месяца назад

      @@Test-Rover-Automation Thanks for your response. I shared the code to you email address. Please share the fix. Thanks

    • @Test-Rover-Automation
      @Test-Rover-Automation  3 месяца назад

      Please upgrade your project to "playwright-bdd": "^7.2.1"

  • @rotamapandi9251
    @rotamapandi9251 4 месяца назад

    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?

    • @Test-Rover-Automation
      @Test-Rover-Automation  4 месяца назад

      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

    • @rotamapandi9251
      @rotamapandi9251 4 месяца назад

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

    • @Test-Rover-Automation
      @Test-Rover-Automation  4 месяца назад

      @@rotamapandi9251 Hi Can you send me your code I can check what is the issue or screenshots

    • @Test-Rover-Automation
      @Test-Rover-Automation  3 месяца назад

      Please upgrade project to "playwright-bdd": "^7.2.1"

    • @Test-Rover-Automation
      @Test-Rover-Automation  3 месяца назад

      Please check this video here ruclips.net/video/E6TyDaLa3Xk/видео.html thank you

  • @Al-oh9yr
    @Al-oh9yr 4 месяца назад

    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?

    • @Test-Rover-Automation
      @Test-Rover-Automation  3 месяца назад

      Please review this video here ruclips.net/video/E6TyDaLa3Xk/видео.html

  • @note-dhan
    @note-dhan 4 месяца назад

    > npx bddgen
    No step definitions found! , after run this without step definition

    • @Test-Rover-Automation
      @Test-Rover-Automation  3 месяца назад

      Please try to upgrade your project to "playwright-bdd": "^7.2.1"

  • @sunnymayank4274
    @sunnymayank4274 3 месяца назад

    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

    • @Test-Rover-Automation
      @Test-Rover-Automation  3 месяца назад

      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

    • @sunnymayank4274
      @sunnymayank4274 3 месяца назад

      Yeah resolved for me thank you..but please update the latest with 7.2.2.

    • @kavyapulapaka4357
      @kavyapulapaka4357 3 месяца назад

      @@sunnymayank4274 Hi, how you resoled this? I too facing the same issue

    • @shireeshapalathuri1114
      @shireeshapalathuri1114 3 месяца назад

      Did you overcome the issue? Am still facing the same​@@kavyapulapaka4357

    • @Test-Rover-Automation
      @Test-Rover-Automation  3 месяца назад

      Hi Please review this video here ruclips.net/video/E6TyDaLa3Xk/видео.html hope this will sort all your problems thank you

  • @Mjain37
    @Mjain37 5 месяцев назад

    is this work with typescipt also?