If you have WebDriver APIs in your test methods, You're Doing It Wrong. -- Simon Stewart.
- Tbd
- Added
download file with header
test case.
- Added
download file
test case. - Run single test case:
npm run test /test/download.spec.js
- Supporting Chrome 87 version.
- Supporting test run with tag and generate test execution report.
npm run test:chrome:tag sanity
- Added
upload text file
test case.
- Run specific test case using
tag
. - Run single test case
npm run test:tag tag-name
- Added parallel test run support using
mocha-parallel-tests
library. - Github Actions CI/CD run test cases in parallel.
- Fixed bug: Test cases execution fails on Windows OS.
- Added multiple browser support.
- Tests runs in both
Chrome
andFirefox
UI as well as headless mode.
- Added Github Actions support for CI/CD workflow.
- Removed Travis support.
- Maintance: Chromedriver update from 81 to 84 to support chrome browser 84.x.x version.
- Optimize framework.
- Global setup and teardown.
- Define
build()
andquit()
methods inDriverFactory
class. - Utilize
DriverFactory
throughspec_helper
module.
- Define
- Global mocha timeout.
- Use
mocha.opts
file.
- Use
- Define URL in config file to support testing, staging, production server.
- Explicit waits support.
- Debug support.
- Handle dynamic, JavaScript heavy pages.
- Run
node node_modules/mocha/bin/mocha test/DynamicLoadingTest.js
- Optimize - Page Object support
- Abstract selenium common actions into a
BasePage
central place.
- Abstract selenium common actions into a
- Page Object support
- Test cases update
- 'with valid credentials'
- 'with invalid credentials'
- Add Travis CI support
- Added
loginTest.js
test case- Scenario
- Valid login
- Scenario
- Updated
npm run test
script to runmocha
test.
- Install
- dependencies
npm i mocha mocha-jenkins-reporter selenium-webdriver system-sleep chromedriver geckodriver
- devDependencies
npm i -D mocha-simple-html-reporter mochawesome
- dependencies
- Add gitignore
- node_modules
- Initial project setup