This repository houses my implementation of Cypress for end-to-end testing.
This project is designed to demonstrate the use of Cypress for end-to-end testing in a TypeScript environment. Cypress is a powerful tool for writing reliable, robust, and fast tests for anything that runs in a browser.
To install the necessary dependencies, run:
npm install
To open the Cypress Test Runner, use the following command:
npx cypress open
For running tests in headless mode, use:
npx cypress run
Tests are located in the cypress/e2e directory. You can run specific tests by specifying the file:
npx cypress run --spec cypress/e2e/login.cy.ts
Contains test data files.
Contains end-to-end test files, such as login.cy.ts.
Contains custom plugins for Cypress.
Contains support files and custom commands.
Contains the Cypress configuration.
Directory where test results will be stored.
Contributions are welcome! Please fork the repository and create a pull request with your changes.
This project is licensed under the MIT License. See the LICENSE file for details.