<div class='type'>Function</div>


<a id='references'></a>


<h2 id="assertisdisplayed">assertIsDisplayed</h2>

<div class='sourceset sourceset-common'>Common</div>


```kotlin
fun SemanticsNodeInteraction.assertIsDisplayed(): SemanticsNodeInteraction
```


Asserts that the current semantics node is displayed on screen.

Specifically, the node must be composed, placed and at least a portion of its bounds must be
visible on screen after clipping is applied.

Throws `AssertionError` if the node is not displayed.