Skip to content

[WIP] Add search screen testing#825

Open
yaoandy107 wants to merge 2 commits intoDroidKaigi:mainfrom
yaoandy107:main
Open

[WIP] Add search screen testing#825
yaoandy107 wants to merge 2 commits intoDroidKaigi:mainfrom
yaoandy107:main

Conversation

@yaoandy107
Copy link

Issue

Overview (Required)

  • Add SearchScreen Robot testing

@yaoandy107
Copy link
Author

I worked on this a while ago, and it worked fine at the time. But yesterday, when I pulled changes from the main branch. I found out that there's an issue with the new implementation of the SearchTextField in the espresso test. Whenever I type anything on the SearchTextField and all the espresso commands after it will throw an exception

java.lang.IndexOutOfBoundsException: offset(x) should be less than line limit(0)

I have taken some time to search for this issue but have no idea how to solve it. The only issue I found a bit related is this issue.

@takahirom
Copy link
Member

Thanks. I tried this. This looks a very tough problem 👀

@github-actions
Copy link

github-actions bot commented Oct 2, 2022

There are differences in Compose previews:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Search Screen Robot testing

2 participants