Skip to content

mondata-dev/e2e

 
 

Repository files navigation

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

About

WebdriverIO CucumberJS Typescript

Resources

License

Stars

1 star

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 88.9%
  • TypeScript 8.0%
  • Gherkin 3.1%