diff --git a/test/downloads_ui_test.dart b/test/downloads_ui_test.dart index f7e196c..649667a 100644 --- a/test/downloads_ui_test.dart +++ b/test/downloads_ui_test.dart @@ -76,14 +76,14 @@ void main() { await tester.pump(); expect(d.tasks, hasLength(1)); - // 44: [다운로드 취소] 는 일시정지 · 재개와 떨어져 있고, 누르면 묻는다 ([취소] 면 그대로) + // 44: [다운로드 취소] 는 일시정지 · 재개와 떨어져 있고, 누르면 묻는다 ([계속 받기] 면 그대로 - 185) await tester.tap(find.text('전체 선택')); await tester.pump(); expect(tester.getTopLeft(find.text('다운로드 취소')).dx - tester.getTopRight(find.text('재개')).dx, greaterThan(16)); await tester.tap(find.text('다운로드 취소')); await tester.pump(const Duration(milliseconds: 500)); expect(find.text('선택한 다운로드 1개를 취소할까요? 잠깐 멈추려면 [일시정지] 를 쓰세요.'), findsOneWidget); - await tester.tap(find.text('취소')); + await tester.tap(find.text('계속 받기')); await tester.pump(const Duration(milliseconds: 500)); expect(d.tasks.single.state, DownloadState.downloading); await tester.tap(find.text('다운로드 취소'));