# tachyon-cypress

> package for cypress tests

Latest version **32.0.0** (published 2024-02-21) · UNLICENSED license · 0 weekly downloads

## Install

```sh
npm install tachyon-cypress
pnpm add tachyon-cypress
yarn add tachyon-cypress
bun add tachyon-cypress
```

## Health

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

Positive: has types; no vulnerabilities.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 32.0.0 |
| Published | 2024-02-21 |
| First published | 2024-02-21 |
| Weekly downloads | 0 |
| License | UNLICENSED |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Emerging Platforms Engineering |
| Maintainers | frgjdhskxjogu |

## Links

- npm: https://www.npmjs.com/package/tachyon-cypress
- npm.io page: https://npm.io/package/tachyon-cypress

## Dependencies (2)

- [local-cypress](https://npm.io/package/local-cypress.md) ^1.0.0
- [@babel/runtime](https://npm.io/package/@babel/runtime.md) ^7.15.0

## Recent versions

- 32.0.0 (latest) — 2024-02-21

## README

# Tachyon Cypress

This package contains various utilities that are useful for working with Cypress
at Twitch.

## Adding Commands

There are several commands that extend Cypress functionality. To use them:

```ts
// cypress/support/commands.ts
import { addTacyhonCypressCommands } from 'tachyon-cypress';

addTacyhonCypressCommands();
```

### Command List

#### findSc

    This is a custom child command which finds Sc elements ex. `ScScrollContainer`.
    Takes in a string which is the name of the targeted styled-component, and otherwise works the same as `cy.find()`.

#### getSc

    This is a custom parent command which gets Sc elements ex. `ScScrollContainer`.
    Takes in a string which is the name of the targeted styled-component, and otherwise works the same as `cy.get()`.

### Creating New Commands

To create a new command, add the command inside the
`addTacyhonCypressCommands()` function using the `Cypress.Commands.add`
functionality. Also then adds it type to global type augmentation so that TS
users can see it and get proper intellisense.

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