Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alapanme/cypress-automation
Test Scripts demonstrating different features of the Cypress Automation Tool with Detailed Blog Articles. (check readme)
https://github.com/alapanme/cypress-automation
cypress cypress-example cypress-io cypress-testing-library cypress-tests javascript nodejs test-automation testing testing-framework testing-tools
Last synced: about 1 month ago
JSON representation
Test Scripts demonstrating different features of the Cypress Automation Tool with Detailed Blog Articles. (check readme)
- Host: GitHub
- URL: https://github.com/alapanme/cypress-automation
- Owner: alapanme
- Created: 2020-09-20T18:04:45.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-01-24T17:55:48.000Z (almost 2 years ago)
- Last Synced: 2023-03-05T23:49:46.567Z (almost 2 years ago)
- Topics: cypress, cypress-example, cypress-io, cypress-testing-library, cypress-tests, javascript, nodejs, test-automation, testing, testing-framework, testing-tools
- Language: JavaScript
- Homepage:
- Size: 1.67 MB
- Stars: 68
- Watchers: 7
- Forks: 56
- Open Issues: 2
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Cypress-Automation
Cypress is a next generation front end testing tool built for the modern web. This is a sample project which you can use to start your E2E testing with Cypress.# How to Start
1. Clone the project
2. `npm i` - Install all the dependencies
3. There are a lot dependencies that are not updated frequently in parallel with cypress. So while installing if you are seeing conflicts use`npm i --force`.
4. Run `npm test` to execute the tests in Test Runner | Run `npx cypress run` to execute the tests in CLI
5. To create HTML reports execute first `npm run test:cli` and then `npm run create:html:report`# Articles on Cypress
- [How to Install Cypress](https://testersdock.com/how-to-install-cypress/)
- [Understanding Cypress Folder Structure](https://testersdock.com/cypress-folder-structure/)
- [How to execute Cypress Tests using Test Runner and CLI](https://testersdock.com/cypress-test-runner-cli/)
- [Writing your First Test in Cypress](https://testersdock.com/first-cypress-test/)
- [How to use Fixtures in Cypress Tests](https://testersdock.com/cypress-fixtures/)
- [How to use readFile() and writeFile() in Cypress](https://testersdock.com/cypress-writefile-readfile/)
- [How to interact with multiple elements using each()](https://testersdock.com/cypress-each/)
- [Conditional Testing (If Else) in Cypress](https://testersdock.com/cypress-conditional-if-else-testing/)
- [How to upload a file in Cypress](https://testersdock.com/cypress-file-upload/)
- [How to download a file in Cypress](https://testersdock.com/cypress-file-download/)
- [API Testing in Cypress](https://testersdock.com/cypress-api-testing/)
- [How to chain Multiple APIs in Cypress](https://testersdock.com/cypress-chain-multiple-api/)
- [Mock API Response in Cypress using cy.server() and cy.route()](https://testersdock.com/cypress-mock-api/)
- [How to handle JS Alert, Confirm and Prompt in Cypress](https://testersdock.com/cypress-javascript-alert-confirm-prompt/)
- [How to use Skip and Only in Cypress](https://testersdock.com/skip-only-cypress/)
- [How to execute Cypress Tests in order(update for cypress 10)](https://testersdock.com/cypress-execute-tests-in-order/)
- [How to handle Shadow DOM in Cypress](https://testersdock.com/cypress-shadow-dom/)
- [How to retry tests X number of times in Cypress](https://testersdock.com/test-retries-in-cypress/)
- [How to handle Iframes in Cypress](https://testersdock.com/iframes-cypress/)
- [How to generate HTML reports in Cypress](https://testersdock.com/html-reports-cypress/)
- [How to Add Tags like Smoke,E2E to Cypress Tests](https://testersdock.com/cypress-test-tags/)
- [Cypress Page Object with Locator Functions and Custom Commands](https://testersdock.com/cypress-page-object-with-locator-function-and-custom-command/)
- [Cypress Dashboard](https://testersdock.com/cypress-dashboard/)
- [How to visually generate tests with no coding in Cypress Studio(Cypress 10 alternative)](https://testersdock.com/cypress-studio/)
- [How to mock an API using cy.intercept()](https://testersdock.com/cypress-mock-api-intercept/)
- [How to integrate cypress with cucumber(Cypress 10 Upgrade)](https://testersdock.com/cypress-cucumber-bdd/)
- [How to hover over elements in Cypress](https://testersdock.com/cypress-hover/)
- [How to perform Database Testing(SQL) in Cypress](https://testersdock.com/cypress-database-testing/)
- [How to use parents(), parent() and children() commands in Cypress](https://testersdock.com/cypress-parents-parent-children/)
- [How to perform Drag and Drop on HTML and Angular sites with Cypress](https://testersdock.com/cypress-drag-and-drop-html-angular/)
- [How to handle new browser tab and window in Cypress](https://testersdock.com/cypress-new-window/)
- [How to use filter(), find() and within() commands in Cypress](https://testersdock.com/cypress-filter-find-within/)
- [Commonly used JQuery commands in Cypress](https://testersdock.com/cypress-jquery/)
- [How to do recursion in Cypress](https://testersdock.com/cypress-recursion/)
- [How to handle basic auth in Cypress](https://testersdock.com/cypress-basic-auth/)
- [Cypress 10 Upgrade](https://testersdock.com/cypress-10-upgrade/)