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);