Configure a cypress.json
file based on cypress.sample.json
Run
npm ci
npx cypress open
npx cypress run
npx cypress run --testFile.js
npx cypress run --record --key 49bfa993-ad20-464c-b7ab-d9d27ae262c0
Generate With Reports:
npx cypress run --reporter mochawesome
Combine the reports:
npx mochawesome-merge "cypress/results/*.json" > mochawesome.json
Generate the HTML Report:
npx merge mochawesome.json
Project Structure
Variables Names: Button: btn Click: clk Screen: scr Source: src List: List Dropdown list: ddl
Constrains: The first letter should will not go in UpperCase (class, methods, variables, etc) It does not use VAR type, hyphen, and underlines. Pointers must go in variables.
Nomination: Integration cartFuncionality cartBuynow buyNow.spect.js cartKeepbuying keepBuying.spect.js