E2E Tests MCP Guide

QE E2E Tests V2 — standard Playwright UI/API generation, codegen, k6 performance, and failure healing. Not the @qe/blocks server.

Overview

The E2E Tests V2 MCP generates Playwright E2E tests that follow INDG conventions: AAA, TDD, POM or Screenplay where appropriate, semantic selectors, robust waits, and non-destructive generation. Sibling tools cover API tests, codegen, k6 performance, spec-driven generation, and healing failed Playwright tests.

This server uses standard @playwright/test. For Bloomberg Law @qe/blocks tests, use QE Blocks Tests V2 instead. Prefer adding .qe/ to .gitignore when healing or gap-style reports are written under .qe/reports/.

URLs and JSON

Mount: /mcp/v2/e2e_tests. Config key: qe_e2e_tests_v2. Legacy V1 mounts under /mcp/qe_e2e_tests are deprecated — use V2 only.

EnvironmentURLTransportStatus
Development (V2) https://qe-mcp.bindg.com/mcp/v2/e2e_tests http V2
Production (V2) https://qe-mcp.bindg.com/mcp/v2/e2e_tests http Production

Cursor — ~/.cursor/mcp.json

{
  "mcpServers": {
    "qe_e2e_tests_v2": {
      "url": "https://qe-mcp.bindg.com/mcp/v2/e2e_tests",
      "transport": "http"
    }
  }
}

VS Code — .vscode/mcp.json

{
  "servers": {
    "qe_e2e_tests_v2": {
      "url": "https://qe-mcp.bindg.com/mcp/v2/e2e_tests",
      "type": "http"
    }
  },
  "inputs": []
}

Which tool for which job

You want…Tool
New UI E2E, repo scan, standards, folder layoute2e_core (start here)
Record the journey, then clean upe2e_codegen (with e2e_core)
HTTP / API / contract testse2e_api (with e2e_core)
Turn a written spec into testse2e_spec_keyword (with e2e_core)
Load / performance (k6, not browser click-load)e2e_performance
Failed tests — why they fail and safe fixesplaywright_test_analyzer

Add to Cursor

  1. Open Cursor Settings.
  2. Search for Tools & MCP.
  3. Choose New MCP Server.
  4. Paste the Cursor JSON above, or add a single entry.
  5. Save and confirm the server appears in Installed MCP Servers.
  6. Start the server and run a smoke-test prompt.

Add to VS Code

  1. Open the Command Palette (Cmd+Shift+P or Ctrl+Shift+P).
  2. Search for MCP: Add Server and select HTTP.
  3. Enter the URL https://qe-mcp.bindg.com/mcp/v2/e2e_tests.
  4. Provide an alias such as qe_e2e_tests_v2.
  5. Save globally or to the workspace and start the server.

Playwright E2E workflow

The MCP generally follows this workflow when generating E2E tests:

1. Repository analysis

2. Test architecture proposal

3. Test generation

Rules and best practices

When generating Playwright tests, the assistant behaves like a senior Playwright architect and follows:

Performance (k6) and API testing

Use e2e_api (with e2e_core) for HTTP/API tests and e2e_performance for k6 load scripts — not browser click-load. Keep UI, API, and load goals separate when they differ.

For new k6 and JMeter tests, use the Performance Tests MCP guide. INDG: https://qe-mcp.bindg.com/mcp/v2/performance_tests. BLAW (Bloomberg Law): https://blp.qe-mcp.bindg.com/mcp/v2/performance_tests. e2e_performance is the older k6 helper on this E2E connection. For a large k6 load on EC2, use the Claude skill on that page.

API: Using MCP server qe_e2e_tests_v2, generate API tests from our OpenAPI for the billing endpoints (Playwright request). Don’t invent endpoints.
k6 scenario: Using MCP server qe_e2e_tests_v2, create a k6 smoke and load script for the search API with our SLO thresholds.

Performance platform (EC2)

e2e_performance can still generate a k6 script in your repo. To check a new k6 file and run a large load on the shared EC2 platform, follow the Claude skill for large k6 loads. GitLab starts the runner, uploads the test zip, runs the test, and puts the reports in S3.

Where to go next
e2e_performance MCP tool k6 script k6-tests/ Local validate k6 run (small) EC2 runner Terraform + SSM S3 reports logs + metrics
Create the k6 file with the Performance Tests MCP, then use the Claude skill to check it and run a large load on EC2. GitLab uploads the test zip and the reports to S3.
You need…Where to go
Create or review a k6 or JMeter test Performance Tests MCP
Large k6 load on EC2, then S3 Claude skill for large k6 loads
What the shared EC2 platform does Performance Tool page

Example prompts

UI / E2E: Generate Playwright E2E tests for the login and save-search flows. Follow our existing tests/e2e layout. Using MCP server qe_e2e_tests_v2.
Repo discovery: Using MCP server qe_e2e_tests_v2, analyze this repository's existing Playwright setup. Output a concise inventory of config, directories, fixtures, page objects, utilities, and what should be reused.
Generate new tests: Using MCP server qe_e2e_tests_v2, generate NEW Playwright E2E tests for the login feature using AAA and POM. Do not overwrite any existing files. Show the exact file paths you will create.
From a spec: Here’s the feature spec for export filtered records — generate Playwright tests from it; ask before adding keyword boilerplate.

Codegen integration

Use e2e_codegen with e2e_core for record-first workflows.

Example: transform codegen output

Help me record the profile-update flow with Playwright codegen, then turn it into clean POM tests. Using MCP server qe_e2e_tests_v2.

Example: record a specific flow

Set up codegen for our base URL and walk me through recording search.

The assistant should:

Tip: After generation, run the suite — generation alone does not prove the tests pass. Name the feature, environment, and existing test folder.

UI Mode alternative

npm run test:ui

Failure healing

Use playwright_test_analyzer after Playwright failures — not for writing new tests from scratch. It classifies root cause, optionally inspects the live UI (Playwright browser MCP), writes .qe/reports/e2e-test-healing-{date}.md, and asks for confirm-before-apply fixes.

Heal CI failures: These Playwright tests failed in CI — investigate and propose safe fixes (confirm before apply). Using MCP server qe_e2e_tests_v2.

Cross-platform npm scripts

The rules ensure generated npm scripts work on Windows, macOS, and Linux:

Validate the connection

Smoke test: Use MCP server qe_e2e_tests_v2 to list available tools and capabilities and provide three example prompts for Playwright E2E workflows.

If the server fails to respond, see BBVPN proxy configuration on the hub.

← Back to MCP Server Guide ← Back to Quality Engineering Tools Suite