Separate chat selectors from Files and More actions

This commit is contained in:
2026-11-07 02:49:44 +00:00
parent 9e6d55942f
commit e9d66af785
15 changed files with 353 additions and 200 deletions
@@ -179,7 +179,10 @@ void main() {
await tester.enterText(_input('a'), 'Keep this draft');
final originalWidth = tester.getSize(_thread('a')).width;
Future<void> choose(String label) async {
await tester.tap(find.byTooltip('Chat list layout').first);
await tester.tap(find.byTooltip('More actions').hitTestable().first);
await tester.pumpAndSettle();
await tester.tap(find.text('Chat list layout'));
await tester.pumpAndSettle();
await tester.pumpAndSettle();
await tester.tap(find.text(label));
await tester.pumpAndSettle();
@@ -259,10 +262,12 @@ void main() {
.hitTestable();
if (closePane.evaluate().isEmpty) {
await tester.tap(
find.descendant(
of: _thread('c'),
matching: find.byTooltip('More actions'),
),
find
.descendant(
of: _thread('c'),
matching: find.byTooltip('More actions'),
)
.hitTestable(),
);
await tester.pumpAndSettle();
await tester.tap(find.text('Close pane'));