File tree Expand file tree Collapse file tree
src/androidTest/java/androidx/tv/material3 Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,14 +24,23 @@ plugins {
2424 id(" org.jetbrains.kotlin.android" )
2525}
2626
27+ // needed for the tv-foundation pinning. Can be removed later.
28+ configurations. all {
29+ resolutionStrategy {
30+ preferProjectModules()
31+ }
32+ }
33+
2734dependencies {
2835 api(libs. kotlinStdlib)
2936
3037 def composeVersion = ' 1.4.3'
38+ def composeBetaVersion = " 1.5.0-beta01"
3139
3240 api(" androidx.compose.animation:animation:$composeVersion " )
3341 api(" androidx.compose.material:material-icons-core:$composeVersion " )
34- api(project(" :tv:tv-foundation" ))
42+ api(" androidx.tv:tv-foundation:1.0.0-alpha06" )
43+ api(" androidx.compose.foundation:foundation:$composeBetaVersion " )
3544
3645 implementation(libs. kotlinStdlibCommon)
3746 implementation(" androidx.profileinstaller:profileinstaller:1.3.1" )
Original file line number Diff line number Diff line change @@ -52,13 +52,15 @@ import androidx.test.platform.app.InstrumentationRegistry
5252import androidx.tv.foundation.lazy.list.TvLazyColumn
5353import androidx.tv.foundation.lazy.list.TvLazyRow
5454import com.google.common.truth.Truth.assertThat
55+ import org.junit.Ignore
5556import org.junit.Rule
5657import org.junit.Test
5758
5859class ImmersiveListTest {
5960 @get:Rule
6061 val rule = createComposeRule()
6162
63+ @Ignore(" b/285317959" )
6264 @OptIn(ExperimentalTvMaterial3Api ::class , ExperimentalAnimationApi ::class )
6365 @Test
6466 fun immersiveList_scroll_backgroundChanges () {
@@ -122,6 +124,7 @@ class ImmersiveListTest {
122124 rule.onNodeWithTag(" background-2" ).assertDoesNotExist()
123125 }
124126
127+ @Ignore(" b/285317959" )
125128 @Test
126129 fun immersiveList_scrollToRegainFocusInLazyColumn_checkBringIntoView () {
127130 val focusRequesterList = mutableListOf<FocusRequester >()
@@ -152,6 +155,7 @@ class ImmersiveListTest {
152155 assertThat(checkNodeCompletelyVisible(" immersive-list" )).isTrue()
153156 }
154157
158+ @Ignore(" b/285317959" )
155159 @Test
156160 fun immersiveList_scrollToRegainFocusInTvLazyColumn_checkBringIntoView () {
157161 val focusRequesterList = mutableListOf<FocusRequester >()
You can’t perform that action at this time.
0 commit comments