Skip to content
This repository has been archived by the owner on Sep 2, 2023. It is now read-only.

regentmarkets-repo-archive/binary-next-gen-nightwatch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nightwatch and Selenium test suite for Binary Next-Gen

We use this tool to protect against stability regression defects and to ensure cross-browser compatibility.

In order to run the tests locally, you have to have Selenium server running on your machine.

To install and run Selenium, install via NPM:

npm install selenium-standalone -g

Then run:

start-selenium

Run a single test:

nightwatch -t tests/pom/account/createVirtualAccount

Run a group of tests:

nightwatch -g tests/pom

Run all tests via BrowserStack

grunt bs

Which is equivalent to:

nightwatch -env browserstack -g tests/pom

Parallel & Cross Browser Testing

To run parallel tests in browserstack:

grunt pom

Which is equivalent to:

nightwatch -env account_bs,myaccount_bs,cashier_bs,resources_bs,trading_bs

To run all tests across different browsers and platforms in browserstack:

grunt cb

Which is equivalent to:

nightwatch -env firefox,chrome,ie,android,ios -g tests/pom

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published