diff --git a/pkg/pub_integration/test/search_update_test.dart b/pkg/pub_integration/test/search_update_test.dart index 8715a8948..447e5a3b4 100644 --- a/pkg/pub_integration/test/search_update_test.dart +++ b/pkg/pub_integration/test/search_update_test.dart @@ -80,7 +80,10 @@ void main() { print('02/02'); // click Android await page.click('#search-form-checkbox-platform-android'); - await page.waitForNavigation(wait: Until.networkIdle); + await page + .waitForNavigation( + wait: Until.networkIdle, timeout: Duration(seconds: 3)) + .whenComplete(() => null); print('02/03'); final i2 = await listingPageInfo(page); expect(i2.totalCount, lessThan(80));