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,