Skip to content

Commit 869c92d

Browse files
salmanltIshavyas9
authored andcommitted
Updated MCP docs + new Codecept JS doc + fixed bugs
1 parent 58bcdee commit 869c92d

15 files changed

Lines changed: 697 additions & 265 deletions
64.9 KB
Loading

docs/accessibility-mcp-server.md

Lines changed: 81 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,57 +1,98 @@
11
---
22
id: accessibility-mcp-server
33
title: Accessibility MCP Tool
4-
sidebar_label: Accessibility MCP Tool
5-
description: Use the Accessibility MCP Tool for supported AI-assisted accessibility analysis workflows.
4+
sidebar_label: Accessibility
5+
description: Run accessibility checks on hosted URLs or local React apps and get detailed remediation guidance using the Accessibility MCP Tool.
66
slug: accessibility-mcp-server/
77
url: https://www.testmuai.com/support/docs/accessibility-mcp-server/
88
site_name: TestMu AI
99
canonical: https://www.testmuai.com/support/docs/accessibility-mcp-server/
10+
keywords:
11+
- accessibility testing
12+
- accessibility mcp
13+
- a11y
14+
- testmu ai
15+
- MCP
16+
- MCP server
1017
---
1118

12-
# Accessibility MCP Tool
19+
import CodeBlock from '@theme/CodeBlock';
20+
import BrandName, { BRAND_URL } from '@site/src/component/BrandName';
21+
22+
<script type="application/ld+json"
23+
dangerouslySetInnerHTML={{ __html: JSON.stringify({
24+
"@context": "https://schema.org",
25+
"@type": "BreadcrumbList",
26+
"itemListElement": [{
27+
"@type": "ListItem",
28+
"position": 1,
29+
"name": "Home",
30+
"item": BRAND_URL
31+
},{
32+
"@type": "ListItem",
33+
"position": 2,
34+
"name": "Support",
35+
"item": `${BRAND_URL}/support/docs/`
36+
},{
37+
"@type": "ListItem",
38+
"position": 3,
39+
"name": "Accessibility MCP Tool",
40+
"item": `${BRAND_URL}/support/docs/accessibility-mcp-server/`
41+
}]
42+
})
43+
}}
44+
></script>
45+
46+
# Getting Started with Accessibility MCP Tool
47+
48+
Accessibility MCP Tool is part of the [TestMu AI MCP Server](/support/docs/testmu-mcp-server/). It runs accessibility checks on publicly hosted URLs and local React applications, and returns a detailed report with remediation guidance.
49+
50+
51+
## Key Features
1352

14-
Accessibility MCP Tool enables supported AI-assisted Accessibility workflows for public URLs and selected local app analysis flows. It is a tool within the [TestMu AI MCP Server](/support/docs/testmu-mcp-server/).
15-
16-
This page describes what the Accessibility MCP Tool is, when an MCP-connected, AI-assisted analysis flow makes sense, and how that surface differs from DevTools, Automation, and Web Scanner. Use it to orient prerequisites and boundaries before connecting a client or routing work into an MCP-based accessibility review.
17-
18-
## When to use this
19-
20-
Use the Accessibility MCP Tool when you want an AI-assisted workflow that can request Accessibility analysis through supported MCP-compatible clients and tools.
21-
22-
## What it is good for
23-
24-
- analyzing supported public URLs through an MCP-based workflow
25-
- supporting selected local-app analysis flows where MCP support is available
26-
- routing users into an AI-assisted accessibility review flow instead of a browser-extension or framework-execution flow
27-
28-
## Prerequisites
29-
30-
- access to the Accessibility MCP Tool feature
31-
- an MCP-compatible client or workflow that can connect to the server
32-
- a public URL or supported local application flow you are authorized to test
53+
---
3354

34-
## Onboarding checklist (first connection)
55+
- Identifies accessibility issues in your application.
56+
- Generates an accessibility report you can share with your team.
57+
- Provides remediation guidance for a11y issues in locally hosted applications.
3558

36-
1. Install and verify the **platform** MCP prerequisites from [Introducing TestMu AI MCP Server](/support/docs/testmu-mcp-server/) if your client expects the shared endpoint model.
37-
2. Confirm with your admin that **Accessibility MCP** is enabled for the workspace (feature flag or contract).
38-
3. In your MCP client (for example Cursor, VS Code extension, or internal agent), add the **Accessibility MCP server definition** supplied in your account documentation—endpoint, auth mode, and scopes differ by release; copy from the in-product help or support article your CS team provides.
39-
4. Start with a **single public URL** smoke test authorized for scanning; avoid sensitive or authenticated pages until tunnel or auth patterns are validated.
40-
5. Compare MCP output with a **DevTools or automation report** for the same URL so you trust the interpretation before relying on it in compliance conversations.
41-
6. Escalate gaps to support with **client name**, **server version**, and **timestamp** if tool calls fail.
59+
## Capabilities
4260

43-
## Product boundary
61+
---
4462

45-
Accessibility MCP Tool is a dedicated product surface. It is not the same as:
63+
1. **getAccessibilityReport** - Fetches a detailed accessibility report for a public URL. You can view the report in your browser to analyze the issues.
64+
2. **buildLocalAppForAnalysis** - Builds and serves your local React application via TestMu AI and identifies accessibility issues.
65+
3. **analyseAppViaTunnel** - Tests a local app already running via TestMu AI tunnel for accessibility failures.
4666

47-
- **Accessibility DevTools**, which is for browser-based manual and assisted testing
48-
- **Accessibility Automation**, which is for framework-driven automated execution
49-
- **Web Scanner**, which is an integrated URL-scanning surface
67+
## How to Invoke
5068

51-
## Related docs
69+
---
5270

53-
- [Introducing TestMu AI MCP Server](/support/docs/testmu-mcp-server/) (platform-wide MCP setup)
54-
- [Choosing the Right Accessibility Tool](/support/docs/accessibility-choosing-the-right-tool/)
55-
- [Accessibility DevTools (Overview)](/support/docs/accessibility-devtools/)
56-
- [Accessibility Automation (Overview)](/support/docs/accessibility-automation/)
57-
- [Starting an Accessibility Scan with Web Scanner](/support/docs/web-scanner-accessibility-scan/)
71+
Once your MCP client is connected, use natural language to interact with the Accessibility tool. Example prompts:
72+
73+
- "Run an accessibility report on `https://example.com`."
74+
- "Build my local React app and check it for accessibility issues."
75+
- "I have a local app running on port 3000 via TestMu AI tunnel, check it for a11y failures."
76+
- "Show me the accessibility violations on the homepage and how to fix them."
77+
78+
Your AI client will route the request to the appropriate capability and return the report or remediation guidance inline.
79+
80+
<nav aria-label="breadcrumbs">
81+
<ul className="breadcrumbs">
82+
<li className="breadcrumbs__item">
83+
<a className="breadcrumbs__link" href={BRAND_URL}>
84+
Home
85+
</a>
86+
</li>
87+
<li className="breadcrumbs__item">
88+
<a className="breadcrumbs__link" target="_self" href={`${BRAND_URL}/support/docs/`}>
89+
Support
90+
</a>
91+
</li>
92+
<li className="breadcrumbs__item breadcrumbs__item--active">
93+
<span className="breadcrumbs__link">
94+
Accessibility MCP Tool
95+
</span>
96+
</li>
97+
</ul>
98+
</nav>

docs/appium-ip-geolocation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ To harness the **IP Geolocation** feature in your automated tests, employ the `g
6464

6565
**Java Example:**
6666
```java
67-
// Java code for configuring IP Geolcation in tests on <BrandName />
67+
// Java code for configuring IP Geolcation in tests on TestMu AI
6868
DesiredCapabilities capabilities = new DesiredCapabilities();
6969
capabilities.setCapability("geoLocation", "FR");
7070
// Add other capabilities as needed

docs/automation-mcp-server.md

Lines changed: 32 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
id: automation-mcp-server
33
title: Getting Started with Automation MCP Tool
4-
sidebar_label: Connect via MCP Tool
4+
sidebar_label: Automation
55
description: Triage test failures faster with the Automation MCP Tool by connecting AI assistants to your test execution data.
66
keywords:
77
- automation mcp server setup
@@ -46,7 +46,9 @@ import BrandName, { BRAND_URL } from '@site/src/component/BrandName';
4646
></script>
4747

4848
# Getting Started with Automation MCP Tool
49-
Automation MCP Tool simplifies test failure triaging for all automation test cases executed on TestMu AI. It is a tool within the [TestMu AI MCP Server](/support/docs/testmu-mcp-server/) that enables integration between AI assistants and your test execution data — reducing triage and troubleshooting time.
49+
---
50+
51+
Automation MCP Tool is part of the [TestMu AI MCP Server](/support/docs/testmu-mcp-server/). It connects your AI client to test execution data on TestMu AI, letting you triage and debug automation failures directly from your IDE.
5052

5153

5254
<div className="ytframe">
@@ -55,30 +57,42 @@ Automation MCP Tool simplifies test failure triaging for all automation test cas
5557
</div>
5658
</div>
5759

58-
## What Is Model Context Protocol (MCP)?
60+
## Key Benefits
61+
5962
---
60-
MCP acts as a universal interface between AI models and applications, creating a standardized language for AI assistants to connect with software tools.
6163

62-
The Model Context Protocol (MCP) creates a standardized interface that allows AI assistants to connect with diverse software tools. This makes it easier to expand capabilities across your digital workflow.
64+
Use the Automation tool to accelerate debugging and test analysis:
65+
66+
- Access your test execution data on TestMu AI directly from your IDE or editor.
67+
- Triage and troubleshoot test failures to identify the root cause (RCA).
68+
- Fix your test code based on the RCA and accelerate your development.
69+
- Generate new test cases using execution data from TestMu AI.
70+
- Use network logs, Selenium logs, and console logs to pinpoint bottlenecks and failures.
71+
72+
## Capabilities
6373

64-
## What You Can Do
6574
---
66-
Automation MCP Tool provides five core capabilities for test analysis.
6775

68-
1. **Test Details:** Fetches detailed information about a specific TestID from the TestMu AI cloud.
69-
2. **Command Logs:** Retrieves execution logs for Selenium commands run on TestMu AI.
70-
3. **Network Logs:** Accesses test network logs, offering insights into browser traffic and behavior.
71-
4. **Console Logs:** Fetches browser console logs, surfacing error-level messages and warnings.
72-
5. **Core Interface:** Powers the above capabilities and connects your AI assistant to TestMu AI data.
76+
The Automation MCP Tool provides four capabilities:
77+
78+
1. **Automation Test Details:** Fetches detailed information about a specific TestID from the TestMu AI cloud.
79+
2. **Automation Command Logs:** Retrieves execution logs for Selenium commands run on TestMu AI.
80+
3. **Automation Network Logs:** Accesses test network logs, offering insights into browser traffic and behavior.
81+
4. **Automation Console Logs:** Fetches browser console logs, surfacing error-level messages and warnings.
82+
83+
## How to Invoke
7384

74-
## Why Use the Automation MCP Tool
7585
---
7686

77-
1. Access your test execution data on TestMu AI directly from your IDE or editor.
78-
2. Triage and troubleshoot test failures to identify the root cause (RCA).
79-
3. Fix your test code based on the RCA and accelerate your development.
80-
4. Generate new test cases using execution data from TestMu AI.
81-
5. Use network logs, Selenium logs, and console logs to pinpoint bottlenecks and failures.
87+
Once your MCP client is connected, use natural language to interact with the Automation tool. Example prompts:
88+
89+
- "Triage the failure for TestID `<testID>`."
90+
- "Show me the network logs for TestID `<testID>`."
91+
- "What console errors occurred during the last failed test?"
92+
- "Pull the Selenium command logs for `<testID>` and tell me where it failed."
93+
- "Generate a new test case based on the execution flow of TestID `<testID>`."
94+
95+
Your AI client will route the request to the appropriate capability, pull the relevant data from TestMu AI, and return the results inline.
8296

8397

8498
<nav aria-label="breadcrumbs">

docs/browserstack-to-lambdatest-migration-guide.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ You need to now change the hub URL in the configuration settings of your test su
9696

9797
</TabItem>
9898

99-
<TabItem value="android" label="<BrandName /> Selenium Grid URL" default>
99+
<TabItem value="android" label="TestMu AI Selenium Grid URL" default>
100100

101101
```js
102102
@hub.lambdatest.com/wd/hub
@@ -145,7 +145,7 @@ capabilities.setCapability("bstack:options", bstackOptions);
145145

146146
</TabItem>
147147

148-
<TabItem value="android" label="<BrandName /> Capabilities" default>
148+
<TabItem value="android" label="TestMu AI Capabilities" default>
149149

150150
```js
151151
SafariOptions browserOptions = new SafariOptions();
@@ -203,7 +203,7 @@ caps.setCapability("browserstack.key", "YOUR_ACCESS_KEY");
203203

204204
</TabItem>
205205

206-
<TabItem value="android" label="<BrandName /> Capabilities" default>
206+
<TabItem value="android" label="TestMu AI Capabilities" default>
207207

208208
```js
209209
DesiredCapabilities capabilities = new DesiredCapabilities();
@@ -235,7 +235,7 @@ This test script performs a basic text validation on the website [<BrandName />
235235

236236
<Tabs className="docs__val">
237237

238-
<TabItem value="ios" label="<BrandName /> Execution With Selenium 4 Capabilities" default>
238+
<TabItem value="ios" label="TestMu AI Execution With Selenium 4 Capabilities" default>
239239

240240
```java
241241
// TextValidationTest.java
@@ -302,7 +302,7 @@ public class TextValidationTest {
302302

303303
</TabItem>
304304

305-
<TabItem value="android" label="<BrandName /> Execution With Selenium 3 Capabilities" default>
305+
<TabItem value="android" label="TestMu AI Execution With Selenium 3 Capabilities" default>
306306

307307
```java
308308
// TextValidationTest.java – Selenium 3 Configuration

0 commit comments

Comments
 (0)