Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(114)

Unified Diff: ios/chrome/browser/web/forms_egtest.mm

Issue 2722983003: Reland Tab History and BrowserViewController CRWSessionEntry removal. (Closed)
Patch Set: TODO, early return Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ios/chrome/browser/web/forms_egtest.mm
diff --git a/ios/chrome/browser/web/forms_egtest.mm b/ios/chrome/browser/web/forms_egtest.mm
index afa9c5b87cc602f75433d622be44b1316f25c8c4..2c598cf670da7d25ef49e6b33cddd0924ec0536a 100644
--- a/ios/chrome/browser/web/forms_egtest.mm
+++ b/ios/chrome/browser/web/forms_egtest.mm
@@ -22,6 +22,7 @@
#import "ios/web/public/test/http_server.h"
#import "ios/web/public/test/http_server_util.h"
#include "ios/web/public/test/response_providers/data_response_provider.h"
+#include "ios/web/public/test/url_test_util.h"
namespace {
@@ -276,8 +277,9 @@ - (void)testRepostFormAfterIndexNavigation {
[self openBackHistory];
[self waitForTabHistoryView];
- id<GREYMatcher> historyItem = grey_text(base::SysUTF8ToNSString(
- TestResponseProvider::GetPrintFormDataUrl().spec()));
+ GURL history_url = TestResponseProvider::GetPrintFormDataUrl();
+ id<GREYMatcher> historyItem = grey_text(
+ base::SysUTF16ToNSString(web::GetDisplayTitleForUrl(history_url)));
[[EarlGrey selectElementWithMatcher:historyItem] performAction:grey_tap()];
[ChromeEarlGrey waitForPageToFinishLoading];
« no previous file with comments | « ios/chrome/browser/ui/toolbar/web_toolbar_controller.mm ('k') | ios/chrome/browser/web/visible_url_egtest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698