Re:Web Automation: Don't Use Selenium, Use Playwright
by geoelectric on Thursday November 10, 2022 @04:03PM
(#33553329)
Oh, wow! I had been trying to develop a pattern like this out a few years ago, ~2016 (at the time, called Action-Flow), but ended up shifting out of test as a primary focus before I could put polish on it and make it cohesive enough to publish something.
I hadn't realized there was prior art to look at or potentially clone by mistake. I wonder how old this pattern is.
Thanks for showing me!
This has the concept of actors, abilities, interactions, questions, and tasks. This allows good separation of concerns as well as much more user-focused tests.
[1] https://serenity-js.org/handbook/design/screenplay-pattern.h...