Functional and visual E2E regression automation combined: Galen and Serenity
In out latest project I was free to choose what to use for E2E tests. No requirements from clients, awesome! I’m not impressed by Cucumber-based syntax for E2E tests. On the other hand, I do understand client need for nice looking and readable E2E automation reports. Let’s be honest, that’s why most of them choose Cucumber - reports are business oriented when you write tests this way. The project was very oriented towards "everything must look pixel-perfect" and lots of requirements which looked like "if amount of items received if 1, use Layout1; for 2 items use Layout2; else use Layout3". So I've thought I'll try to combine two frameworks: Serenity for pretty reporting and Galen for visual regression automation. Actually I loved both of them, and Serenity has much more than pretty reporting ;) Here’s a quick overview of “the good, the bad and the ugly” after project is finished. Frameworks used: Serenity BDD Galen Programming language: Java. ...