# @tracera/cypress

> Cypress plugin and support for Tracera autotest

Latest version **1.0.0** (published 2026-09-24) · SEE LICENSE IN LICENSE.md license · 0 weekly downloads

## Install

```sh
npm install @tracera/cypress
pnpm add @tracera/cypress
yarn add @tracera/cypress
bun add @tracera/cypress
```

## Health

**Score 70/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; recently updated; high maintenance score; high quality score.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2026-09-24 |
| First published | 2026-09-24 |
| Weekly downloads | 0 |
| License | SEE LICENSE IN LICENSE.md |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=22.19.0 |
| Dependencies | 1 |
| Unpacked size | 106.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Tracera |
| Maintainers | tracera.dev |
| Keywords | tracera, autotest, cypress, plugin, test-reporting, testops, e2e |

## Links

- npm: https://www.npmjs.com/package/@tracera/cypress
- Homepage: https://tracera.dev/docs/cypress
- Issues: https://github.com/tracera-dev/tracera-releases/issues
- npm.io page: https://npm.io/package/@tracera/cypress

## Dependencies (1)

- [@tracera/core](https://npm.io/package/@tracera/core.md) 1.0.0

## 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

- 1.0.0 (latest) — 2026-09-24
- 0.1.0-rc.1 (rc) — 2026-09-24

## README

# @tracera/cypress

Cypress plugin and support for Tracera autotest reporting (e2e and Component Testing).

**Requires Node.js ≥ 22.19 and Cypress ≥ 14.**

```bash
npm install @tracera/cypress
```

[@tracera/cypress on npm](https://www.npmjs.com/package/@tracera/cypress).

Contract (environment, bind, steps, attachments): [Cypress](https://tracera.dev/docs/cypress). Shared run mode: [Autotest adapters](https://tracera.dev/docs/adapters).

## Setup

```ts
// cypress.config.ts
import { defineConfig } from 'cypress';
import { registerTraceraPlugin } from '@tracera/cypress';

export default defineConfig({
  e2e: {
    setupNodeEvents(on, config) {
      return registerTraceraPlugin(on, config);
    },
    supportFile: 'cypress/support/e2e.ts',
  },
});
```

```ts
// cypress/support/e2e.ts
import '@tracera/cypress/support';
```

```ts
import { annotations } from '@tracera/cypress/runtime';

it('login', annotations(42, 'e2e/login'), () => {
  cy.visit('/login');
  cy.get('[data-testid=sign-in]').should('be.visible');
});
```

Import `tracera` / `annotations` from `@tracera/cypress/runtime` (or use `cy.traceraTestCase` / `cy.traceraStep` sugar from the support file). Register the Node plugin via `setupNodeEvents`.

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