Skip to content

Commit 014ee7d

Browse files
committed
refactor: move newTxSheet tests to sheets
1 parent 8f9c13d commit 014ee7d

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

app/src/androidTest/java/to/bitkit/ui/screens/wallets/sheets/NewTransactionSheetViewTest.kt renamed to app/src/androidTest/java/to/bitkit/ui/sheets/NewTransactionSheetViewTest.kt

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package to.bitkit.ui.screens.wallets.sheets
1+
package to.bitkit.ui.sheets
22

33
import androidx.compose.ui.test.junit4.createComposeRule
44
import androidx.compose.ui.test.onNodeWithTag
@@ -11,7 +11,6 @@ import org.junit.Test
1111
import to.bitkit.models.NewTransactionSheetDetails
1212
import to.bitkit.models.NewTransactionSheetDirection
1313
import to.bitkit.models.NewTransactionSheetType
14-
import to.bitkit.ui.sheets.NewTransactionSheetView
1514

1615
@HiltAndroidTest
1716
class NewTransactionSheetViewTest {
@@ -61,7 +60,7 @@ class NewTransactionSheetViewTest {
6160
composeTestRule.mainClock.advanceTimeBy(1000)
6261
composeTestRule.waitForIdle()
6362

64-
// composeTestRule.onNodeWithTag("balance_header").assertExists() Doesn't work because of viewmodel instance
63+
// composeTestRule.onNodeWithTag("balance_header").assertExists() Doesn't work because of viewmodel instance
6564
composeTestRule.onNodeWithTag("sent_buttons_row").assertExists()
6665

6766
// Verify buttons exist and click interactions work
@@ -107,7 +106,7 @@ class NewTransactionSheetViewTest {
107106
composeTestRule.waitForIdle()
108107

109108
composeTestRule.onNodeWithTag("confetti_animation").assertExists()
110-
// composeTestRule.onNodeWithTag("balance_header").assertExists()
109+
// composeTestRule.onNodeWithTag("balance_header").assertExists()
111110
composeTestRule.onNodeWithTag("sent_buttons_row").assertDoesNotExist()
112111

113112
// Verify only OK button exists for received transactions

0 commit comments

Comments
 (0)