| OLD | NEW | 
|   1 // Copyright 2016 The Chromium Authors. All rights reserved. |   1 // Copyright 2016 The Chromium Authors. All rights reserved. | 
|   2 // Use of this source code is governed by a BSD-style license that can be |   2 // Use of this source code is governed by a BSD-style license that can be | 
|   3 // found in the LICENSE file. |   3 // found in the LICENSE file. | 
|   4  |   4  | 
|   5 #ifndef IOS_CHROME_TEST_EARL_GREY_CHROME_EARL_GREY_H_ |   5 #ifndef IOS_CHROME_TEST_EARL_GREY_CHROME_EARL_GREY_H_ | 
|   6 #define IOS_CHROME_TEST_EARL_GREY_CHROME_EARL_GREY_H_ |   6 #define IOS_CHROME_TEST_EARL_GREY_CHROME_EARL_GREY_H_ | 
|   7  |   7  | 
|   8 #import <EarlGrey/EarlGrey.h> |   8 #import <EarlGrey/EarlGrey.h> | 
|   9  |   9  | 
|  10 #include "url/gurl.h" |  10 #include "url/gurl.h" | 
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  72 + (void)waitForStaticHTMLViewContainingText:(NSString*)text; |  72 + (void)waitForStaticHTMLViewContainingText:(NSString*)text; | 
|  73  |  73  | 
|  74 // Waits for there to be no static html view, or a static html view that does |  74 // Waits for there to be no static html view, or a static html view that does | 
|  75 // not contain |text|. If the condition is not met within a timeout, a |  75 // not contain |text|. If the condition is not met within a timeout, a | 
|  76 // GREYAssert is induced. |  76 // GREYAssert is induced. | 
|  77 + (void)waitForStaticHTMLViewNotContainingText:(NSString*)text; |  77 + (void)waitForStaticHTMLViewNotContainingText:(NSString*)text; | 
|  78  |  78  | 
|  79 // Waits for a Chrome error page. If it is not found within a timeout, a |  79 // Waits for a Chrome error page. If it is not found within a timeout, a | 
|  80 // GREYAssert is induced. |  80 // GREYAssert is induced. | 
|  81 + (void)waitForErrorPage; |  81 + (void)waitForErrorPage; | 
 |  82  | 
 |  83 // Waits for the current web view to contain |text|. If the condition is not met | 
 |  84 // within a timeout, a GREYAssert is induced. | 
 |  85 + (void)waitForWebViewContainingText:(std::string)text; | 
|  82 @end |  86 @end | 
|  83  |  87  | 
|  84 #endif  // IOS_CHROME_TEST_EARL_GREY_CHROME_EARL_GREY_H_ |  88 #endif  // IOS_CHROME_TEST_EARL_GREY_CHROME_EARL_GREY_H_ | 
| OLD | NEW |