Skip to content

Commit b55b67c

Browse files
committed
Refactor: Comment out unused code in MainScreenTest
This commit comments out unused code within the `waitForLoaded` function in `app/src/androidTest/java/com/warbler/tests/usecases/main/MainScreenTest.kt`. - The `Thread.sleep` calls and the `toggleAirplaneMode` function call have been commented out.
1 parent 30b7189 commit b55b67c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

app/src/androidTest/java/com/warbler/tests/usecases/main/MainScreenTest.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ class MainScreenTest : BaseTest() {
1818
@Before
1919
fun waitForLoaded() {
2020
// TODO Handle loading indicator
21-
Thread.sleep(1500)
22-
toggleAirplaneMode(context = instrumentation.context, enabled = false)
23-
Thread.sleep(1500)
21+
// Thread.sleep(1500)
22+
// toggleAirplaneMode(context = instrumentation.context, enabled = false)
23+
// Thread.sleep(1500)
2424
}
2525

2626
@Test

0 commit comments

Comments
 (0)