1.1.4 • Published 2 years ago

find-cat v1.1.4

Weekly downloads
-
License
Apache License 2....
Repository
github
Last release
2 years ago

Find Cat

This package adds a cypress custom command, so you could get uncertain element for some unknown fun.

Installation

npm install find-cat@latest

Usage

Add custom cmmand

# Add following code in cypress/support/e2e.js file
import findcat from 'find-cat'

Create cat jump funcion

# Original function is as follows:
const catJumps = () => {
    cy.log('Cat is alive, and jumps for no reason')
    console.log('Cat is alive, and jumps for no reason')
    cy.exec("echo 'Cat is alive, and jumps for no reason'")
}

Add it in general cy file

cy.get('.header').findcat('button', catJumps)
1.1.1

2 years ago

1.1.4

2 years ago

1.1.3

2 years ago

1.1.2

2 years ago

1.1.0

2 years ago

1.0.0

2 years ago