Skip to content

Conversation

thuyenh1081
Copy link
Collaborator

@thuyenh1081 thuyenh1081 commented Oct 15, 2025

Ticket

this ticket contains code for 2 script: "Search for messages inside a chat" , "Pin/unpin a chat"

Resolved

pin.unpin.a.chat.mov
Search.for.messages.inside.a.chat.mov

await $(AppBar).$(TextField).enterText(searchText);
// await SearchRobot($).enterSearchText(searchText);
await ChatGroupDetailRobot($).waitForEitherVisible($: $, first: $(TwakeListItem), second: $("No Results"), timeout: const Duration(seconds: 10));
await Future.delayed(const Duration(seconds: 2));
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You don't want to add the click on a search result and see if it display / scroll to the right message? (We know that today, it doesn't work, maybe that's why you didn't add it here?)

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank for your suggestion @Crash-- .In the next PRs, I’ll try simulating the user’s scroll actions to figure out the item they want

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

Successfully merging this pull request may close these issues.

2 participants