Follow below steps(windows) Step 1. Clone the project locally
Step 2. Install Node JS and run npm install -- this will install all the required dependencies mentioned in package.json **** NODE MODULE(node_mpdule) will be generated might take some time
Step 3.npx codeceptjs run --plugins allure -- this will create a report locally and stored in temp folder or the path can be set as required after completion of all the scenario Step 4.allure serve output -- this will generate report and open in browser automatically
#Important files :
flexmoney-homepage folder :
This folder will have one feature file, one step def file and one page file so to add negative scenario we can have multiple page file as well
codecept.conf.js:
This will have all the important base setup like which browser: chrome,firefox etc.. which driver : Webdriver,Puppeteer,TestCafe and many more supported by Codeceptjs
package.json:
dependencies required will be mentioned here (Just like POM)
output folder : we can have failed snapshot while execute the test scenarios