Assignment 4 WebDriverIO NB. There are two data files, one for Chrome (ChromeUserData.js) which is default. However for firefox you will be required to do the following;
1.Comment- "const UsersData = require('./Data/ChromeUsersData.js');" in the signUpTest.e2e.js and checkout.e2e.js.
2.Uncomment- "const UsersData = require('./Data/FirefoxUsersData.js');" in the signUpTest.e2e.js and checkout.e2e.js.
Please Run Sign Up FIRST with command "npm run SignUp"- To create users.
Commands for each test
npm run SignUp(Please run this command first) npm run AddToCart npm run CheckOut npm run VerifyOrder