获取「开发工具」卡片区域的定位器
(page: Page)
| 17 | |
| 18 | /** 获取「开发工具」卡片区域的定位器 */ |
| 19 | function getDevCard(page: Page) { |
| 20 | // 开发工具 / Development Tool 卡片是页面上第二个 Card |
| 21 | return page.locator(".arco-card").nth(1); |
| 22 | } |
| 23 | |
| 24 | /** 启动一个临时 WebSocket 服务器,返回 URL 和清理函数 */ |
| 25 | function createMockWSServer(): Promise<{ |
no outgoing calls
no test coverage detected