Setup sample for exercises
This repository contains a setup example for Cypress, a JavaScript end-to-end testing framework. It includes sample tests and configurations to help you get started with writing and running tests using Cypress.
- Node.js (version 20 or later)
- npm (version 9 or later)
-
Clone the repository:
git clone https://github.com/hulilabs/cypress-example.git
-
Navigate to the project directory:
cd cypress-example -
Install the dependencies:
npm install
To run the Cypress tests, use the following command:
npx cypress openThis will open the Cypress Test Runner, where you can select and run the tests.
You can write your tests in the cypress/integration directory. Refer to the Cypress documentation for more details on writing tests: https://docs.cypress.io/guides/overview/why-cypress
Contributions are welcome! Please open an issue or submit a pull request for any improvements or bug fixes.