What’s new in Nightwatch: October 2022
Latest updates, features and releases in the month from September 2022
Welcome to the fourth post in a monthly series that summarises the happenings in the world of Nightwatch and helps you test better.
VS Code Stream
Latest feature releases
New Website!
We have launched a new website! Earlier this year we improved the content of the site but still found it could be hard to navigate! We have redesigned the site and will be carrying on to improve it to make sure that you find everything you need as quickly as you can.
Component Testing
StorybookJS Integration
We have created a few new plugins that will allow you to test your StorybookJS Stories. In your repository, you can install the new `@nightwatch/storybook`. Details on how to set it up can be found on our GitHub Repository.
Your tests can be added simply, as shown below, and they will run wherever Nightwatch can run.
Vue, React, and Vite plugins
upgraded plugin to use Vite 3
new dedicated Vue.js component testing plugin which includes Vite 3 and manages its own Vite dev server
added support for writing component tests using the Component Story Format which supports JSX directly
Nx Plugin
The team are also looking at supporting Nightwatch in other projects like Nx. If you’re using Nx you will need run the generator to create a new E2E application once you have installed `@nightwatch/nx` package.
To generate the project you will run `nx g @nightwatch/nx:nightwatch-project --name=toodoo-e2e` and it will add some template tests and get everything in place for you to run your tests!
Finally…
We have done a number of major updates and releases across the various projects we manage. Make sure you update to the latest versions! We have a number of great features 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.