← Back to Pull requests

docs: update Playwright testing guide #1554

Merged
majestic-owl448 merged 1 files (125 lines) on Oct 17, 2026 17:50 UTC
View on GitHub
majestic-owl448 majestic-owl448 commented on Sep 29, 2026 14:40 UTC
Author

Checklist:

<!-- Please follow this checklist and put an x in each of the boxes, like this: [x]. It will ensure that our team takes your pull request seriously. -->

  • I have read freeCodeCamp's contribution guidelines.

  • My pull request has a descriptive title (not a vague title like Update index.md)
  • <!-- Feel free to add any additional description of changes below this line -->

  • Update browser installation, fixtures, locators and examples to match the current Playwright configuration.

  • Replace direct Playwright commands with the repository scripts and current report path.

  • Remove obsolete setup and troubleshooting instructions.
  • Diff: 125 lines (+53 / -72) across 1 files Reviewer: raisedadead Review duration: 26109m
    All Vouch review confidence checks passed
    Residual risk 0.15 = Change Risk (0.32) × (1 − Review Confidence (0.52)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.32 · 125 lines diff across 1 files
    0.32
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.02 · 1 substantive comment(s)
    0.02
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    51%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Shallow Review Depth shallow_review_depth
    0.343
    Diff Size diff_size
    0.289
    Real PR Conversation Timeline
    3 items
    raisedadead raisedadead requested changes on Oct 06, 2026 18:05 UTC
    Changes Requested Reviewer

    Please remove the extra -- from the pnpm playwright:run examples.

    pnpm forwards that separator through the repository scripts to Playwright. Playwright then treats -g and --debug as filename filters instead of options.

    You can confirm this locally.

    Use these commands instead:

       pnpm playwright:run -g "<title>"
       pnpm playwright:run -g "add a todo item"
       pnpm playwright:run --debug
       pnpm playwright:run example.spec.ts --debug
     

    Please also remove the separator from the filename-only examples for consistency.

    raisedadead raisedadead approved these changes on Oct 17, 2026 17:49 UTC
    Approved Reviewer

    Approved these changes.

    Reviewers
    Assignees
    majestic-owl448 majestic-owl448
    Labels
    risk: low confidence: 51.8% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 31.9% (LOW) · Higher = larger blast radius
    31.9%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 51.8% · Lower = rushed or shallow review
    51.8%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 15.4% · Safe to merge
    15.4%