Skip to content

angiebyun/cypress-gmail

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

👻 About The Project

This project automates some main functionalities of Gmail using Gmail API.

  • Create Draft - the user should be allowed to save their email if they want to come back to it later
  • Send Email from Draft- the user should be allowed to come back to a drafted email and send from their drafts when they’ve gotten all the information to finish an email
  • Send Email from Compose - the user should be allowed to compose and send an email with information including sender, recipient, subject, and message body
  • View Email Thread - the user should be allowed to read their emails with recipient, sender, and message body information
  • Trash Email - the user should be allowed to trash their spam or irrelevant emails that don’t need to be in the inbox

The test cases above were chosen because these are the main functionality of an email system considering that the meaning of email (Electronic mail) is a mode of exchanging messages among people through electronic devices. The user should be able to create drafts, view emails, compose and send an email, send from drafts and trash emails in a fully functional emailing system.

👻 Built With

👻 Getting Started

Clone repository into working directory, this repository does not include node modules - instructions on installing these modules can be found below.

👻 Prerequisites

Node.js and npm must be installed

  • npm
    npm install npm@latest -g

Installation

  1. Clone the repo
    git clone https://github.com/angiebyun/cypress-gmail.git
  2. Install NPM packages
    npm install

👻 Usage

To run the Cypress tests in UI, navigate to working directory in command then open Cypress using command below. Select Electron browser to run files.

  • Open Cypress
    npx cypress open

To run the Cypress tests in headless, navigate to working directory in command then open Cypress using command below.

  • Open Cypress
    npx cypress run

👻 License

Distributed under the MIT License. See LICENSE.txt for more information.

👻 Contact

Project Link: https://github.com/angiebyun/cypress-gmail

👻 References

(back to top)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published