| Index: ios/chrome/browser/web/stop_loading_egtest.mm
 | 
| diff --git a/ios/chrome/browser/web/stop_loading_egtest.mm b/ios/chrome/browser/web/stop_loading_egtest.mm
 | 
| index 2648d039f44cc787faba1a7fcdd7ec87282c2b8e..707da8d7f641296a7bff1e24165aae42a16582a8 100644
 | 
| --- a/ios/chrome/browser/web/stop_loading_egtest.mm
 | 
| +++ b/ios/chrome/browser/web/stop_loading_egtest.mm
 | 
| @@ -9,6 +9,7 @@
 | 
|  #include "base/time/time.h"
 | 
|  #include "ios/chrome/browser/ui/ui_util.h"
 | 
|  #include "ios/chrome/test/app/navigation_test_util.h"
 | 
| +#import "ios/chrome/test/earl_grey/chrome_earl_grey.h"
 | 
|  #import "ios/chrome/test/earl_grey/chrome_earl_grey_ui.h"
 | 
|  #import "ios/chrome/test/earl_grey/chrome_matchers.h"
 | 
|  #import "ios/chrome/test/earl_grey/chrome_test_case.h"
 | 
| @@ -22,7 +23,6 @@
 | 
|  #endif
 | 
|  
 | 
|  using chrome_test_util::ButtonWithAccessibilityLabelId;
 | 
| -using chrome_test_util::WebViewContainingText;
 | 
|  
 | 
|  namespace {
 | 
|  
 | 
| @@ -106,8 +106,7 @@ class InfinitePendingResponseProvider : public HtmlResponseProvider {
 | 
|    }
 | 
|  
 | 
|    // Wait until the page is half loaded.
 | 
| -  [[EarlGrey selectElementWithMatcher:WebViewContainingText(kPageText)]
 | 
| -      assertWithMatcher:grey_notNil()];
 | 
| +  [ChromeEarlGrey waitForWebViewContainingText:kPageText];
 | 
|  
 | 
|    // On iPhone Stop/Reload button is a part of tools menu, so open it.
 | 
|    if (!IsIPadIdiom()) {
 | 
| 
 |