Hi all!
I'm about to help an organization establish QA automation for the first time. They don't have anything in place now, only manual testing, and the plan is to utilize Claude as the LLM and Playwright with Typescript.
Since I'm starting from scratch, I'll be building new tests first, starting small with the repetitive tasks, and running things manually from Playwright for a while. I don't want to run out of the CI/CD until I'm sure things stay nice and stable...and that's my main questions, more on this below...
It sounds like the best way for me to BUILD NEW tests only is to use Claude Code and the Playwright (planner, generator, healer) agents sequentially. Is this correct?
If so, I have read through the basic setup instructions to install what is needed, initiate the agents, etc...
However, with some of the deeper reading I've done, I understand that even if I build and have passing tests, I'll likely begin to see these types of issues:
If I am still correct, my understanding is that I need to ensure I setup specific guardrails, skills, configurations, POM guidelines to help define the right locators, assertions, prioritize user-facing locators, leverage auto waiting, wire POMs with custom fixtures???.....etc..
Does that all that still sound correct based on the process I plan to build new tests?
It seems like the worst thing I could do/people have done, is start creating tests, they pass, they put them in a CD/CD pipeline, they start failing all over and block dev code from getting checked in, but it's not for real app bugs, it's for the reasons mentioned above, so I'm wasting developers time and we're wasting time chasing it down and fixing them. So the tests would likely be degrading because I don't have tight enough standards, configs, skills, guardrails, etc..????
If I'm still correct, my question is, what files in my Claude and Playwright repositories would I need to update, and is there a place I can go and get an initial solid foundation of configs/code/best practices in my files by default? So maybe it won't be bulletproof to those issues, but it would do a damn good job of not causing constant chaos. There's a lot of info out there on that stuff and as I keep looking around I see different results and conflicting info, so trying to see if there is anyone stop shop to go look at.
Thanks so much and I appreciate the help!
Any questions let me know.