0.0.5 • Published 3 years ago

cypress-mail-commands v0.0.5

Weekly downloads
10
License
MIT
Repository
github
Last release
3 years ago

Cypress Mail Commands

npm version

Installing

Install the module.

npm install cypress-mail-commands --save-dev

Add the following line to cypress/support/index.js.

require('cypress-mail-commands');

Type definitions

Import typescript definitions by adding them to your tsconfig.json. Add the cypress-mail-commands types before the Cypress types so intellisense will prefer the cypress-commands versions.

"types": [
    "cypress-mail-commands",
    "cypress"
]

TypeScript

The definition for cy.linkFromMail command is in index.d.ts file. If you are using JavaScript, include the following line in our spec files

// cypress/integration/my-spec.js
/// <reference types="@probststefan/cypress-mail-commands" />

With this line, you should have Intelligent Code Completion working in most IDEs and the TypeScript compiler should understand the cy.linkFromMail command.

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago