Merge pull request #1592 from LucasXu0/fix_integration_test

test: fix integration test
This commit is contained in:
Lucas.Xu 2022-12-21 10:09:30 +08:00 committed by GitHub
commit af716be7aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,