Update narrow chat chrome expectation
Keep the floating chat header regression test aligned with the split action pills introduced by the lone More island layout.
This commit is contained in:
@@ -150,12 +150,12 @@ void main() {
|
||||
);
|
||||
final header = find.byKey(const Key('chat-thread-header'));
|
||||
expect(find.byKey(const Key('chat-mode')), findsNothing);
|
||||
// The round Back, the title pill and the actions pill, which always
|
||||
// carries the More menu, so it is never drawn empty. A narrow bar moves
|
||||
// The round Back, the title pill, and the two action pills (including the
|
||||
// More menu), so the More control is never drawn empty. A narrow bar moves
|
||||
// the Files toggle into that menu.
|
||||
expect(
|
||||
find.descendant(of: header, matching: find.byType(SegmentedPill)),
|
||||
findsNWidgets(3),
|
||||
findsNWidgets(4),
|
||||
);
|
||||
expect(
|
||||
find.descendant(
|
||||
|
||||
Reference in New Issue
Block a user