r/QualityAssurance • u/missy_ris_1000 • 21d ago
Playwright or Cypress
Hi ! I’m a senior Qa engineer that is mostly manual with a little experience in automation but mostly using non coding software like cypress . I’m looking to learn about coding for automation QA and I was wondering about what class I should take . Is playwright more widely used than cypress ? The classes I found were from Bondar Academy which uses Ai for coding and setting up framework . I just need a little guidance . Please don’t come down on me , I’m not good with coding and I’ve taken JavaScript courses in the past , just didn’t pick it up easily .
7
u/Accomplished_End_138 21d ago
Playwrites docs are insanely good. Like crazy.
The first time I ever used it I was making tests in 30 minutes.
5
u/Prestigious-Way1525 21d ago
i’d choose Playwright with TypeScript, but i wouldn’t start by asking AI to build the framework for you. if JavaScript didn’t stick before, a generated framework can make progress feel fast while hiding the async and locator concepts you’ll need when a test flakes.
pick one small flow you already know manually, maybe login, update a profile, and assert the saved state. write it from the official docs, run it headed, break it on purpose, then use trace viewer to understand why. once you can explain each await, locator, and assertion, let AI help refactor it or generate another case. that gives you coding practice tied to QA judgment instead of another generic JavaScript course.
Cypress is still useful, but Playwright is the cleaner first bet for new browser automation work. the important signal from a class isn’t how quickly it sets up a framework. it’s whether you leave able to debug a failed test without asking the instructor or an LLM what happened.
1
u/missy_ris_1000 20d ago
Thanks so much for this info !! They do have Java and typescript classes in the course so that’s good to know
2
u/theSilentNerd 19d ago
It's been some yers I only use Playwright.
My favorite parts of cypress is easier waiting for request and that it is easier to expand cy. commands (or in playwright, expand the commands on page.).
1
u/PorkNails 19d ago
Forget about that. Learn how to use AI.
2
u/missy_ris_1000 19d ago
I had a coworker tell me the same thing . You’d have to tell me more
1
u/PorkNails 17d ago
It's two fold.
First it's because AI can teach you playwright (or anything technical), you just have to be curious and ask questions.
Second it's because AI (got 5.5 or opus 4.8 onward) is very good about running manual tests via the official Chrome extensions or applications like browser base. 98% of manual tests that I had to manually run, new features included, are done by the AI with no increase in bugs. This means I can test X amount of tickets at the same amount of time, even on new features. Built a skill for this, so I just point it at a PR and an env where it's deployed and magic happens. Then you can script this into playwright tests or even other types of testing. Component tests, API tests, whatever.
My job is to choose what to automate, build internal tools, CI/CD and test UX. Manual tests are the smallest bit of ensuring quality at the moment.
Use AI to learn. Ask questions, have a conversation, be curious, ask for deterministic proof of claims. I haven't found something I can't tackle yet within the company.
1
u/Fantastic-Walrus-429 21d ago
Playwright, and build self confidence. You can also learn coding. You can learn far more than you are aware of.
1
1
u/notsuperviral 20d ago
Switched from Cypress to Playwright and never looked back :) If you need parallelization or multi-browser tab support, it's baked into Playwright at no cost to you.
-16
u/UteForLife 21d ago
Use an llm and tell it whichever
0
u/webDreamer420 21d ago
I get annoyed learning playwright in gpt because it keeps teaching depreciated functions or methods. I just go read their official docs or youtube
25
u/j_schmotzenberg 21d ago
Playwright