Skip to content

snehal212/wdio-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WebdriverIO Example Project

This example test automation project uses WebdriverIO with Cucumber framework and automates a sample React Hacker News app.

Setup

First you need to install AUT. Which is a sample Hacker News react APP

git clone https://github.com/insin/react-hn.git
cd react-hn
npm install

Once the sample has been installed start it locally

npm start

Verify that app is running by going to http://localhost:5000/. You should see Hacker News app page similar to this live example

Open a seperate terminal window and install this project

git clone https://github.com/snehal212/wdio-example.git
npm install

Run Tests

Now you can run example tests using npm test
To view an HTML version of test report npm run report. A browser window should open with Allure HTML report

About

WebdriverIO Test Example

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published