Add comment

Change-Id: I8524c4fbd8c9b95274d82a28e19eceb12da3ef6a
pull/475/head
mlykotom 2 years ago
parent 8c6b74d978
commit 0c98a3fa58

@ -45,7 +45,8 @@ fun MacrobenchmarkScope.forYouSelectTopics(recheckTopicsIfChecked: Boolean = fal
// Select some topics to show some feed content
repeat(3) { index ->
// Selecting topics that are in the first column
// Selecting topics that are in the first column. The visible topics are indexed horizontally first,
// so if we want to select the items in the column, we need to select the 0th, 2th, 4th index.
val topic = topics.children[(2 * index) % topics.childCount]
// Find the checkable element to figure out whether it's checked or not
val topicCheckIcon = topic.findObject(By.checkable(true))

Loading…
Cancel
Save