An example project demonstrating Automation of GMAIL tests using Cypress App Action Pattern Framework.
We are using GMAIL as the Application Under Test.
- OS : macOS
- IDE : Visual Studio Code
Install the dependencies and devDependencies to run the test.
- Clone (OR) Download this repo as zip folder on to your local machine
- Navigate to project's directory on terminal and run the following commands:
npm install
Run the following command on Terminal to open Cypress Test Runner:
npm run cy:open (OR) npx cypress open
Run the following command to open Cypress test runner and execute tests
Cypress Open Mode : Run "npx cypress open" on Terminal and
select browser as chrome on cypress test runner
Run the following command on Terminal to execute tests in Headless mode on chrome:
Cypress Run Mode: npm run test