Skip to content

VergeOps/webdriverio-sample-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a simple project to demonstrate basic WebdriverIO functionality.

To run the project and see tests execute, issue the following commands in order.

npm install
npm install -g allure-commandline
npm run wdio

Tests should run and a report should open at the end. If the report doesn't open, run the following command.

allure open

When running this suite, you should see three tests execute -- 2 will pass and 1 will fail.


Project structure:

test/spec folder: Folder where all tests are stored.
test/pageobjects folder: Folder where all page object classes are stored.
test/testdata: Folder where test data files are stored.
wdio.conf.js: Configuration file for project -- contains data reports available, drivers available and also hooks.


For more info on WebdriverIO, see https://webdriver.io/docs/gettingstarted

About

Sample WebdriverIO Mocha Project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors