# custom-cypress-commands

> Generic commands to shorten the syntax used in cypress tests

Latest version **0.0.5** (published 2021-02-04) · ISC license · 0 weekly downloads

## Install

```sh
npm install custom-cypress-commands
pnpm add custom-cypress-commands
yarn add custom-cypress-commands
bun add custom-cypress-commands
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.5 |
| Published | 2021-02-04 |
| First published | 2021-02-03 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 19.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Nathan Atherton |
| Maintainers | nathanatherton |
| Keywords | cypress, commands, custom, easier, simple, reusable |

## Links

- npm: https://www.npmjs.com/package/custom-cypress-commands
- Homepage: https://github.com/Nathanavie/cypress-custom-commands
- npm.io page: https://npm.io/package/custom-cypress-commands

## Alternatives

- [@snazzah/davey](https://npm.io/package/@snazzah/davey.md) — 1.5M weekly downloads
- [@vendure/testing](https://npm.io/package/@vendure/testing.md) — 8.3K weekly downloads
- [vue-simple-context-menu](https://npm.io/package/vue-simple-context-menu.md) — 6.6K weekly downloads
- [cypress-webpack-preprocessor-v5](https://npm.io/package/cypress-webpack-preprocessor-v5.md) — 2.1K weekly downloads
- [@backstage/plugin-catalog-backend-module-puppetdb](https://npm.io/package/@backstage/plugin-catalog-backend-module-puppetdb.md) — 1.3K weekly downloads

## Recent versions

- 0.0.5 (latest) — 2021-02-04
- 0.0.4 — 2021-02-03
- 0.0.3 — 2021-02-03
- 0.0.2 — 2021-02-03
- 0.0.1 — 2021-02-03

## README

# custom-cypress-commands

A repo containing many different commands that make writing cypress easier

## ✨ Installation

```bash
npm install cypress-custom-commands
```
#### In your support/index.js
Import this to your index.js to bring in all generic reusable commands
```javascript
import 'custom-cypress-commands';
```
#### In your test file
Import this into your test file to make use of custom commands in the package
```javascript
import { customFunctions } from 'custom-cypress-commands';
```
## 💻 Usage

`test.spec.js`
```javascript
import { customFunctions } from 'custom-cypress-commands';

describe('Example test', () => {
  it('Check the wording in the main heading', () => {
    customFunctions.checkWordingIncludes('#mainHeading', 'Welcome');
  });
});
```

#### This is a work in progress, please keep this in mind for any issues you face.

---
_Source: https://npm.io/package/custom-cypress-commands · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
