石灰测试
Limetest 是最轻量级的端到端测试框架,具备 AI 功能,可在您的 CI 工作流程中运行。您可以使用自然语言定义测试用例,并让 AI 负责执行。
主要特点
- 针对 AI 进行优化:用通俗易懂的语言定义您的测试用例,并让 AI 端到端执行它们。
- 轻量且高效:利用 Playwright 快照而不是像素分析来实现更快、更可靠的执行。
- 视觉功能:当快照模式在更复杂的测试场景中失败时,将恢复到视觉模式。
安装
用户数据目录
limtest 将使用新的配置文件启动 Chrome 浏览器,位于
用法
运行测试
使用 --headless 在 CI 工作流中无头运行测试
limetest MCP 服务器
https://github.com/user-attachments/assets/b801f239-dc66-4b3b-bcf2-42e2a9a68721
由Playwright提供支持的模型上下文协议 (MCP) 服务器,可简化 MCP 客户端的端到端测试。
用例
- 由法学硕士 (LLM) 规划和执行的自动化测试
示例配置
克隆此 repo 后,构建并将 E2E MCP 服务器添加到您的 MCP 客户端,如下所示:请注意,您需要 OpenAI API 密钥才能在端到端模式下运行此 MCP 服务器。
然后:
所有登录信息都将存储在该配置文件中,如果您想清除离线状态,可以在会话之间将其删除。
致谢
Limetest 基于微软的 Playwright MCP ,并针对作为独立框架的自动化端到端测试进行了优化。该项目遵循 Apache 2.0 许可证。
local-only server
The server can only run on the client's local machine because it depends on local resources.
Tools
模型上下文协议服务器使用 Playwright 的可访问性树而不是基于像素的输入来实现 LLM 的自动端到端测试。
Related MCP Servers
- AsecurityAlicenseAqualityA Model Context Protocol server that provides browser automation capabilities using Playwright, enabling LLMs to interact with web pages through structured accessibility snapshots without requiring screenshots or vision models.Last updated -21240,9801TypeScriptApache 2.0
- AsecurityAlicenseAqualityA Model Context Protocol server that provides browser automation capabilities using Playwright, enabling LLMs to interact with web pages, take screenshots, generate test code, scrape web content, and execute JavaScript in real browser environments.Last updated -3111,245TypeScriptMIT License
- AsecurityAlicenseAqualityA Model Context Protocol server that provides browser automation capabilities using Playwright, enabling LLMs to interact with web pages through structured accessibility snapshots without needing screenshots or visually-tuned models.Last updated -24240,980TypeScriptApache 2.0
- AsecurityFlicenseAqualityA Model Context Protocol server that provides browser automation capabilities using Playwright, enabling LLMs to interact with web pages through structured accessibility snapshots without requiring screenshots or visually-tuned models.Last updated -25240,980