When writing an Angular component, we often want to test our component changes it’s HTML template as expected. To detect changes made to a single element, we can use CSS to query the DOM. In the example below, we’re checking for a span element with an active class: However, on some occasions, we may want… Continue reading Querying Multiple Elements with CSS in Angular Tests