OnScreenEntityExpectationBuilder
A result builder that collects the entities an onscreen expectation requires.
Declaration
@resultBuilder enum OnScreenEntityExpectationBuilderOverview
Restricted to ResolvableAppEntityExpectation, unlike EntityFindExpectationBuilder: a bare AppEntityDefinition (any instance of the type) or EventEntity.expectIdentifier("…") (a specific instance). A view is staged with entities the author already knows, so an onscreen expectation is identity-based; property-based .expect(title: …) does not compile here, by design.