# Component Harness

A test helper that interacts with a component like a user, hiding its inner HTML.

## What is **Component Harness**?

A **component harness** is a test helper that interacts with a component the way a user would ("click the Save button") without depending on its inner HTML. Angular Material ships harnesses for its components.

Level: Freelancer · [More Angular terms at this level](https://www.ask-codey.com/glossary?category=angular&level=4)

Updated: September 27, 2026

Source: https://www.ask-codey.com/glossary/component-harness
