android / android/nowinandroid

[Bug]: Cannot navigate to "For you" from "Interests" if opened through search flow

Open
#997 2 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Kotlin
Stars
21.8k
Forks
4.6k
Avg merge
19h 20m
Merged PRs (30d)
2

Description

### Is there an existing issue for this?

- [X] I have searched the existing issues

### Is there a StackOverflow question about this issue?

- [X] I have searched StackOverflow

### What happened?

A bug happened!

If you open "Interests" section using search flow, you cannot navigate to "For you" section using bottom nav.

May be similar to:
https://github.com/android/nowinandroid/issues/867

Maestro flow:

https://github.com/android/nowinandroid/assets/15570930/3a850019-a695-4bf7-927f-3af9ac306fe6

`flow.yml`
```
appId: com.google.samples.apps.nowinandroid
---
- clearState
- launchApp:
permissions: { all: deny }
- tapOn:
id: "com.android.permissioncontroller:id/permission_allow_button"
- runFlow: "search_flow.yml"

- tapOn: "For you"
- assertVisible: "What are you interested in?"
```

`search_flow.yml`
```
appId: com.google.samples.apps.nowinandroid
---
- tapOn: "Search"
- inputText: "publish"
- assertVisible: "Publishing & Distribution"
- tapOn: "Publishing & Distribution"
- assertVisible: "Everything to do with publishing and distributing your app, including Google Play."

- scrollUntilVisible:
element: "Evolution of Crash Management.*"
direction: DOWN
```

### Relevant logcat output

_No response_

### Code of Conduct

- [X] I agree to follow this project's Code of Conduct

Contributor guide

Open the contributing guide

Research direction

Start by running the referenced Maestro flow.yml and search_flow.yml to reproduce the navigation failure. Trace the bottom navigation behavior after opening Interests through search, and consider the issue done when tapping For you reaches that section and the "What are you interested in?" assertion passes.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.