| Index: ios/chrome/browser/web/progress_indicator_egtest.mm
|
| diff --git a/ios/chrome/browser/web/progress_indicator_egtest.mm b/ios/chrome/browser/web/progress_indicator_egtest.mm
|
| index cc2130e1ae30a2de27e3ae9d40c6f0c864f2b666..e2ef563e7fdd4d863b28ef09323a021d008ad46d 100644
|
| --- a/ios/chrome/browser/web/progress_indicator_egtest.mm
|
| +++ b/ios/chrome/browser/web/progress_indicator_egtest.mm
|
| @@ -12,9 +12,9 @@
|
| #include "ios/chrome/test/app/navigation_test_util.h"
|
| #include "ios/chrome/test/app/web_view_interaction_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"
|
| -#include "ios/chrome/test/earl_grey/chrome_util.h"
|
| #import "ios/testing/earl_grey/disabled_test_macros.h"
|
| #import "ios/third_party/material_components_ios/src/components/ProgressView/src/MaterialProgressView.h"
|
| #import "ios/web/public/test/http_server.h"
|
| @@ -157,8 +157,7 @@ class InfinitePendingResponseProvider : public HtmlResponseProvider {
|
| [[EarlGrey selectElementWithMatcher:ProgressViewWithProgress(0.5)]
|
| assertWithMatcher:grey_sufficientlyVisible()];
|
|
|
| - // Verify toolbar visible.
|
| - chrome_test_util::AssertToolbarVisible();
|
| + [ChromeEarlGreyUI waitForToolbarVisible:YES];
|
| }
|
|
|
| // Tests that the progress indicator is shown and has expected progress value
|
| @@ -197,8 +196,7 @@ class InfinitePendingResponseProvider : public HtmlResponseProvider {
|
| [[EarlGrey selectElementWithMatcher:ProgressViewWithProgress(0.5)]
|
| assertWithMatcher:grey_sufficientlyVisible()];
|
|
|
| - // Verify toolbar visible.
|
| - chrome_test_util::AssertToolbarVisible();
|
| + [ChromeEarlGreyUI waitForToolbarVisible:YES];
|
| }
|
|
|
| // Tests that the progress indicator disappears after form has been submitted.
|
|
|