- Shift+Alt+F (To indent user code)
- Click to File -> Auto Save (For saving your code automatically)
- Ctrl+/ (To comment Your Code)
- Shift+Tab (To reverse Tab)
npm init -y
npm i cypress
npm install cypress-xpath
npm install cypress-iframe
npm install --save-dev cypress-file-upload
npm install cypress-downloadfile
npm install allure-commandline
npm install mocha-allure-reporter
import 'cypress-file-upload';
import 'cypress-iframe';
Cypress.on('uncaught:exception', (err, runnable) => { return false })
npx cypress open
npx cypress run .\cypress\e2e\demo.cy.js
npx cypress run --spec .\cypress\e2e\demo.cy.js --headed --browser firefox
"report:allure": "allure generate allure-results --clean -o allure-report && allure serve allure-results"
npx cypress run --spec .\cypress\e2e\signup.cy.js --headless --browser electron --reporter mocha-allure-reporter
npm run report:allure