test: attempt to fix flaky test (#6970)

This commit is contained in:
Richard Shiue 2024-12-12 08:16:58 +08:00 committed by GitHub
parent e8f2940024
commit 399b7dd682
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -538,8 +538,8 @@ void main() {
// edit the first date cell
await tester.tapCellInGrid(rowIndex: 0, fieldType: FieldType.DateTime);
await tester.toggleIncludeTime();
final now = DateTime.now();
await tester.toggleIncludeTime();
await tester.selectDay(content: now.day);
await tester.dismissCellEditor();