Contents

Finds

An expectation that Siri surfaces specific app entities by search or resolution.

Declaration

struct Finds

Overview

Use Finds to name the app entities Siri finds when it searches or resolves entities in your app for a request. The expectation holds when Siri finds an entity that matches, including its type. A bare entity definition matches any entity of that type, and you can add constraints on its properties with expect.

Finds checks entities Siri finds by searching. To check entities that are visible onscreen, use OnScreen. The two are separate because the entities reach Siri by different paths. One doesn’t stand in for the other. A found entity doesn’t always carry the details Siri tells the person. Use SiriResponse for facts that only the reply contains.

Topics

Creating a find expectation

See Also

Expectations