Playwright and Cucumber: EASY SETUP

แชร์
ฝัง
  • เผยแพร่เมื่อ 8 ก.พ. 2025
  • In this video, I walk you through setting up a Node.js project for end-to-end testing using Playwright, Cucumber, and TypeScript. From project initialization to CI/CD setup, you'll get everything you need to kickstart your test automation journey!
    📌 Topics Covered:
    ✅ Project Initialization (npm init -f)
    ✅ Playwright Installation (npm init playwright@latest)
    ✅ Cucumber Setup (npm install -D @cucumber/cucumber)
    ✅ TypeScript & ts-node Setup (npm install -D ts-node)
    ✅ Project Structure Changes (folders & files setup)
    ✅ Feature File Creation (login.feature example)
    ✅ TypeScript & Cucumber Configuration (tsconfig.json, cucumber.json)
    ✅ Cucumber Report Generation (JSON & HTML reports)
    ✅ .gitignore Configuration (excluding node_modules, reports, etc.)
    ✅ GitHub Actions CI/CD Integration
    📂 Source Code:
    👉 github.com/Joa...
    🔥 If you found this video helpful, please like, comment, and subscribe for more automation tutorials!
    #NodeJS #Playwright #Cucumber #TypeScript #Automation #Testing #GitHubActions 🚀

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

  • @jksspilnik75
    @jksspilnik75 5 วันที่ผ่านมา +1

    Why the hell do people keep forcing that useless Cucumber into test frameworks?
    Playwright has excellent logs, and its report is already awesome!

    • @joanmedia
      @joanmedia  5 วันที่ผ่านมา +1

      No clue, I prefer to use it without cucumber as well.
      But I have noticed there is people who use it, so I just try to explore and learn it 😅

    • @jksspilnik75
      @jksspilnik75 5 วันที่ผ่านมา

      @@joanmedia got you