@awdlab/jig-playwright
v0.0.4
Published
Playwright testing harness with page-object helpers for @awdlab/jig components.
Maintainers
Readme
@awdlab/jig-playwright
Playwright testing harness for @awdlab/jig.
Page-object–style Jig*Harness helpers that wrap the controls' DOM and ARIA surface, so
end-to-end assertions read like the user's intent instead of hand-rolled locators.
Install
pnpm add -D @awdlab/jig-playwrightimport { JigSelectHarness } from '@awdlab/jig-playwright';
const select = new JigSelectHarness(page.locator('jig-select'));
await select.open();
await select.clickItemByText('Option 2');
await select.expectSelectedItemText('Option 2');Documentation
Setup and the full harness reference are documented with the main package: jig.awdlab.dev/guides/testing
License
MIT © awdlab
