Skip to content

e-commerce Final Project as part of automated testing and BDD training.

Notifications You must be signed in to change notification settings

maciejfec2i/eCommerceFinalProject

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

99 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eCommerceFinalProject

e-commerce Final Project as part of automated testing and BDD training.

Overall Objectives

Develop two end-to-end tests that use Cucumber and Selenium WebDriver.

Test Case 1

The test will login to an e-commerence site as a registered user, purchase an item of clothing, apply a discount code and check that the total is correct after the discounnt & shipping is applied.

Test Case 2

The test case will login to an e-commerece site as a registered user, purchase an item of clothing and go through checkout. It will capture the order number and check the order is also present in the 'My Orders' section of the site.

To Run

  • Java 11 is required to run the tests.
  • Use git clone https://github.com/maciejfec2i/eCommerceFinalProject.git to clone the directory.
  • Install all the dependancies via the pom.xml file.
  • Open the loginDetails.csv file and replace "your username/email" with a valid username or email, and replcae "your password" with a valid password.

If Maven is installed, the test can be ran from the command line using mvn clean test.

To test using firefox or edge use mvn clean test -Dbrowser=firefox or mvn clean test -Dbrowser=edge

About

e-commerce Final Project as part of automated testing and BDD training.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published