Skip to content

Latest commit

 

History

History
31 lines (23 loc) · 830 Bytes

README.md

File metadata and controls

31 lines (23 loc) · 830 Bytes

WebdriverIO CucumberJS Typescript

Usage

npm install
npm run test
npm run test:debug
npm run test:debug -- --spec src/features/my-feature.feature
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