II.
LibraryProcess overview
Reference · livelib-process:shared--playwright-visual-smoke
Composable process component that performs visual regression smoke tests overview
Composable process component that performs visual regression smoke tests using Playwright to catch CSS/layout regressions. Designed for injection into CI, quality-gate, and convergence processes that need to verify UI integrity.
Attributes
displayName
Composable process component that performs visual regression smoke tests
description
Composable process component that performs visual regression smoke tests
using Playwright to catch CSS/layout regressions. Designed for injection into CI,
quality-gate, and convergence processes that need to verify UI integrity.
libraryPath
library/processes/shared/playwright-visual-smoke.js
example
```js
import { createVisualSmokeTest, executeVisualSmokeTest } from './playwright-visual-smoke.js';
export async function process(inputs, ctx) {
const result = await executeVisualSmokeTest(ctx, {
name: 'dashboard-visual-smoke',
baseUrl: 'http://localhost:3000',
pages: ['/', '/settings', '/dashboard'],
criticalButtons: ['Save', 'Submit', 'Cancel', 'Delete'],
containerSelectors: ['main', '.dashboard-grid', '.sidebar'],
});
if (!result.passed) {
// result.summary contains human-readable failure description
}
return result;
}
```
usesAgents
- visual-regression-analyst
- visual-smoke-runner
Outgoing edges
lib_applies_to_domain1
- domain:software-engineering·DomainSoftware Engineering
lib_covers_topic2
- topic:test-driven-development·TopicTest-Driven Development
- topic:code-review-best-practices·TopicCode Review Best Practices
lib_implements_workflow3
- workflow:code-review·Workflow
- workflow:feature-development·Workflow
- workflow:release-management·Workflow
lib_involves_role3
- role:backend-engineer·RoleBackend Engineer
- role:tech-lead·RoleTech Lead
- role:qa-engineer·RoleQA Engineer
lib_requires_skill_area2
- skill-area:code-review-practice·SkillAreaCode Review Practice
- skill-area:e2e-testing·SkillAreaEnd-to-End Testing
Incoming edges
None.