3.0.1 • Published 4 months ago

cypress-temp-mail v3.0.1

Weekly downloads
-
License
ISC
Repository
github
Last release
4 months ago

cypress-temp-mail

CircleCI

cypress-temp-mail ✔

cypress-temp-mail is a lightweight npm library designed to generate temporary email addresses for end-to-end testing with Cypress . It streamlines the process of testing email-related functionalities in your applications.

Features ✔

  • Quick Setup: Easily integrate with your Cypress tests.
  • Disposable Emails: Generate temporary emails for testing sign-ups, password resets, and more.

Installation

Install cypress-temp-mail using npm:

npm install cypress-temp-mail --save-dev

Usage

===

import 'cypress-temp-mail'

in your Cypress project - cypress/support/commands.js file

Generate a new temporary email:

cy.createTempMail(mailingAddressLabel)  //Retuens you a temp email generated using provided mailingAddressLabel

//Example: cy.createTempMail("tesEmail")  => Returns tesEmail@1secmail.com

Check the inbox:

cy.getMailbox()   //Returns below object for the latest created email . 
{ address: string, messageCount: number, messages: Message[] }

Contributing

Contributions are welcome! 🙏

#HappyTesting

3.0.1

4 months ago

3.0.0

4 months ago

2.0.0

11 months ago

1.1.3

1 year ago

1.1.2

1 year ago

1.1.1

1 year ago

1.1.0

1 year ago

1.0.10

1 year ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago