| 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 91a0428dd3d54f99e6744ee330be95aa2c38b775..4ad778091a1e5ef8ed8a43d6c13e9b6be3dcdfa2 100644
|
| --- a/ios/chrome/test/earl_grey/device_check_egtest.mm
|
| +++ b/ios/chrome/test/earl_grey/device_check_egtest.mm
|
| @@ -9,8 +9,6 @@
|
| #import "ios/chrome/test/earl_grey/chrome_test_case.h"
|
| #include "url/gurl.h"
|
|
|
| -using chrome_test_util::WebViewContainingText;
|
| -
|
| // Test suite to verify Internet connectivity.
|
| @interface DeviceCheckTestCase : ChromeTestCase
|
| @end
|
| @@ -20,8 +18,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
|
|
|