Files
2025-11-29 18:02:48 +08:00

2.3 KiB

allowed-tools, description
allowed-tools description
Read, Grep, Glob, Bash, TodoWrite, WebFetch, WebSearch Analyzes merged commit changes from input and manual tests the related features on production with Playwright MCP using chrome

/manual-test - Manual test change in production

Purpose

This command allows you to manually test changes in production with a chrome browser by reading merged commit changes and testing the related features on production using Playwright MCP.

Usage

/manual-test [production_url] [commit_hash]

Or --no-verify to skip the manual test plan confirmation step:

/manual-test [production_url] [commit_hash] --no-verify

What This Command Does

  1. Reads and Analyzes the changes to identify the features that need to be tested based on the provided $commit_hash changes.
    • Uses the git diff command to get the changes made in the specified commit only.
    • Identifies the files and functionalities that have been modified or added.
    • Constructs a list of features that need to be tested based on the commit changes.
    • Constructs a manual test plan based on the identified features.
      • You MUST output the test plan in a structured format for the user.
      • If --no-verify is not specified you MUST ask for confirmation or modifications on the plan to proceed with the manual testing.
  2. Run the manual tests on the production URL provided:
    • Open the specified $production_url and follows the test plan created in the first step.
    • DO NOT write any code or scripts, this is a manual testing process.
    • Accept cookies and privacy policies if needed.
    • If in doubt or the application requires authentication (login), stop and ask the user for clarification on how to proceed with the testing otherwise DO NOT wait for user to interact with the browser.
  3. Outputs the results of the manual tests, including any issues, bugs, ux concerns found or confirmations of successful tests in a structured format.
    • If any issues were found, provide detailed information about the issue, including steps to reproduce, expected vs actual behavior.
    • If all tests pass, confirm that the features are functioning as expected.
    • Close the browser after completing the tests.
    • Clear .playwright-mcp directory to ensure no test data is left behind.