Cypress vs playwright | API testing

Поділитися
Вставка
  • Опубліковано 6 сер 2023
  • Cypress vs Playwright comparison. Which one is faster?
    Which one to choose for automation testing?
    Quick links to get in touch:
    QA Courses :
    Courses For Beginners with no experience :
    1. Manual QA Training (1,5 months duration) - Try for FREE - codemify.com/manual-qa-course...
    2. Complete QA Course Manual + Automation QA (5 months duration)- sign up for a free Intro lesson here - codemify.com/courses
    Advanced Courses :
    1. QA Automation Training/SDET (3,5 months duration) - Try for FREE - codemify.com/automation-qa-tr...
    Courses Schedule - codemify.com/courses-schedule
    Call with experts - prepare for the interview, answer your questions, and resume preparation - codemify.com/meeting_expert
    QA Practical Experience / Self practice - education
    1. Practice your Manual QA skills in a startup -
    codemify.com/qa-practice-expe...
    2. Manual QA video lessons + QA practice in a Startup -
    codemify.com/qa-practice-and-...
    UA-cam playlists for you:
    ✅ More about QA Job: • About QA Job
    ✅ Our student's reviews: • Student Reviews
    ▶️JavaScript: • JavaScript
    ▶️WDIO: • WDIO
    ▶️API TEST Automation:
    • API Test Automation
    ▶️Jira: • Jira
    Change your career and become an IT professional with us.
    ❗️Info about our courses and mentorship - codemify.com/
    ✔️ Registration form for the course - ​codemify.com/contact
    ✔️Our student reviews: codemify.com/testimonials
    ✔️FAQ of QA training: codemify.com/faq
    ✔️Follow us on Instagram :
    / codemify_
    ✔️ Get a free consultation or sign up for a course, questions about the course -
    email - support@codemify.com
    ✔️ Telegram: t.me/codemifyschool
    #playwrighttesting
    #playwrightautomation
    #playwrightexamples
    #playwrightjs
    #playwrightdocumentation
    #playwrighttutorial
    #playwrightapitesting
    #playwrightclasses

КОМЕНТАРІ • 25

  • @MichaelAuerswald
    @MichaelAuerswald 10 місяців тому +5

    Tip: you can run your commands on macos with `time` in front to get the runtime, rather than wrapping it in dates. so, `time npx cypress run`

    • @Codemify
      @Codemify  10 місяців тому

      Thank you for the Típ!
      Appreciate it 🙌🏼

  • @AndreAngelantoni
    @AndreAngelantoni 9 місяців тому +5

    Playwright is more than 2x faster, in my experience. I write a library that includes tests for both Cypress and Playwright (Automated Testing Kit) and Cypress is more difficult to write the same tests. Plus the Cypress team doesn't respond to bugs as quickly or at all. My prediction: Playwright will take over in downloads in two years and will have greater market share in 5 years.

    • @Codemify
      @Codemify  9 місяців тому +2

      I’m fully with you 🙌🏼

    • @Q.b.9378
      @Q.b.9378 7 місяців тому +1

      100% agree. I used cypress initially and told them about issues i had and limitations. They told me I'm doing it wrong. I switched to playwright and haven't had any issues.

  • @dimasta4398
    @dimasta4398 11 місяців тому +2

    Great video, excited to see UI compressing)

    • @Codemify
      @Codemify  11 місяців тому

      My pleasure! It's coming soon 🔥

  • @berndeveloper
    @berndeveloper 5 місяців тому +2

    I'll change my end to end tool thanks to this video, playwright is killing it

    • @Codemify
      @Codemify  5 місяців тому +1

      My greatest pleasure!

  • @fantasyfrontier842
    @fantasyfrontier842 11 місяців тому +2

    Great video, keep up the good work we like more videos like this👍

    • @Codemify
      @Codemify  11 місяців тому +1

      Thank you, Nassim 🤝

  • @mykhailo7134
    @mykhailo7134 11 місяців тому +3

    printing new line to console 1000 times takes time so comparison is not 100% fair
    definetly playwright is faster

    • @Codemify
      @Codemify  11 місяців тому

      Agreed. Probably 99% fair 🤝

  • @franciscobeukes440
    @franciscobeukes440 9 місяців тому

    Hi Codemify, Can you also add Selenium just for the fun of it when you do UI tests. Thanks

    • @Codemify
      @Codemify  9 місяців тому

      Sure. It’s a good idea. I’ll record it in a few weeks

  • @robinknipe
    @robinknipe 5 місяців тому +1

    Nice to see someone else pointing out `time` (also works for linux, maybe even gitbash on Windows!?). I have to pick a fault with your apples2apples comparison, you're actually comparing aplles2pineapples... the logging that occurs in the cypress test will skew the results, more so as you're also recording the output! If you get cypress to just print a summary (same as playwright) then at least your comparison is fairer. A little time saver if you do something similar in the future: `echo '[]' > ./my-db.json && npm start & srvrID=$! ; time npx ; kill $srvrID` will allow you to clean/start/run/stop in one go, without interfering with the timing.

    • @Codemify
      @Codemify  5 місяців тому

      That's a good one! I'll try it next time I do comparison

  • @Codemify
    @Codemify  11 місяців тому

    $50/month - Get *QA hands-on practice* before applying for a QA job - codemify.com/qa-practice-experience
    $150/month - *QA video course* for beginners - codemify.com/qa-practice-and-video-course-for-beginners
    from $1,490 *QA Courses* with *Mentor's support* 24/7 - codemify.com

  • @user-vd3zq6zz1p
    @user-vd3zq6zz1p 11 місяців тому +1

    playwright faster!

  • @Gabranthh
    @Gabranthh 4 місяці тому

    Gonna guess playwright to be faster

  • @marylandman
    @marylandman 8 місяців тому

    cypress

  • @ezzeldienrashad8374
    @ezzeldienrashad8374 10 місяців тому +1

    My guess before watching: Playwright is faster.

  • @NewYork81983
    @NewYork81983 10 місяців тому

    This video could have been about 5 minutes lol. TLDR Playwright is faster

    • @Codemify
      @Codemify  10 місяців тому

      😹😹😹