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

Issue 2815503002: Validate page load in testBrowsingPostEntryWithKeyboard with web view text. (Closed)

Created:
3 years, 8 months ago by gchatz
Modified:
3 years, 8 months ago
CC:
chromium-reviews, ios-reviews+chrome_chromium.org, ios-reviews_chromium.org, pkl (ping after 24h if needed), noyau+watch_chromium.org, marq+watch_chromium.org, sdefresne+watch_chromium.org, liaoyuke
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Validate page load in testBrowsingPostEntryWithKeyboard with web view text. The testBrowsingPostEntryWithKeyboard test currently uses the waitForPageToFinishLoading API to ensure that the page is loaded before validating omnibox text. But, this is not sufficient to prevent flake as the page load may not have started at this point. This CL resolves the flake by waiting for and validating that the web view has text from the target page instead. BUG=704618 Review-Url: https://codereview.chromium.org/2815503002 Cr-Commit-Position: refs/heads/master@{#463484} Committed: https://chromium.googlesource.com/chromium/src/+/24a7ab49adbbaeefd815066ac9e530e4713560b1

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -3 lines) Patch
M ios/chrome/browser/web/browsing_egtest.mm View 2 chunks +4 lines, -3 lines 2 comments Download

Messages

Total messages: 11 (5 generated)
gchatz
I am leaving this in browsing_egtest for now. Will move over to forms_egtest in a ...
3 years, 8 months ago (2017-04-11 00:14:01 UTC) #3
gchatz
3 years, 8 months ago (2017-04-11 00:14:43 UTC) #4
Eugene But (OOO till 7-30)
lgtm https://codereview.chromium.org/2815503002/diff/1/ios/chrome/browser/web/browsing_egtest.mm File ios/chrome/browser/web/browsing_egtest.mm (right): https://codereview.chromium.org/2815503002/diff/1/ios/chrome/browser/web/browsing_egtest.mm#newcode608 ios/chrome/browser/web/browsing_egtest.mm:608: - (void)FLAKY_testBrowsingPostEntryWithKeyboard { Do you plan to remove ...
3 years, 8 months ago (2017-04-11 00:57:04 UTC) #5
gchatz
https://codereview.chromium.org/2815503002/diff/1/ios/chrome/browser/web/browsing_egtest.mm File ios/chrome/browser/web/browsing_egtest.mm (right): https://codereview.chromium.org/2815503002/diff/1/ios/chrome/browser/web/browsing_egtest.mm#newcode608 ios/chrome/browser/web/browsing_egtest.mm:608: - (void)FLAKY_testBrowsingPostEntryWithKeyboard { On 2017/04/11 00:57:04, Eugene But wrote: ...
3 years, 8 months ago (2017-04-11 01:03:58 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2815503002/1
3 years, 8 months ago (2017-04-11 01:04:44 UTC) #8
commit-bot: I haz the power
3 years, 8 months ago (2017-04-11 01:18:13 UTC) #11
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/24a7ab49adbbaeefd815066ac9e5...

Powered by Google App Engine
This is Rietveld 408576698