Skip to content
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

Add API to test Lazy lists #26

Closed
AJIEKCX opened this issue Apr 1, 2022 · 2 comments
Closed

Add API to test Lazy lists #26

AJIEKCX opened this issue Apr 1, 2022 · 2 comments

Comments

@AJIEKCX
Copy link

AJIEKCX commented Apr 1, 2022

We don’t have any possibility to test Lazy lists (LazyColumn/LazyRow). Even if we use compose testing API to get all semantic nodes it gets only visible items:

val semanticNodes = provider
   .onNode(matcher)
   .onChildren()
   .fetchSemanticsNodes() // Gets only visible items in LazyColumn/LazyRow

It would be great if Kakao Compose added a similar API like in KRecyclerView to get item by index and scroll to specific list’s item.

@AJIEKCX
Copy link
Author

AJIEKCX commented Apr 7, 2022

I'll work on it

@AJIEKCX
Copy link
Author

AJIEKCX commented Apr 7, 2022

I've done it in #29

@AJIEKCX AJIEKCX closed this as completed Jul 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant