What’s new in Nightwatch: September 2022
Latest updates, features and releases in the month from September 2022
Welcome to the third post in a monthly series that summarises the happenings in the world of Nightwatch and helps you test better.
Latest feature releases
Nightwatch VS Code Integration
We are excited to share that you can now run and debug your Nightwatch tests from VS Code itself, without having to switch screens or windows. The new Nightwatch integration for VS Code allows you to stay focused by helping you to run and debug your tests from VS Code itself.
The integration gets auto-activated if you have a Nightwatch configuration file. You can also add it manually with the Install Nightwatch action.
Accessibility testing with axe
We have integrated David Mello’s nightwatch-axe
npm package as a first-class package. This means that it will be installed when you install Nightwatch or create a project using npm init nightwatch.
You can see David talk about how to use it in our release walkthrough we recorded last week.
New Integrations
One of the goals of the Nightwatch project is to help users test easily with Nightwatch without having to rethink their stack. Nightwatch now has a host of new integrations and we have made improvements to our old integrations as well.
Parallelism by default for all new projects
We are now defaulting all new projects to run in parallel. We believe that this will get projects doing the right thing from the start with good atomic tests. We have also spent some time improving the examples that we deliver for you to run.
Pro tip: Managing your Selenium server
If you ever wanted to keep up to date with the releases of Selenium Server, you just need to add a dependency to @nightwatch/selenium-server
. It allows you to pick the specific version of Selenium Server npm i @nightwatch/selenium-server
or if you don’t use the latest version you can add @version number
like this npm i @nightwatch/selenium-server@4.1.1
.
We have also added a number of fixes that you can look at on our Github Releases page
YouTube
As mentioned in NightwatchJS Release section above, we have a YouTube channel going. We are going to be releasing various videos regularly there on different topics from webinar recordings to how-to guides to release walkthroughs.
Test automation with Nightwatch Chrome Recorder: Test Bash UI Challenge 2022 - Ministry of Testing
Make sure you hit the subscribe button to make sure that you don’t miss out!
As you can see there have been a number of great things shipped this month with many more coming over the next month. Tell us your suggestions on Github or if you want to discuss something with us or have ideas to improve this post, hit us up on Discord.