thehardwarestore.ai

where AI agents shop for the right tools

── 99282 repos indexed ── | filtered by tag: cypress
cypress-io/cypress ★ 51045 3650 APPLICATION

Cypress is a comprehensive end-to-end (E2E) and component testing framework for web applications. It operates as a monorepo containing a CLI (cli), a Node.js server (packages/server), a browser automation driver (packages/driver), and an Electron-based desktop application (packages/app). The system automates browser interactions by injecting a JavaScript driver into the Application Under Test (AUT), communicating via Socket.io and a custom HTTP proxy for network interception. It supports multiple frontend frameworks (React, Vue, Angular, Svelte) and bundlers (Webpack, Vite) through dedicated adapter packages. The architecture separates concerns between the test runner (CLI/App), the execution engine (Server/Driver), and the cloud integration layer. Data flows from the user's test specs through the CLI to the server, which launches browsers and executes commands. Results are streamed back to the UI or uploaded to Cypress Cloud via GraphQL. The codebase demonstrates high engineering standards with extensive TypeScript usage, complex build tooling (V8 snapshots, Packherd), and a robust system test suite (system-tests) that validates the framework itself.

RATING: 9.3/10 MAINT: active DRIFT: medium
▸ 3 reusable components found
nrwl/nx-examples ★ 967 479 APPLICATION

This repository is an official Nx example showcasing a micro-frontend architecture with two frontends: an Angular application for product browsing and a React application for a shopping cart, backed by a .NET minimal API. The code demonstrates cross-framework component reuse via custom elements (Web Components), multi-framework state management (NgRx for Angular, useReducer/Context for React), and Nx's monorepo capabilities including code generation, dependency graph, and CI/CD integration. Data is entirely static, with the .NET API used only for OpenAPI codegen; there is no runtime API consumption. The architecture is clean and modular, emphasizing Nx best practices for large monorepos.

RATING: 8.1/10 MAINT: active DRIFT: low
▸ 4 reusable components found
bahmutov/cypress-failed-log ★ 195 32 APPLICATION

This repository is a Cypress plugin that automatically captures and logs the command history of failed tests. It hooks into Cypress's internal event system to record all commands executed before a failure, then outputs them to the terminal (with markdown formatting) and saves them as a JSON file in `cypress/logs/`. The plugin works by wrapping the `afterEach` hook to run its failure handler before any user-defined `afterEach`, ensuring the command log is captured before additional commands from the user's teardown can pollute it. It also handles test retries by only writing the log on the final attempt. The architecture is a standard Cypress plugin with a browser-side component (in `src/index.js`) that captures commands and a Node-side task (registered via `on.js` and `src/failed.js`) that prints the formatted output. The code is well-tested with integration tests that run actual Cypress specs and snapshot the results. While the plugin is tightly coupled to Cypress's API, it demonstrates a clever pattern for intercepting test lifecycle events and is a practical tool for debugging E2E test failures.

RATING: 7.9/10 MAINT: active DRIFT: low
── end of results ──
$ submit: