Merge "Fix SettingsPagerTest#twoPage_initialState"

This commit is contained in:
TreeHugger Robot
2022-12-16 19:29:51 +00:00
committed by Android (Google) Code Review
3 changed files with 3 additions and 3 deletions

View File

@@ -19,7 +19,7 @@ buildscript {
BUILD_TOOLS_VERSION = "30.0.3"
MIN_SDK = 21
TARGET_SDK = 33
jetpack_compose_version = '1.4.0-alpha01'
jetpack_compose_version = '1.4.0-alpha03'
jetpack_compose_compiler_version = '1.3.2'
}
}

View File

@@ -75,7 +75,7 @@ dependencies {
api "androidx.slice:slice-builders:1.1.0-alpha02"
api "androidx.slice:slice-core:1.1.0-alpha02"
api "androidx.slice:slice-view:1.1.0-alpha02"
api "androidx.compose.material3:material3:1.1.0-alpha01"
api "androidx.compose.material3:material3:1.1.0-alpha03"
api "androidx.compose.material:material-icons-extended:$jetpack_compose_version"
api "androidx.compose.runtime:runtime-livedata:$jetpack_compose_version"
api "androidx.compose.ui:ui-tooling-preview:$jetpack_compose_version"

View File

@@ -41,7 +41,7 @@ class SettingsPagerTest {
composeTestRule.onNodeWithText("Personal").assertIsSelected()
composeTestRule.onNodeWithText("Page 0").assertIsDisplayed()
composeTestRule.onNodeWithText("Work").assertIsNotSelected()
composeTestRule.onNodeWithText("Page 1").assertIsNotDisplayed()
composeTestRule.onNodeWithText("Page 1").assertDoesNotExist()
}
@Test