From d5bb200d00b7ba67acbba746a0a65dc0ef9d7267 Mon Sep 17 00:00:00 2001 From: RyuJongJin <266630912+RyuJongJin@users.noreply.github.com> Date: Sat, 10 Oct 2026 06:08:46 +0900 Subject: [PATCH] =?UTF-8?q?explorer=5Ftest=20=ED=9D=94=EB=93=A4=EB=A6=BC:?= =?UTF-8?q?=20Rsync=20=ED=99=94=EB=A9=B4=EC=9D=98=20=EC=83=88=20=ED=8F=B4?= =?UTF-8?q?=EB=8D=94=EA=B0=80=20=EA=B3=A8=EB=9D=BC=EC=A7=88=20=EB=95=8C?= =?UTF-8?q?=EA=B9=8C=EC=A7=80=20=EA=B8=B0=EB=8B=A4=EB=A6=AC=EA=B8=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 전체 시험 중 바쁠 때 새 폴더가 보인 직후 (골라지기 전) 확인해 실패했다. Co-Authored-By: Claude Opus 5.5 --- test/explorer_test.dart | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/test/explorer_test.dart b/test/explorer_test.dart index 6f75291..9b3a2ee 100644 --- a/test/explorer_test.dart +++ b/test/explorer_test.dart @@ -415,10 +415,13 @@ void main() { await tester.pumpAndSettle(); await tester.enterText(find.byType(TextField), '새로만든'); await act(tester, () => tester.tap(find.widgetWithText(FilledButton, '확인'))); - await settle(tester, () => find.text('새로만든').evaluate().isNotEmpty); + // 만든 폴더가 보이고 골라질 때까지 (전체 시험 중 바쁠 때는 고르기가 조금 늦다) + Finder newRow() => find.ancestor(of: find.text('새로만든'), matching: find.byType(Material)).first; + await settle(tester, () => + find.text('새로만든').evaluate().isNotEmpty && + find.descendant(of: newRow(), matching: find.byTooltip('고르기 취소')).evaluate().isNotEmpty); expect(Directory(p.join(right, 'rsub', '새로만든')).existsSync(), isTrue); - final newRow = find.ancestor(of: find.text('새로만든'), matching: find.byType(Material)).first; - expect(find.descendant(of: newRow, matching: find.byTooltip('고르기 취소')), findsOneWidget); + expect(find.descendant(of: newRow(), matching: find.byTooltip('고르기 취소')), findsOneWidget); expect(find.descendant(of: find.ancestor(of: find.text('rsub'), matching: find.byType(Material)).first, matching: find.byTooltip('고르기 취소')), findsNothing); // 창마다 하나만 });