-
Notifications
You must be signed in to change notification settings - Fork 201
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
♻️ Since the About screen test has not been implemented, it has been implemented except where the Issue manager is located. #908
Conversation
…implemented except where the Issue manager is located. DroidKaigi#670
composeTestRule.onRoot().performTouchInput { | ||
swipeUp(startY = centerY, endY = centerY - 200) | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you don't scroll slightly, performScrollToNode won't scroll to the right place.
Since it has already been pointed out that scrolling using the index is not very good, we are manually shifting the position to deal with it.
#887 (comment)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks. Could we have a FIXME comment for this like Without this we can't scroll to the creditsSection
or something
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@takahirom
The sentence is a little different, but I added it. 🫡
@@ -92,7 +93,7 @@ fun LazyListScope.aboutOthers( | |||
leadingIcon = Outlined.Settings, | |||
label = stringResource(AboutRes.string.settings), | |||
onClickAction = onSettingsItemClick, | |||
testTag = "TODO", | |||
testTag = AboutOthersSettingsItemTestTag, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was left as a TODO, so I went to check the test and added it because it had not been implemented at all.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great! Thank you for adding our tests!
Issue
Overview (Required)
Links