lifecycleState
The lifecycle state the content this test composes reads through androidx.lifecycle.compose.LocalLifecycleOwner, for content that inherits no owner of its own.
Starts at Lifecycle.State.STARTED - a test's root stands in no window, so nothing about where it hangs can answer whether its content is shown, and a test says so itself. Move it to Lifecycle.State.RESUMED for work gated on the focused state, and to Lifecycle.State.DESTROYED to see what the content does as it ends.
A Window or Dialog this test composes is a top-level window of its own and states its own owner, which this does not reach: what it governs is the content composed into root.