Back to top

Browser Testing with Nightwatch.js

It's been around 8 years since Behat made its entrance in the PHP world. Looking back, it's fair to say it meant a revolution thanks to which many development teams started to incorporate browser testing into their projects. However, Gherkin syntax, while very useful in some scenarios, it's not always the most friendly or desirable when writing browser tests. Enter Nightwatch.js...

This session will introduce Nightwatch.js, explaining the artifacts it provides for writing browser tests. It'll also include some guidelines to follow when writing browser tests, as well as some advices to foster and simplify its adoption among other team members.

Additionally, some more advanced features will be shown with actual running examples, such as parallel test execution, screenshot generation, and integration with CI systems, like Jenkins.

Nightwatch.js has been around for some time, but with Drupal officially using it for browser testing, now it makes more sense than ever to learn how to use it. After this session, you'll be able to easily include this testing stack in your toolbelt, and have a general idea of how to integrate it in your CI workflow.

Target Audience and skill level:

While it's marked as an intermediate session, no previous testing experience is mandatory to understand and made the best of the contents of this session. The session is aimed mostly at developers, but some DevOps bits might be touched during it.

 

Development
Intermediate
Room
platform.sh Theater (B104)
Session type
Session
Speakers
Salva molina's picture
Salvador Molina Moreno