Skip to main content
Glama
lucad87

MCP Server - Test Migration (WDIO to Playwright)

by lucad87

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
analyze_wdio_testA

Analyzes a WebDriverIO test file using AST parsing and extracts detailed information about its structure, selectors, commands, and dependencies. Detects if test is already partially migrated to Playwright.

migrate_to_playwrightA

Migrates a WebDriverIO test to Playwright syntax using AST transformation. Supports partial migrations and preserves already-migrated code. Uses modern Playwright locators (getByRole, getByLabel, getByTestId with data-test-id). Supports TypeScript output.

refactor_to_pomA

Refactors a migrated Playwright test to use Page Object Model pattern. Extracts actual selectors and creates proper page object classes with methods.

get_playwright_docsC

Retrieves relevant Playwright documentation for specific features, commands, or concepts. Useful for understanding migration patterns.

compare_frameworksB

Compares WDIO and Playwright commands/concepts side by side. Helps understand equivalent functionality.

detect_project_stateA

Analyzes project structure to detect existing Playwright configuration, migrated tests, page objects, and WDIO setup. Helps understand current migration state.

migrate_configB

Migrates wdio.conf.js to playwright.config.ts. Preserves existing Playwright config if present.

register_custom_commandsB

Registers custom WDIO commands with their Playwright equivalents for migration. Allows handling project-specific custom commands.

generate_migration_reportB

Generates a comprehensive migration report as a markdown file. Includes test files, tags, migration status, and statistics.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/lucad87/mcp-server-tests-migration'

If you have feedback or need assistance with the MCP directory API, please join our Discord server