Padosoft Frontend Testability

Use this skill when writing or reviewing user-interface markup or components — a page, a form, a modal, a list, a widget, a screen — in a project that has end-to-end tests or will have them. Also when the user says a test broke after a purely visual refactor, that a test waits on a timer, that a selector depends on a generated class name, that a test cannot tell loading from empty, or asks how to make the interface testable. It gives the locator hierarchy the markup has to support, the eight contract rules, and the observable states every asynchronous action owes its test. Do not use it to write the tests themselves (padosoft-test-integrity), to design the interface, or to pick a testing framework.

padosoft Updated

File contents

padosoft/skills/tree/main/skills/padosoft-frontend-testability commit c481c1016e

Frequently asked questions

npx skillmds@latest add padosoft/padosoft-frontend-testability