Skip to content

Commit

Permalink
enable a few tests that now work with compose-material3 1.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
frett committed Sep 5, 2024
1 parent 69601d8 commit f9b8667
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import androidx.test.espresso.Espresso
import androidx.test.ext.junit.runners.AndroidJUnit4
import com.slack.circuit.test.TestEventSink
import java.util.Locale
import kotlin.test.Ignore
import kotlin.test.Test
import kotlinx.collections.immutable.persistentListOf
import org.junit.Rule
Expand All @@ -27,10 +26,6 @@ class AppLanguageLayoutTest {
private val events = TestEventSink<AppLanguageScreen.Event>()

@Test
@Ignore(
"performClick() on an IconButton in a SearchBar doesn't appear to work currently in Robolectric. " +
"See: https://github.com/robolectric/robolectric/issues/8420"
)
fun `Action - AppBar Navigate Back`() {
composeTestRule.run {
setContent { AppLanguageLayout(AppLanguageScreen.State(eventSink = events)) }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import io.mockk.every
import io.mockk.excludeRecords
import io.mockk.mockk
import io.mockk.verifyAll
import kotlin.test.Ignore
import kotlin.test.Test
import kotlin.test.assertEquals
import kotlin.test.assertFalse
Expand Down Expand Up @@ -58,10 +57,6 @@ class DownloadableLanguagesLayoutTest {
}

@Test
@Ignore(
"performClick() on an IconButton in a SearchBar doesn't appear to work currently in Robolectric. " +
"See: https://github.com/robolectric/robolectric/issues/8420"
)
fun `DownloadableLanguagesLayout() - Up navigation`() {
composeTestRule.setContent {
DownloadableLanguagesLayout(
Expand Down Expand Up @@ -99,10 +94,6 @@ class DownloadableLanguagesLayoutTest {
}

@Test
@Ignore(
"performClick() on an IconButton in a SearchBar doesn't appear to work currently in Robolectric. " +
"See: https://github.com/robolectric/robolectric/issues/8420"
)
fun `DownloadableLanguagesLayout() - Search - Cancel Button`() {
composeTestRule.setContent {
DownloadableLanguagesLayout(
Expand Down

0 comments on commit f9b8667

Please sign in to comment.