ui-testing
Principles for writing and reviewing UI tests in any language, framework or toolkit (web, desktop, mobile, terminal), from the point of view of the person using the app and the person using it through assistive technology. Use this whenever you write, change, review or debug a test that drives an interface, such as an end-to-end test, a component test, a window or widget test or an integration test that clicks, types or reads what is on screen. Use it when choosing how a test finds an element (role, label, text, test id, selector), deciding what to assert, dealing with a flaky or brittle UI test, or when a test "needs" a hook, accessor or piece of state that the application itself does not use. Also use it when briefing someone else to write UI tests. It is about how to think, not about any one tool's API.
Pinned to revision d53dc7371d06, 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.