An automation testing framework for web application using Cypress
.
├── cypress
│ ├── fixtures
│ │ ├── login.json
│ │ └── ...
│ ├── integration
│ │ ├── homepage.spec.js
│ │ ├── login.spec.js
│ │ └── ...
│ ├── page-objects
│ │ ├── BasePage.js
│ │ ├── HomePage.js
│ │ ├── LoginPage.js
│ │ └── ...
│ ├── plugins
│ │ ├── index.js
│ │ └── ...
│ └── support
│ ├── utils
│ │ ├── Utils.js
│ │ └── ...
│ ├── commands.js
│ ├── index.js
│ └── ...
├── package.json
└── cypress.json
- NodeJS
- Clone the repo
git clone https://github.com/wizeline/Cypress-Framework.git
- Install NPM packages
$ npm install
- Open Cypress:
$ npm run cy:open
- Running the tests in headless mode with Chrome
$ npm run cy:run-chrome
- Running the tests in headless mode with Firefox
$ npm run cy:run-firefox
- Running the tests in headless mode with Electron
$ npm run cy:run-electron