Skip to main content

cypress-run

Select and run this repository's Cypress tests by mode, suite, tags, or spec. Use when the user asks to run or open Cypress tests.

소스 정보

저장소
openshift/monitoring-plugin
최근 소스 활동
2026년 9월 23일 12:59
감지된 SKILL.md 언어
영어
스타
12
포크
71

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

파일 탐색기
3 개 파일

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
cypress-run
description
Select and run this repository's Cypress tests by mode, suite, tags, or spec. Use when the user asks to run or open Cypress tests.
# Run Cypress Run Cypress only on an explicit request. Work from `web/`; Cypress has no separate package in `web/cypress/`. ## Select the command 1. Use headless mode unless the user requests headed or interactive mode. 2. Discover current scripts from `web/package.json` and specs under `web/cypress/` instead of relying on a static command list. 3. Accept a package script, suite, grep tags, one or more `--spec` paths, or additional Cypress arguments. Resolve ambiguous suite names before starting an expensive run. 4. If `web/cypress/export-env.sh` is missing, read `.agents/skills/cypress-setup/SKILL.md` and follow its setup workflow. Source the result without printing its contents. Typical direct execution from `web/` is: ```bash source cypress/export-env.sh npm run cypress:run -- --spec 'cypress/e2e/path/to/spec.cy.ts' ``` Use `npm run cypress:open` for interactive mode and `npm run cypress:run -- --headed ...` for headed execution. Preserve the user's extra arguments after `--`. ## Logs and status For long headless runs, capture combined output to a named file under `/tmp` while preserving Cypress's exit status (for example with Bash `set -o pipefail` and `PIPESTATUS`). Report the command, log path, exit status, and failing specs. Do not retry failures automatically. ## Optional desktop terminal Direct execution is preferred. When the user asks for a separate GUI terminal, run the matching helper in `scripts/` with `--run "<command>"`. The helpers locate the repository root, source the ignored environment file, and open or reuse a terminal named `Cypress Tests`.
GitHub에서 보기