summaryrefslogtreecommitdiffstats
path: root/chrome/browser/errorpage_uitest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/errorpage_uitest.cc')
-rw-r--r--chrome/browser/errorpage_uitest.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/browser/errorpage_uitest.cc b/chrome/browser/errorpage_uitest.cc
index 409cca0..668bc1d 100644
--- a/chrome/browser/errorpage_uitest.cc
+++ b/chrome/browser/errorpage_uitest.cc
@@ -17,6 +17,7 @@ class ErrorPageTest : public UITest {
return true;
PlatformThread::Sleep(sleep_timeout_ms() / 10);
}
+ EXPECT_EQ(title, GetActiveTabTitle());
return false;
}
bool WaitForTitleContaining(const std::string& title_substring) {
@@ -26,6 +27,8 @@ class ErrorPageTest : public UITest {
return true;
PlatformThread::Sleep(sleep_timeout_ms() / 10);
}
+ LOG(ERROR) << "Could not find " << title_substring << " in "
+ << GetActiveTabTitle();
return false;
}
};