Run Playwright Tests in Bitbucket Pipelines

แชร์
ฝัง
  • เผยแพร่เมื่อ 4 ต.ค. 2024
  • In this video, I show you how to integrate automated Playwright tests to Bitbucket Pipelines. You'll learn how to configure Bitbucket Pipelines to install the test framework, run the tests and save artifacts.
    Subscribe: www.youtube.co...
    LinkedIn: / martti-venell-076910261
    More about CI: • Continuous Testing
    More about test automation: • Test Automation

ความคิดเห็น • 12

  • @MogaliPhotos
    @MogaliPhotos 5 หลายเดือนก่อน

    Good one Martti

    • @errorfarm
      @errorfarm  5 หลายเดือนก่อน

      Thank you!

  • @lukecage9964
    @lukecage9964 2 หลายเดือนก่อน

    can you prepare a demo using playwright on bitbucket pipelines running tests with multiple workers and shards?

    • @errorfarm
      @errorfarm  2 หลายเดือนก่อน +1

      Here's my video about test sharding: th-cam.com/video/42jRjc923oE/w-d-xo.html

  • @jamillavanveen9523
    @jamillavanveen9523 หลายเดือนก่อน +1

    I get this error message, with exactly the same .yml file "npm error The `npm ci` command can only install with an existing package-lock.json or
    npm error npm-shrinkwrap.json with lockfileVersion >= 1. Run an install with npm@5 or"
    Can you help?

    • @errorfarm
      @errorfarm  หลายเดือนก่อน

      Yes, of course. Check from your repo that you committed also package-lock.json. If you use npm ci, it needs that. You can also try leaving out the npm ci line, but that’s not the recommended way (by the Playwright team).

    • @jamillavanveen9523
      @jamillavanveen9523 หลายเดือนก่อน

      @@errorfarm thanks for the Quick reply. I'm a beginner in test automation. In which folder do I need to check? In the node_modules folder I do only see a package.json and not a package-lock.json. What is the easiest way to fix this?

    • @errorfarm
      @errorfarm  หลายเดือนก่อน +1

      It should be in the project folder (not in node_modules folder). Go to that folder with terminal or command prompt. Check what files are in the version control by typing 'git status'. Then add the file 'git add package-lock.json'. Commit: 'git commit -m "Added package lock file"'. Push: 'git push'.

  • @MaheshJoshi_wellington
    @MaheshJoshi_wellington 7 หลายเดือนก่อน +1

    Awesome

    • @errorfarm
      @errorfarm  5 หลายเดือนก่อน

      Thanks!

  • @KushagraDwivedi1
    @KushagraDwivedi1 4 หลายเดือนก่อน

    What's that song

    • @errorfarm
      @errorfarm  4 หลายเดือนก่อน

      There are three songs from Track Tribe:
      1. Last Train North
      2. As You Were
      3. Now I Know