Javascript page object test automation framework
End to End testing for web application using NightWatchJS
Page Objects Design Pattern
Continuous Testing by continuous code integration using CI tools
HTML Reporting with Screenshot of test results
VSCode
NightWatchJS
Selenium Server
Jenkins
ESLint
Binance API
npm install nightwatch
npm install chromedriver --save-dev
npm install selenium-server --save-dev
Please refer nightwatch.conf.json and package.json
npm test
npm test -- --tag @customtags
npm install nightwatch-html-reporter
run the below cammand:
nightwatch-html-reporter -d ~/NightWatchPageObjects/tests_output
#Pipeline Script (select the Pipeline definition in listbox of pipeline configure section)
node('master'){
git 'https://github.com/PrinceSoni83/NightWatchJS-Automation'
bat label: 'Install NPM Package', script: 'npm install'
bat label: 'Run test', script: 'npm test'
}