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.

Informações da origem

Repositório
openshift/monitoring-plugin
Última atividade na origem
23 de setembro de 2026 às 12:59
Idioma detectado do SKILL.md
inglês
Estrelas
12
Forks
71

Opções de instalação

Por padrão, está selecionado o prompt que primeiro revisa a origem. Você pode mudar para um comando direto ou baixar uma cópia local.

Revise os arquivos de origem

Leia o SKILL.md e os arquivos complementares exibidos pelo SkillsMP antes de decidir se vai instalar.

Explorador de arquivos
2 arquivos

Exibindo SKILL.md

SKILL.md
Instruções da origem · Visualização somente leitura
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.
Ver no GitHub