Skip to content

Commit 78c1a0f

Browse files
committed
Debug
1 parent 257b2f4 commit 78c1a0f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/src/androidTest/java/com/pcapplusplus/toyvpn/StatsScreenTest.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ import com.pcapplusplus.toyvpn.ui.theme.ToyVpnPcapPlusPlusTheme
2020
import io.mockk.every
2121
import io.mockk.mockk
2222
import io.mockk.verify
23+
import org.junit.Assert.assertEquals
2324
import org.junit.Before
2425
import org.junit.Rule
2526
import org.junit.Test
@@ -227,8 +228,7 @@ class StatsScreenTest {
227228
fun testVpnDisconnecting() {
228229
renderScreen(vpnConnectionState = VpnConnectionState.DISCONNECTING)
229230

230-
println("****************** inside testVpnDisconnecting")
231-
println("****************** ${composeTestRule.onNodeWithText("Disconnecting...").printToString()}")
231+
assertEquals("bla", composeTestRule.onNodeWithText("Disconnecting...").printToString())
232232

233233
composeTestRule.waitUntil(timeoutMillis = 10000) {
234234
try {

0 commit comments

Comments
 (0)