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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 // before a timeout, there is a GREYAssert. | 58 // before a timeout, there is a GREYAssert. |
59 + (void)waitForStaticHTMLViewContainingText:(NSString*)text; | 59 + (void)waitForStaticHTMLViewContainingText:(NSString*)text; |
60 | 60 |
61 // Waits for there to be no static html view, or a static html view that does | 61 // Waits for there to be no static html view, or a static html view that does |
62 // not contain |text|. If the condition is not met before a timeout, there is a | 62 // not contain |text|. If the condition is not met before a timeout, there is a |
63 // GREYAssert. | 63 // GREYAssert. |
64 + (void)waitForStaticHTMLViewNotContainingText:(NSString*)text; | 64 + (void)waitForStaticHTMLViewNotContainingText:(NSString*)text; |
65 | 65 |
66 // Waits for a Chrome error page. If it is not found, a GREYAssert is induced. | 66 // Waits for a Chrome error page. If it is not found, a GREYAssert is induced. |
67 + (void)waitForErrorPage; | 67 + (void)waitForErrorPage; |
| 68 |
| 69 // Waits for omnibox to be |text|. If it is not found, a GREYAssert is induced. |
| 70 + (void)waitForOmniboxText:(NSString*)text; |
68 @end | 71 @end |
69 | 72 |
70 #endif // IOS_CHROME_TEST_EARL_GREY_CHROME_EARL_GREY_H_ | 73 #endif // IOS_CHROME_TEST_EARL_GREY_CHROME_EARL_GREY_H_ |
OLD | NEW |