Nightwatch automation testing framework index.

Test More In Less Time

Run Automation Testing In Parallel On The LambdaTest Cloud

Start for free

Description

Nightwatch is a complete and integrated solution for end-to-end testing of web applications. It can also be used for Node.js unit and integration testing.

Support and updates

  • Nightwatch has 11116 stars, 1096 forks.
  • It has 18 major releases in the past 6 months.
  • It has 4 commits and there are 25 open pull requests.
  • It has 176 open issues and 2272 have been closed.

Code statistics

  • Nightwatch has 24 methods.

Blogs

Check out the latest blogs from LambdaTest on this topic:

Is Automated Browser Testing A Must For Modern Web Development?

Cross browser testing is not a new term for someone who is into web development. If you are developing a website or a web application, you would want to run it smoothly on different browsers. But it is not as easy as it sounds!

How To Use Strings In JavaScript With Selenium WebDriver?

This article is a part of our Content Hub. For more in-depth resources, check out our content hub on Selenium JavaScript Tutorial.

How To Perform Automation Testing With Cucumber And Nightwatch JS?

This article is a part of our Content Hub. For more in-depth resources, check out our content hub on Selenium Cucumber Tutorial.

Nightwatch Vs Protractor: Which Testing Framework Is Right For You?

Do you know the test automation market is all set to hit $35 billion by 2026? And when it comes to cross browser testing, JavaScript leads from the front? Javascript is probably the best alternative for Selenium automation, considering its protocol transformation to the W3C standard. In order to make the most of it, the first step is to choose the best test automation frameworks. Among all the JavaScript testing frameworks, two frameworks are most popular- Nightwatch and Protractor.

Nightwatch JS Testing: What is Nightwatch.js and Why you need it

There are few javascript testing frameworks makes test automation as easy as running Nightwatch JS testing.

Automation Testing Tutorials

Learn to execute automation testing from scratch with LambdaTest Learning Hub. Right from setting up the prerequisites to run your first automation test, to following best practices and diving deeper into advanced test scenarios. LambdaTest Learning Hubs compile a list of step-by-step guides to help you be proficient with different test automation frameworks i.e. Selenium, Cypress, TestNG etc.

LambdaTest Learning Hubs:

YouTube

You could also refer to video tutorials over LambdaTest YouTube channel to get step by step demonstration from industry experts.

License

Nightwatch is lincensed under the MIT License

LambdaTest Community Discussions

Questions
Discussion

Nightwatch app automation tests on LambdaTest, any repo?

Can I use Nightwatch JS for app automation tests?

Is it possible to assign different names to each test when running automation tests with Nightwatch.js on the LambdaTest dashboard?

Do you support the page object modal with nightwatch.js?

Nightwatch.js set desiredCapabilities per test

Is there a sample repo I can refer to for running Nightwatch app automation tests on LambdaTest?

https://community.lambdatest.com/t/28368

Hey Charity,

NightwatchJs does support mobile app automation, but since LambdaTest does not provide support for Nightwatch JS, you can not run an app automation test on LambdaTest.

To perform mobile app automation, tools like Appium are commonly used. LambdaTest itself is well-known for cross-browser testing of web applications but does not directly support mobile app automation with Nightwatch.js.

If you have any queries feel free to reach out to us.

https://community.lambdatest.com/t/28368

Test case code snippets

General webpage functionality - Test page text justification

Description:

Page text should be left-justified.

API Testing - Check locale-based representation

Description:

Verify that the API response contains the correct resource representation based on the specified locale (e.g. en-US, fr-FR).

API Testing - Check CORS preflight

Description:

Verify that the API correctly handles CORS preflight requests and returns the correct HTTP status code and error message.

General webpage functionality - Test broken links check

Description:

Check all pages for broken links.

Downloads

Nightwatch can be downloaded from it’s GitHub repository - https://github.com/nightwatchjs/nightwatch

Other similar frameworks

Puppeteer

Puppeteer is a Node library which provides a high-level API to control Chrome or Chromium over the DevTools Protocol. Puppeteer runs headless by default.

ladle

Tool to accelerate development of React story components

Appium

Appium XCUITest Driver is a combined solution, which allows to perform automated black-box testing of iOS and tvOS native applications and WebKit web views.

jest-extended

More test matchers for Jest

pact-foundation-pact

Testing framework providing contract testing for APIs and messaging systems

Frameworks to try

Gauge

Gauge is a light weight cross-platform test automation tool. It provides the ability to author test cases in the business language.

Vstest

Runner and engine for test explorer and vstest.console

Gherkin-ruby

Gherkin is a parser and compiler for the Gherkin language. Gherkin Ruby can be used either through its command line interface (CLI) or as a library.

Inspec_ruby

Tool to perform auditing and testing for inspecting infrastructure

Machinist

Fixtures aren't fun. Machinist is.

Run Nightwatch scripts on 3000+ browsers online

Perform automation testing with Nightwatch on LambdaTest, the most powerful, fastest, and secure cloud-based platform to accelerate test execution speed.

Test Now