Simplifying test automation infrastructure
The Serenity/JS team is excited to unveil version 3.30, a release focused on helping you simplify your test automation infrastructure. This update introduces:
- streamlined installation process for Serenity BDD,
- support for Node-only artifact registries like Verdaccio,
- support for Playwright 1.49,
- all Serenity/JS Project Templates updated to reflect these improvements.
Letβs explore whatβs new!
New to Serenity/JS or test automation? Start with "Your first web scenario", praised by our community as "the best guide to take your automation skills to the next level."
New in Serenity/JS 3.30β
Streamlined Serenity BDD Installationβ
One of the most exciting additions in this release is the inclusion of the Serenity BDD CLI jar file directly within the @serenity-js/serenity-bdd
Node module.
This improvement eliminates the need for a separate download, helps to simplify the installation process, and reduces friction for teams getting started with Serenity/JS
(#2560).
We owe special thanks to Anton Fedorov from Amazon Web Services for proposing this feature and contributing its implementation. Antonβs work is a fantastic example of the open-source spirit driving Serenity/JS forward.
Thank you, Anton!
Improved support for private and Node-only artifact registriesβ
Serenity/JS has always supported private artifact registries like Sonatype Nexus or JFrog Artifactory. However, corporate proxies and network constraints could sometimes make the setup process a bit more complex than we would have liked.
Serenity/JS 3.30 includes the Serenity BDD CLI jar directly in the @serenity-js/serenity-bdd
Node module.
This change simplifies your infrastructure by letting you use a single registry for both Node modules and the Serenity BDD CLI jar
and enables support for Node-only artifact registries like Verdaccio.
Playwright 1.49 compatibilityβ
Keeping Serenity/JS at the cutting edge of browser automation, this release introduces support for Playwright 1.49. With it, you can leverage the latest advancements in browser automation across Chromium, Firefox, and WebKit.
Additionally, Playwright 1.49 brings improved handling and more accurate reporting on nested errors (playwright#26848), making it easier to diagnose issues with custom Serenity/JS configuration (#1823).
Updated Serenity/JS Project Templatesβ
Getting started with Serenity/JS has never been easier! The Serenity/JS Project Templates have been updated to reflect the latest improvements, helping you kickstart your projects with best practices built right in.
Upgrading to Serenity/JS 3.30β
To upgrade your existing project to Serenity/JS 3.30, use a tool like npm-check-updates
:
npx -y npm-check-updates '/@serenity-js|playwright/' -u
Next, remove the call to serenity-bdd update
from your package.json
file:
{
"scripts": {
- "postinstall": "serenity-bdd update",
"clean": "rimraf target",
"test": "failsafe clean test:execute test:report",
"test:execute": "playwright test",
"test:report": "serenity-bdd run"
}
}
Finally, install the updated modules:
npm install
Your feedback matters!β
I hope this latest release of Serenity/JS will make it even easier for you and your team to create high-quality test automation.
Let me know what you think of the new features in the comments below πππ
π£ Stay up to dateβ
New features, tutorials, and demos are coming soon! Follow Serenity/JS on LinkedIn, subscribe to Serenity/JS channel on YouTube and join the Serenity/JS Community Chat to stay up to date! Please also make sure to star βοΈ Serenity/JS on GitHub to help others discover the framework!
π Support Serenity/JSβ
If you appreciate all the effort that goes into making sophisticated tools easy to work with, please support our work and become a Serenity/JS GitHub Sponsor today!