Synchronize progressive focus assertions with UI publication
All checks were successful
review/design-claude Claude review: PASS, no blocking finding (head 81073c41)
All checks were successful
review/design-claude Claude review: PASS, no blocking finding (head 81073c41)
This commit is contained in:
parent
04b1bdd6aa
commit
81073c410d
1 changed files with 4 additions and 2 deletions
|
|
@ -74,8 +74,10 @@ class LibraryProgressiveSurfaceTest {
|
||||||
org.robolectric.Shadows.shadowOf(android.os.Looper.getMainLooper()).idle()
|
org.robolectric.Shadows.shadowOf(android.os.Looper.getMainLooper()).idle()
|
||||||
shell.view.library?.source?.size == 201
|
shell.view.library?.source?.size == 201
|
||||||
}
|
}
|
||||||
assertEquals(first[1].id, shell.view.library!!.focusedTitle!!.id)
|
rule.runOnIdle {
|
||||||
assertFalse(shell.navFocused)
|
assertEquals(first[1].id, shell.view.library!!.focusedTitle!!.id)
|
||||||
|
assertFalse(shell.navFocused)
|
||||||
|
}
|
||||||
} finally { release.complete(Unit) }
|
} finally { release.complete(Unit) }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue