Skip to content

GitTestingPat/cypress-automation-framework

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cypress Automation Framework

Cypress

This project is a test automation framework using Cypress. It is structured to facilitate the creation, execution, and maintenance of automated tests for web applications.

Project Structure

cypress-automation-framework/
├── cypress.config.js
├── package.json
├── cypress/
│   ├── downloads/
│   ├── e2e/
│   │   ├── 1-getting-started/
│   │   │   └── todo.cy.js
│   │   ├── 2-advanced-examples/
│   │   │   ├── automation-test-store/
│   │   │   │   ├── contact-us.js
│   │   │   │   ├── inspect-item.js
│   │   │   │   ├── iterate-over-elements.js
│   │   │   │   └── variables-and-cy-commands.js
│   │   │   ├── other/
│   │   │   │   └── same-origin-policy.js
│   │   │   ├── webdriver-uni/
│   │   │   │   ├── contact-us.js
│   │   │   │   └── selectors.js
│   ├── fixtures/
│   │   └── example.json
│   ├── screenshots/
│   ├── support/
│   │   ├── commands.js
│   │   └── e2e.js
│   ├── videos/
│   │   ├── 1-getting-started/
│   │   │   └── todo.cy.js.mp4
│   │   ├── 2-advanced-examples/
│   │   │   ├── automation-test-store/
│   │   │   │   └── contact-us.js.mp4
│   │   │   ├── webdriver-uni/
│   │   │   │   ├── contact-us.js.mp4
│   │   │   │   └── selectors.js.mp4

logo

Installation

  1. Clone the repository:
    git clone <repository-url>
  2. Install dependencies:
    npm install

Running Tests

To run tests in interactive mode:

npx cypress open

To run tests in headless mode:

npx cypress run

Logo

Folder Structure

  • cypress/e2e/: Contains test files organized by examples and use cases.
  • cypress/fixtures/: Test data files.
  • cypress/support/: Custom commands and global Cypress configuration.
  • cypress/screenshots/ and cypress/videos/: Evidence generated by Cypress when running tests.

Resources

Author

  • GitTestingPat

License

This project is licensed under the MIT License.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published