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.

Informations de source

Dépôt
openshift/monitoring-plugin
Dernière activité de la source
23 septembre 2026 à 12:59
Langue détectée de SKILL.md
anglais
Étoiles
12
Forks
71

Options d'installation

Le prompt qui vérifie d'abord la source est sélectionné par défaut. Vous pouvez passer à une commande directe ou télécharger une copie locale.

Vérifiez les fichiers source

Lisez SKILL.md et les fichiers associés affichés par SkillsMP avant de décider de l'installer.

Explorateur de fichiers
2 fichiers

Affichage de SKILL.md

SKILL.md
Instructions source · Aperçu en lecture seule
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.
Voir sur GitHub