mirror of
https://github.com/block/buzz.git
synced 2026-10-28 04:51:40 +00:00
Target settings action in expanded mobile header test
Signed-off-by: kenny lopez <klopez4212@gmail.com>
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user