1.1.4 • Published 10 months ago

find-cat v1.1.4

Weekly downloads
-
License
Apache License 2....
Repository
github
Last release
10 months 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

11 months ago

1.1.4

10 months ago

1.1.3

11 months ago

1.1.2

11 months ago

1.1.0

11 months ago

1.0.0

11 months ago