Skip to content

jaktestowac/test-automation

v0.1.0MIT

Unit tests, TDD, Playwright, mocking, visual regression, migration and test code review.

refactor-to-page-objects

Refactors UI test specs into a Page Object Model without changing what they verify: extracts locators and actions into page or component objects, keeps assertions in the tests, and proves behaviour is unchanged by rerunning against a baseline. Use when specs repeat the same locators and action sequences, or before a suite grows past what copy-paste can maintain. For moving tests from another framework into Playwright, use the migrate-tests-to-playwright command.

Read SKILL.md at the source

Pinned to revision c4efc46815a7, so it is the text this page describes rather than whatever the author pushed since.

Files

Every link opens the file at its source, pinned to the revision this page describes.