jehktech/agent-lifecycle/mamastops-e2e-testing

Claude Code and agent skill by jehktech/agent-lifecycle

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Specialized guidance for executing, debugging, and extending the Mamastops E2E test suites (stage/demo). Defines agentic procedures, failure analysis, and env configuration.

Install

npx vskill@latest install jehktech/agent-lifecycle/mamastops-e2e-testing

SKILL.md

The same SKILL.md was published earlier as jehktech/agent-lifecycle/mamastops-e2e-testing.

Mamastops E2E Testing Skill

This skill guides any AI agent to run, debug, and extend the Mamastops End-to-End test suites.

🤖 Agentic Test Execution Procedures

When tasked with executing or modifying tests in this workspace, follow these procedural steps:

1. Pre-Flight Environment Validation

Before launching any test run, verify the local environment setup:

  • Ensure .env.stage (or .env.demo if applicable) exists in the test repository root.
  • Check that all necessary base URLs and login credentials are loaded.
  • Pre-Flight Check: Always run npm run test:smoke first. It acts as a fast (~2 min), low-cost diagnostic to ensure credentials, network gateways, and portal routing are functional. If smoke fails, do not execute heavier suites.
2. Diagnostic & Failure Analysis Workflow

If a test case fails, follow this triage flow to isolate the root cause instead of repeatedly running full suites:

  1. Identify the failure type:
  • Auth Failure: Check if the run failed early with element not found or redirected to login routes. If so, run npm run test:login to re-mint and cache session files.
  • Selector Drift: If the element was not found but session is active, run a single module check using npm run test:module -- <portal> <module> with the --headed flag to watch the live viewport.
  • Structural Change: Check if the page structure or path changed by running npx playwright codegen <url> or examining the local portal registry in config/modules/.
  1. Run Targeted Tests Only:
  • Use npm run test:module -- <portal> <module> to isolate a single module.
  • Use --grep or --grep-invert tags (e.g. @crud, @destructive) to target specific tags.
3. Writing and Maintaining Specs
  • Strict Separation of Concerns: Portal specs MUST remain thin declarative shells. All selector references, routing paths, and page actions should live inside config/ and framework/.
  • Zero Residual State on Shared Environments: When writing mutation specs, always utilize randomized/seeded data so that repeated runs do not collide. Every create or modify operation must have a matching teardown/remove operation that deletes precisely the record it created.
  • Do Not Use complex dependencies: Do not tie unrelated modules with execution dependencies. Keep them independent so that a failure in one module does not cause a waterfall of skips in other independent pages.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/jehktech/agent-lifecycle/mamastops-e2e-testing/badge)](https://verified-skill.com/skills/jehktech/agent-lifecycle/mamastops-e2e-testing)

Something wrong with this skill or its page? Tell us.