Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Writes, modifies, and debugs Playwright integration, visual regression, and accessibility tests for the orchestration webapp with MSW mocks.
23% 95%+73 ptsof test cases passed
Passed 21 of 22 test cases with the skill, and 5 of 22 without it.
This test ran on v1. v2 is the current version and hasn’t been tested on gemini-3.6-flash yet.
3 of 3 safety checks passed
Not used yet
Playwright tests in @camunda/orchestration-cluster-webapp cover three categories — integration, visual regression, and accessibility — across 7 Playwright projects. Tests run against the built app served by vite preview on port 3003. MSW intercepts HTTP at the network level via @msw/playwright, so no real backend is needed.
Each test() spins up a fresh browser context and every goto() reboots the full SPA bundle plus MSW
interception. Page loads are the dominant Playwright cost — structure tests to minimize them.
Scope each test to one feature (observable behavior), not to one assertion and not to an entire page.
A feature test should:
Do not split a feature into multiple tests just to isolate individual assertions. A test named "should show the info sidebar links" should assert every expected link in one go, not spawn four separate tests that each check one link.
Do not collapse an entire page into a single test. Each distinct behavior — navigation, error states, conditional/role-gated UI, logout, i18n — is its own feature and belongs in its own test.
Decision rule: put assertions in the same test when they verify the same behavior under the same mock setup and navigation. Split into a new test when the behavior, mock setup, or user flow changes.
Use await test.step('description', async () => { ... }) for readability inside a feature test instead of
artificially splitting it.
// WRONG — one assertion per test creates redundant page loads
test('should show Documentation link', async ({tasklistIndexPage}) => {
await tasklistIndexPage.goto();
await tasklistIndexPage.header.openInfoSidebar();
await expect(tasklistIndexPage.header.documentationLink).toBeVisible();
});
test('should show Camunda Academy link', async ({tasklistIndexPage}) => {
await tasklistIndexPage.goto();
await tasklistIndexPage.header.openInfoSidebar();
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.