fix: text is not found in `BottomNavBar`
PrimeTimeTran opened this issue · comments
Description
Expect text doesn't work for text that's clearly visible on the screen.
Steps To Reproduce
- Initialized fluttium
- Created flow
- Identified text I wanted to check is visible.
- See error
Expected Behavior
A clear and concise description of what you expected to happen.
I expected expectVisible: Investing
to result in true here because it's a button in the bottom tab navbar.
I expected expectVisible: open
to result in true here because it's on the screen below the chart.
I expected expectVisible: "Your Market Value"
to result in true here because it's also on the screen.
If applicable, add screenshots to help explain your problem.
Additional Context
At a high level, the nesting of widgets is main > GoRouter with a Drawer > BottomNavBar > Scaffold
.
Could you guys create a guide for nested navigators or troubleshooting?
I would gladly add code snippets but there are many more widgets nested than above if I include providers, Material Router, ResponsiveLayout, etc so not sure if it's even relevant. From my understanding the framework has no context of code and is focused on what the user can see so I feel pretty confident I shouldn't be seeing this problem.
Thanks in advance~!
I think this is related to #233 the navbar seems to ruin the Semantic lookup for Fluttium.