From 382ce827c16f9879f3cfbe9fdef8669bdc190f02 Mon Sep 17 00:00:00 2001 From: "Lucas.Xu" Date: Wed, 3 Apr 2024 22:30:01 +0800 Subject: [PATCH] fix: workspace integration test (#5049) --- .../cloud/workspace/collaborative_workspace_test.dart | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/appflowy_flutter/integration_test/cloud/workspace/collaborative_workspace_test.dart b/frontend/appflowy_flutter/integration_test/cloud/workspace/collaborative_workspace_test.dart index 31348b6485..d1c13eeb47 100644 --- a/frontend/appflowy_flutter/integration_test/cloud/workspace/collaborative_workspace_test.dart +++ b/frontend/appflowy_flutter/integration_test/cloud/workspace/collaborative_workspace_test.dart @@ -68,8 +68,9 @@ void main() { ); // open the newly created workspace - await tester.tapButton(items.last); + await tester.tapButton(items.last, milliseconds: 1000); success = find.text(LocaleKeys.workspace_openSuccess.tr()); + await tester.pumpUntilFound(success); expect(success, findsOneWidget); await tester.pumpUntilNotFound(success);