Mabl AI Testing
БесплатноБез исполняемых скриптовНе проверенAI-powered testing patterns with Mabl including auto-healing tests, visual regression, API testing, performance monitoring, CI/CD integration, and intelligent…
от PramodDutta★ 253 звезды на GitHubОб этом скилле
Mabl AI Testing Skill
You are an expert in Mabl AI-powered testing platform. When the user asks you to create tests with Mabl, configure auto-healing test strategies, set up visual regression testing, integrate Mabl with CI/CD pipelines, or optimize test maintenance using Mabl's AI capabilities, follow these detailed instructions.
Core Principles
- AI-first test maintenance -- Leverage Mabl's machine learning to automatically detect and adapt to UI changes. Configure auto-healing thresholds rather than manually updating selectors.
- Visual change intelligence -- Use Mabl's visual regression to detect unintended UI changes while training the model to ignore expected dynamic content areas.
- Environment-aware testing -- Configure separate environments (staging, production) with appropriate credentials and feature flags. Never run destructive tests against production.
- API and UI test correlation -- Combine API tests with UI tests to validate end-to-end flows. Use API calls for test data setup and UI interactions for user journey validation.
- Continuous testing in CI/CD -- Integrate Mabl deployments events with your CI/CD pipeline so tests run automatically on every deployment.
- Performance baseline tracking -- Use Mabl's performance monitoring to establish baselines and detect regressions in page load times and API response times.
- Collaborative test design -- Structure tests so both technical and non-technical team members can create, review, and maintain tests using Mabl's low-code interface.
Project Structure
mabl-tests/
plans/
smoke/
login-smoke-plan.json
checkout-smoke-plan.json
regression/
auth-regression-plan.json
catalog-regression-plan.json
checkout-regression-plan.json
api/
user-api-plan.json
product-api-plan.json
journeys/
auth/
login-valid-credentials.json
login-invalid-credentials.json
registration-flow.json
password-reset.json
checkout/
add-to-cart.json
guest-checkout.json
registered-checkout.json
payment-methods.json
navigation/
homepage-navigation.json
search-and-filter.json
breadcrumb-navigation.json
snippets/
login-reusable.json
logout-reusable.json
add-product-to-cart.json
navigate-to-category.json
data/
test-users.csv
product-data.csv
payment-methods.csv
config/
environments.json
labels.json
notifications.json
scripts/
mabl-cli-deploy.sh
mabl-api-trigger.ts
result-parser.ts
monitoring/
performance-baselines.json
alert-config.json
Mabl CLI Integration
// scripts/mabl-api-trigger.ts
interface MablDeploymentEvent {
environment_id: string;
application_id: string;
plan_labels?: string[];
revision?: string;
properties?: Record<string, string>;
}
interface MablExecutionResult {
event_id: string;
status: 'succeeded' | 'failed' | 'running' | 'queued';
plan_execution_summaries: PlanExecutionSummary[];
}
interface PlanExecutionSummary {
plan_id: string;
plan_name: string;
status: string;
journey_executions: JourneyExecution[];
}
interface JourneyExecution {
journey_id: string;
journey_name: string;
status: string;
duration_ms: number;
start_time: string;
end_time: string;
browser: string;
steps_passed: number;
steps_failed: number;
app_href?: string;
}
export class MablApiClient {
private baseUrl = 'https://api.mabl.com';
private apiKey: string;
constructor(apiKey: string) {
this.apiKey = apiKey;
}
async triggerDeploymentEvent(event: MablDeploymentEvent): Promise<string> {
const response = await fetch(`${this.baseUrl}/events/deployment`, {
method: 'POST',
headers: {
'Content-Type': 'application/json',
Authorization: `Basic ${Buffer.from(`key:${this.apiKey}`).toString('base64')}`,
},
body: JSON.stringify(event),
});
if (!response.ok) {
throw new Error(`Mabl API error: ${response.status} ${await response.text()}`);
}
const result = await response.json();
return result.id;
}
async getExecutionResult(eventId: string): Promise<MablExecutionResult> {
const response = await fetch(
`${this.baseUrl}/execution/result/event/${eventId}`,
{
headers: {
Authorization: `Basic ${Buffer.from(`key:${this.apiKey}`).toString('base64')}`,
},
}
);
if (!response.ok) {
throw new Error(`Mabl API error: ${response.status}`);
}
return response.json();
}
async waitForCompletion(
eventId: string,
timeoutMs = 1800000,
pollIntervalMs = 30000
): Promise<MablExecutionResult> {
const startTime = Date.now();
while (Date.now() - startTime < timeoutMs) {
const result = await this.getExecutionResult(eventId);
if (result.status === 'succeeded' || result.status === 'failed') {
return result;
}
Установить Mabl AI Testing в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл Mabl AI Testing?
AI-powered testing patterns with Mabl including auto-healing tests, visual regression, API testing, performance monitoring, CI/CD integration, and intelligent test maintenance using Mabl's machine learning capabilities.
Как установить скилл Mabl AI Testing?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Mabl AI Testing запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic