Target settings action in expanded mobile header test

Signed-off-by: kenny lopez <klopez4212@gmail.com>
This commit is contained in:
kenny lopez
2026-10-14 18:54:38 -04:00
parent d3ad1e9312
commit 04892e721f

View File

@@ -135,7 +135,9 @@ void main() {
final appBar = tester
.widgetList<FrostedAppBar>(find.byType(FrostedAppBar))
.first;
appBar.nativeActions!.single.onPressed!();
appBar.nativeActions!
.singleWhere((action) => action.label == 'Settings')
.onPressed!();
} else {
await tester.tap(find.byType(ProfileAvatar));
}