Skip to main content

refactor-regression-test

Refactor an existing Incidents Cypress regression test while preserving behavior and its manual-verification state. Use when the user asks to clean up or reorganize such a test.

来源信息

仓库
openshift/monitoring-plugin
最近来源活动
2026年9月23日 12:59
检测到的 SKILL.md 语言
英语
星标
12
分支
71

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

文件资源管理器
2 个文件

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
refactor-regression-test
description
Refactor an existing Incidents Cypress regression test while preserving behavior and its manual-verification state. Use when the user asks to clean up or reorganize such a test.
# Refactor an Incidents regression test Require the target test file. Before editing, read: - `.agents/references/incidents-testing-guidelines.md`; - `web/cypress/views/incidents-page.ts`; - the target test and related fixture; - [references/refactoring-guide.md](references/refactoring-guide.md) for preserved examples and checks. Reduce repetition and improve naming without weakening assertions or changing the scenario. Reuse existing page-object APIs. Ask before adding missing page-object functionality. Preserve the test's `cy.pause()` state. Remove pauses only when the user explicitly requests or confirms their removal, and never reintroduce pauses into a test from which they were already removed. Run the narrowest relevant checks and summarize structural changes separately from behavior changes.
在 GitHub 查看