Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Latest commit c60292e Apr 16, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
reports Add files via upload Jan 16, 2019
tests Add files via upload Jan 17, 2019
Jenkinsfile JenkinsFile Pipeline Apr 4, 2019
README.md Update README.md Apr 16, 2019
nightwatch.conf.js semi:colon missing Apr 4, 2019
nightwatch.json hub url updated Feb 21, 2019
package-lock.json Add files via upload Jan 17, 2019
package.json Add files via upload Jan 17, 2019

README.md

NightWatch-Selenium-Sample

NightWatch Documentation

LAMBDATEST Logo

Environment Setup

  1. Global Dependencies
    $ brew install node
    
  2. lambdatest Credentials
    • In the terminal export your lambdatest Credentials as environmental variables:
    $ export LT_USERNAME=<your lambdatest username>
    $ export LT_ACCESS_KEY=<your lambdatest access_key>
    
  3. Project Dependencies
    • Install Node modules
    $ npm install
    

Running Tests

  • Tests in Parallel:

    ** Linux/Mac

    $ ./node_modules/.bin/nightwatch -e chrome,edge tests
    

    ** Windows

    $ node_modules\.bin\nightwatch -e chrome,edge tests
    

You will see the test result in the Lambdatest Dashboard

Routing traffic through your local machine

  • Set tunnel value to True in test capabilities

OS specific instructions to download and setup tunnel binary can be found at the following links.

Important Note:


Resources

SeleniumHQ Documentation
You can’t perform that action at this time.