Skip to content

Latest commit

 

History

History
30 lines (22 loc) · 769 Bytes

README.md

File metadata and controls

30 lines (22 loc) · 769 Bytes

WebdriverIO CucumberJS Typescript

Usage

npm install
npm run test
npm run test:debug
npm run allure-report

Boilerplate project with CucumberJS configured with typescript

  • Allure Reporter
  • Typescript PageObjects
  • Chai For assertions
  • Selenium Standalone with chrome and firefox capabilties in headless mode
  • Visual regression testing via https://github.com/ennjin/wdio-visual-regression
  • prettier
  • eslint
  • Vscode launch configuration to debug tests

Debugging Tests

  • browser.debug() statement in code and then: npm run test:debug this will enalbe debug repl in console window
  • Add breakpoints in vscode or debugger statement and run launch configuration in vscode.

Dependencies

Java must be installed to run allure reports