Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Designs minimal integration and E2E tests proving accepted behavior at observable boundaries via Playwright and fixture or service lanes.
48% 91%+43 ptsof test cases passed
Passed 21 of 23 test cases with the skill, and 11 of 23 without it.
This test ran on v9. v12 is the current version and hasn’t been tested on gemini-3.6-flash yet.
3 of 3 safety checks passed
Not used yet
以下前置条件仅适用于 service-integration-e2e 测试通道。该通道需要运行中的本地应用栈,以及真实的或服务级桩化的数据状态。fixture-e2e 测试通道使用真实浏览器配合模拟后端或确定性的 fixture 加载器,不需要实际运行的服务或真实数据库。
通过 API fixture 或数据库播种准备测试数据,使测试流程从待验证行为本身开始:
// fixtures/seed.fixture.ts
import { test as base } from '@playwright/test'
export const test = base.extend<{ seededData: SeedResult }>({
seededData: async ({ request }, use) => {
// Arrange: 测试前通过 API 创建测试数据
// 示例:请根据项目实际的播种机制进行调整
const result = await request.post('/api/test/seed', {
data: { scenario: 'e2e-user-with-subscription' }
})
const seedData = await result.json()
await use(seedData)
// Cleanup: 测试后清理测试数据
await request.delete(`/api/test/seed/${seedData.id}`)
},
})
原则:
实现与应用实际登录流程一致的认证 fixture:
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.