Skip to content

It is a complete browser (End-to-End) testing solution which aims to simplify the process of setting up Continuous Integration and writing automated tests.

Notifications You must be signed in to change notification settings

ashmeetsehgal/functional-automation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

functional-automation

It is a complete browser (End-to-End) testing solution which aims to simplify the process of setting up Continuous Integration and writing automated tests.

Automation Testing with Node.js and Nightwatch

Setup

  • Clone the repo
  • Install dependencies npm install
  • Set your BrowserStack credentials to the environment variables BROWSERSTACK_USERNAME and BROWSERSTACK_ACCESS_KEY. If you have an account, you can obtain these credentials form https://www.browserstack.com/accounts/settings

Running your tests

  • To run single aand parallel tests, run npm run test
  • To run a single test, run npm run single
  • To run parallel tests, run npm run parallel
  • To run suite tests, run npm run suite

Understand how many parallel sessions you need by using our Parallel Test Calculator

Notes

Connecting to BrowserStack via a proxy server

You can specify proxy settings in Nightwatch by adding the proxy key in your *.conf.js

  test_settings: {
    default: {
      desiredCapabilities: {
        // Your capabilities
      },
      proxy: {
        "host": "",     // "127.0.0.1"
        "port": "",     // "8081"
        "protocol": ""  // "http"
      }
    }
  }

Who do I talk to?

Ashmeet Sehgal

About

It is a complete browser (End-to-End) testing solution which aims to simplify the process of setting up Continuous Integration and writing automated tests.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published