Clavue Ability · 能力目錄
技能 · 研發工程

Playwright 端到端測試生成

為關鍵用戶流程生成穩定的 Playwright 端到端測試。

執行摘要

簡短回答:為關鍵用戶流程生成穩定的 Playwright 端到端測試。。輸入是用戶流程描述、應用地址、選擇器、測試框架約定,輸出是測試規格檔案、健壯定位器、夾具、斷言。

本頁能力來自 Clavue Bot 內置目錄;不宣稱與任何第三方產品 1:1 對齊。

商業回報與使用場景

商業價值:

Playwright 端到端測試生成 減少重複手工操作,更快拿到可復核的結果。

  • 相關需求主題: 研發編程

輸入輸出契約

輸入輸出工具 / 連接器
用戶流程描述、應用地址、選擇器、測試框架約定測試規格檔案、健壯定位器、夾具、斷言程式碼 · 瀏覽器 · GitHub

需先連接工具 · 涉及寄信、付款等動作時會先請你確認。

工作流程與操作說明

1

Break the flow into discrete user actions.

2

Use role-based locators over brittle CSS selectors.

3

Add explicit waits tied to observable state.

4

Assert on user-visible outcomes, not implementation details.

5

Include setup fixtures and clean teardown.

涉及寄信、付款等動作時會先請你確認。

SKILL.md

# Playwright 端到端測試生成

> 為關鍵用戶流程生成穩定的 Playwright 端到端測試。

## 輸入輸出契約

- **輸入:** 用戶流程描述、應用地址、選擇器、測試框架約定
- **輸出:** 測試規格檔案、健壯定位器、夾具、斷言

## 工作流程與操作說明

2. Break the flow into discrete user actions.
4. Use role-based locators over brittle CSS selectors.
6. Add explicit waits tied to observable state.
8. Assert on user-visible outcomes, not implementation details.
10. Include setup fixtures and clean teardown.

## 起手提示詞

```text
為注冊與新手引導流程編寫 Playwright 測試。
```

起手提示詞

為注冊與新手引導流程編寫 Playwright 測試。

常見問題

這是一項真實存在於 Clavue Bot 的能力嗎?

是的。本頁內容由產品內置目錄生成,能力名稱、輸入輸出與操作步驟都對應真實可用的場景、技能、MCP 工具或數字員工。

需要額外配置工具或連接器嗎?

標注「開箱即用」的能力無需額外工具;標注「需連接工具」的能力會列出所需連接器,首次運行時按提示授權即可。

它會未經確認就發郵件或付款嗎?

不會。寄信、付款、提交表單等對外動作會停下來先請你確認,你同意後才會繼續。

查看 Markdown 原文