Skip to content

Commit

Permalink
fix: resolve orientation layout issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Othmane Bencheqroun authored and Othmane Bencheqroun committed Dec 16, 2024
1 parent ab927d5 commit 8b4e1d9
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package com.github.lookupgroup27.lookup.ui.register
import androidx.compose.ui.test.assertIsDisplayed
import androidx.compose.ui.test.junit4.createComposeRule
import androidx.compose.ui.test.onNodeWithTag
import androidx.compose.ui.test.performScrollTo
import androidx.navigation.NavHostController
import androidx.test.core.app.ApplicationProvider
import com.github.lookupgroup27.lookup.model.register.RegisterRepository
Expand Down Expand Up @@ -82,7 +83,7 @@ class RegisterKtTest {
composeTestRule.setContent {
RegisterScreen(viewModel = createMockViewModel(), navigationActions = mockNavigationActions())
}
composeTestRule.onNodeWithTag("register_button").assertIsDisplayed()
composeTestRule.onNodeWithTag("register_button").performScrollTo().assertIsDisplayed()
}

@Test
Expand Down

0 comments on commit 8b4e1d9

Please sign in to comment.