Skip to content

This repo provides an example of how to create an automated test suite using WebdriverIO 5 and TypeScript.

Notifications You must be signed in to change notification settings

diptilenka/webdriverio-typescript-examples

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

webdriverio-typescript-examples

This repo contains examples of how to create page objects and tests using WebdriverIO 5.0 and TypeScript. The application under test is tourdedave's "the-internet" project which contains examples of hard to automate pages. The test runner is the wdio-mocha-framework.

This project was created to serve as a reference to others interested in WebdriverIO TypeScript tests.

Dependencies

  • Node.js - The latest LTS release
  • Java -- Needed to run the selenium server
  • Chrome.

Test execution

To run the tests, clone the latest version of this repo then install the node modules using npm install. Afterwards execute npm run build then npm run test.

To run a test by itself, use ./node_modules/.bin/wdio --spec <path to test> wdio.conf.js.

About

This repo provides an example of how to create an automated test suite using WebdriverIO 5 and TypeScript.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 58.8%
  • JavaScript 41.2%