jehktech/agent-lifecycle/portal-browser-test
Claude Code and agent skill by jehktech/agent-lifecycle
- community
Checking that the SKILL.md file is still in the repository.
Drive a live browser session against the Mamastops stage portals (admin/customer/provider) to log in, explore a flow, or verify a fix — using the verified selectors and known defects from mamastops_stage_e2e instead of rediscovering them by hand. Use when the user wants to manually check something on test-admin/test-customer/test-provider.mamastops.com, reproduce a bug, or explore a flow before it becomes a Playwright spec.
Install
npx vskill@latest install jehktech/agent-lifecycle/portal-browser-testSKILL.md
The same SKILL.md was published earlier as jehktech/agent-lifecycle/portal-browser-test.
Portal Browser Test
Drives one of the three Mamastops stage portals directly via @browser, grounded in the verified flows and defects already captured in mamastops_stage_e2e/ (source of truth: STAGE_E2E_WORKING_INSTRUCTIONS.md, CLAUDE.md, STAGE_CONSIGNMENT_FLOWS.md, TEST_DATA_AND_RESULTS.md, PHASE_1_*_BASELINE_FLOWS.md).
This skill is for ad-hoc, human-in-the-loop browser sessions — reproducing a bug, checking a fix landed, or exploring a flow that doesn't have a spec yet. It is not a replacement for the Playwright suite: if a flow will be checked repeatedly, the output of this session should become a spec under mamastops_stage_e2e/tests/, not a standing manual habit.
Before starting
- Read
CLAUDE.mdat the workspace root for credential handling and the
cross-portal constraints (selector discipline, async waits, security rules).
- Identify the target portal and read the matching baseline doc if it exists:
mamastops_stage_e2e/PHASE_1_ADMIN_BASELINE_FLOWS.md, ..._CUSTOMER_BASELINE_FLOWS.md, or ..._PROVIDER_BASELINE_FLOWS.md.
- Resolve credentials from
cowork.credentials.env(see CLAUDE.md). If it
doesn't exist yet, stop and ask the user to create it from cowork.credentials.env.example — do not accept credentials pasted in chat.
- Confirm no Playwright run is in flight in
mamastops_stage_e2e(its
global.setup.ts rewrites the same stage session state you're about to touch).
Login, per portal
Use @browser: <base URL> from the table in CLAUDE.md, then:
- Admin —
#basic_user_id+#basic_password→Sign In→ wait for the 2FA
screen (renders ~5s after submit, don't conclude failure early) → Send OTP → #verify_otp_otp → Verify OTP → confirm /dashboard.
- Customer — Mobile tab (default):
#unified_mobile_login_mobilewith
national digits only → Send OTP → confirm redirect to /auth/login-otp → #verify_otp_otp → Verify OTP → confirm /dashboard. Only CUSTOMER_LOGIN_USERNAME is a real account — don't try other numbers seen in test data.
- Provider — click the
Providercard on/auth/user-type-selection→
#normal_login_user_name + #normal_login_password on /auth/provider-login → Login. No OTP. It lands on /, so confirm success via the shell nav (a button whose accessible name contains "home"), not the URL.
While exploring
- Ground every selector in what the live accessibility tree / DOM actually shows.
If a probe script already exists for what you need (mamastops_stage_e2e/dev-tools/probe-*.js), read its output or re-run it rather than guessing.
- Treat "element not visible yet" as "wait longer," not "doesn't exist" — every
portal renders post-submit steps asynchronously.
- Provider nav buttons carry icon alt text in their accessible name (
"home Home",
"wallet Wallet") — match by substring.
- Don't assert or conclude based on counts, balances, or transaction totals — they
drift between sessions.
- Cross-portal flows (e.g. consignment creation → provider transit update → admin
clearance) span three separate logins; capture the consignment ID and any reference numbers as you go so the next portal's session can look it up. See mamastops_stage_e2e/STAGE_CONSIGNMENT_FLOWS.md for the expected sequence.
Known defects to recognize, not "fix"
- Provider nav is a no-op from any sub-route — only the root honours nav clicks.
- Provider wallet-transactions endpoint 400s for wallet-less accounts and retries
in a loop.
- AntD Select fragility (no
data-testidyet) and a trailer-creation validation
bug, both open since Phase 1.
If a screen behaves like one of these, don't spend time working around it beyond what's needed to continue the flow — note it and move on.
Wrapping up
- Summarize what you did and found in plain terms: what flow, what portal, what
you verified or reproduced, and anything that didn't match the documented behavior.
- If you hit a genuinely new defect (not one of the ones above), describe it
precisely enough that it could become a Playwright assertion later — the selector, the expected vs. actual behavior, and repro steps.
- If this exploration should become a permanent regression check, say so
explicitly and point at mamastops_stage_e2e/tests/<portal>/specs/ as where it would live — writing the actual spec is a separate, deliberate step, not an automatic follow-on.
- Never include credential values, OTPs, or raw session tokens in the summary,
even if you saw them in the DOM or a network response.
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
- SKILL.md in the repositoryCheckingportal-browser-test/SKILL.md
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
[](https://verified-skill.com/skills/jehktech/agent-lifecycle/portal-browser-test)