sudo apt-get update
sudo apt-get install nodejs
sudo apt-get install npm
curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
sudo apt-get install -y nodejs
nodejs -v
sudo npm i -g ntl
make build
make run browser=Chrome
make debug browser=Firefox
make clean
runDocker.bat
stopDocker.bat
The test framework uses nightwatch, cucumber js, and nightwatch-cucumber to stitch them together.
We use docker compose to run a chromedriver image (like Selenium), that also runs a VNC Server, and an image with the tests and Nightwatch binary that runs the test.
Reports are written to the reports folder, and screenshots are available on failure in their respectively named folders.
You can watch the tests run by connecting to the VNC Server running on the chromedriver image (VNC port is forwarded to localhost:5900 from docker compose) or geckodriver/firefox (localhost:5901) with the password secret
- Can use Docker and Docker Compose to run the test cases
- Create screenshots (on fails)
- Support several browsers, like Chrome and Firefox driver (WebDriver). Also, headless browser
- Integrate Cucumber framework (using Gherkin syntax and BDD-style) and support the POM pattern
- Generate an HTML report
- Send email reports
- Support CLI and SSH connections
- Use WebSocket to Debugger
- Run parallel test cases on several browsers
- Support ESLint (E.i:
npm run -s eslint libs/email.js
) - Integrate with Testrail
- Record videos
- Use custom assertions to generate logs
- Slack notifications
- Integrate with Jira, Saucelabs and BrowserStack
- Connection with GCloud
- Transfer files with SFTP protocol
- Send test results to Cloud BD (non-relational database)
- Use Machine Learning algorithms to improve the framework performance (result predictions and smart executions)
- More ...
Released under the MIT license.
Email: [email protected]
Skype: sergiogqts