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: fix integration test

Lucas.Xu86e31253de03
diff --git a/frontend/app_flowy/integration_test/util/base.dart b/frontend/app_flowy/integration_test/util/base.dart
index 5c1e40a318..12d13d17d8 100644
--- a/frontend/app_flowy/integration_test/util/base.dart
+++ b/frontend/app_flowy/integration_test/util/base.dart
@@ -87,7 +87,7 @@ extension AppFlowyTestBase on WidgetTester {
String tr, {
int milliseconds = 500,
}) async {
- final button = find.textContaining(tr);
+ final button = find.text(tr);
await tapButton(
button,
milliseconds: milliseconds,