move_test 흔들림: 세 번 눌러 옮긴 뒤 목록에서 빠질 때까지 기다리기
전체 시험 중 바쁠 때 파일은 옮겨졌는데 목록 (c.videos) 에서 빠지는 것이 늦어 실패했다. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>묶음4
parent
cd81f6db37
commit
bd0b75ce7b
|
|
@ -139,6 +139,10 @@ void main() {
|
||||||
await tester.tap(find.widgetWithText(FilledButton, '옮기기'));
|
await tester.tap(find.widgetWithText(FilledButton, '옮기기'));
|
||||||
await tester.pump();
|
await tester.pump();
|
||||||
await settleIo();
|
await settleIo();
|
||||||
|
// 옮긴 뒤 목록에서 빠지는 것은 조금 늦다 (전체 시험 중 바쁠 때) - 빠질 때까지 기다린다
|
||||||
|
for (var i = 0; i < 30 && c.videos.any((v) => v.fileName == 'b.mp4'); i++) {
|
||||||
|
await settleIo();
|
||||||
|
}
|
||||||
expect(File(p.join(dest, 'b.mp4')).existsSync(), isTrue);
|
expect(File(p.join(dest, 'b.mp4')).existsSync(), isTrue);
|
||||||
// 102: 세 번 누르기를 "아무것도 안 함" 으로 하면 묻지도 옮기지도 않는다
|
// 102: 세 번 누르기를 "아무것도 안 함" 으로 하면 묻지도 옮기지도 않는다
|
||||||
c.settings.tripleTapAction = 'none';
|
c.settings.tripleTapAction = 'none';
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue