| Index: ios/chrome/test/earl_grey/device_check_egtest.mm
 | 
| diff --git a/ios/chrome/test/earl_grey/device_check_egtest.mm b/ios/chrome/test/earl_grey/device_check_egtest.mm
 | 
| index 913790e6f1279dbe4139eb3d811f1d77c01fc80c..0fee23953ac74ade090f7d3aba515a9588bd5674 100644
 | 
| --- a/ios/chrome/test/earl_grey/device_check_egtest.mm
 | 
| +++ b/ios/chrome/test/earl_grey/device_check_egtest.mm
 | 
| @@ -24,8 +24,7 @@ using chrome_test_util::WebViewContainingText;
 | 
|  // Verifies Internet connectivity by navigating to browsingtest.appspot.com.
 | 
|  - (void)testNetworkConnection {
 | 
|    [ChromeEarlGrey loadURL:GURL("http://browsingtest.appspot.com")];
 | 
| -  [[EarlGrey selectElementWithMatcher:WebViewContainingText("Window1")]
 | 
| -      assertWithMatcher:grey_notNil()];
 | 
| +  [ChromeEarlGrey waitForWebViewContainingText:"Window1"];
 | 
|  }
 | 
|  
 | 
|  @end
 | 
| 
 |