Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 21839f29 authored by Chaohui Wang's avatar Chaohui Wang
Browse files

Fix SettingsPagerTest#twoPage_initialState

Also update androidx.compose to 1.4.0-alpha03

Fix: 262781494
Test: Unit tests
Change-Id: Ia09a23c10c306e3218ea2a05e27e959304e7430e
parent 8a046ade
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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'
    }
}
+1 −1
Original line number Diff line number Diff line
@@ -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"
+1 −1
Original line number Diff line number Diff line
@@ -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