Skip to content

Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.

test: attempt to fix flaky test (#6970)

Richard Shiue399b7dd682c0
diff --git a/frontend/appflowy_flutter/integration_test/desktop/database/database_field_test.dart b/frontend/appflowy_flutter/integration_test/desktop/database/database_field_test.dart
index 9ca6a524a6..1422aa8aee 100644
--- a/frontend/appflowy_flutter/integration_test/desktop/database/database_field_test.dart
+++ b/frontend/appflowy_flutter/integration_test/desktop/database/database_field_test.dart
@@ -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();