# Writing UI Tests for Pager Layouts in Jetpack Compose

DevFeed: [Writing UI Tests for Pager Layouts in Jetpack Compose](<https://devfeed.tech/articles/writing-ui-tests-for-pager-layouts-in-jetpack-compose-24833.md>)

Original publisher: [Read original article](<https://akjaw.com/wiriting-ui-tests-for-pager-layouts-jetpack-compose/>)

Author: Aleksander Jaworski

Published: 2022-02-19T15:18:58Z

Content type: tutorial

Language: en

Sources: [AKJAW](<https://devfeed.tech/sources/akjaw.md>)

Topics: [Compose](<https://devfeed.tech/topics/compose.md>), [Jetpack Compose](<https://devfeed.tech/topics/jetpack-compose.md>), [ui](<https://devfeed.tech/topics/ui.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [compose](<https://devfeed.tech/tags/compose.md>), [jetpack](<https://devfeed.tech/tags/jetpack.md>), [jetpack-compose](<https://devfeed.tech/tags/jetpack-compose.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [testing](<https://devfeed.tech/tags/testing.md>), [tests](<https://devfeed.tech/tags/tests.md>), [ui](<https://devfeed.tech/tags/ui.md>)

## AI overview

An article about the challenges of writing UI tests for pager layouts in Jetpack Compose, sharing the author's experience and solutions.

## Source excerpt

Writing UI tests for pager layouts can be problematic in Compose. In this post, I'll share my experience and solutions when dealing with such screens.