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

Issue 2637113004: Wait for scroll offset in testScrollPositionRestoring. (Closed)

Created:
3 years, 11 months ago by kkhorimoto
Modified:
3 years, 11 months ago
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Wait for scroll offset in testScrollPositionRestoring. This ensures that the content offset is applied before attempting to verify using the contentOffset() matcher. BUG=670700 Review-Url: https://codereview.chromium.org/2637113004 Cr-Commit-Position: refs/heads/master@{#444433} Committed: https://chromium.googlesource.com/chromium/src/+/c91d38d7912b0076bce36e6ad318c197cd6d5a0a

Patch Set 1 #

Patch Set 2 : use condition in egtest #

Total comments: 4

Patch Set 3 : remove extra checks #

Patch Set 4 : fix compile #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -8 lines) Patch
M ios/web/shell/test/page_state_egtest.mm View 1 2 3 3 chunks +25 lines, -8 lines 0 comments Download

Messages

Total messages: 21 (10 generated)
kkhorimoto
3 years, 11 months ago (2017-01-18 01:31:27 UTC) #2
kkhorimoto
3 years, 11 months ago (2017-01-18 01:31:58 UTC) #4
Eugene But (OOO till 7-30)
I think we should avoid adding APIs which exist only for testing purpose, unless there ...
3 years, 11 months ago (2017-01-18 06:21:58 UTC) #5
Eugene But (OOO till 7-30)
On 2017/01/18 06:21:58, Eugene But wrote: > I think we should avoid adding APIs which ...
3 years, 11 months ago (2017-01-18 06:35:34 UTC) #6
kkhorimoto
Yeah, the extra API was added because the check was flakily occurring before the display ...
3 years, 11 months ago (2017-01-18 18:31:42 UTC) #8
Eugene But (OOO till 7-30)
Cool. lgtm https://codereview.chromium.org/2637113004/diff/20001/ios/web/shell/test/page_state_egtest.mm File ios/web/shell/test/page_state_egtest.mm (right): https://codereview.chromium.org/2637113004/diff/20001/ios/web/shell/test/page_state_egtest.mm#newcode110 ios/web/shell/test/page_state_egtest.mm:110: [[EarlGrey selectElementWithMatcher:web::webViewScrollView()] Do you still need this? ...
3 years, 11 months ago (2017-01-18 18:36:02 UTC) #9
kkhorimoto
https://codereview.chromium.org/2637113004/diff/20001/ios/web/shell/test/page_state_egtest.mm File ios/web/shell/test/page_state_egtest.mm (right): https://codereview.chromium.org/2637113004/diff/20001/ios/web/shell/test/page_state_egtest.mm#newcode110 ios/web/shell/test/page_state_egtest.mm:110: [[EarlGrey selectElementWithMatcher:web::webViewScrollView()] On 2017/01/18 18:36:02, Eugene But wrote: > ...
3 years, 11 months ago (2017-01-18 18:44:47 UTC) #10
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/2637113004/40001
3 years, 11 months ago (2017-01-18 18:45:18 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/137840)
3 years, 11 months ago (2017-01-18 18:55:01 UTC) #15
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/2637113004/60001
3 years, 11 months ago (2017-01-18 18:57:42 UTC) #18
commit-bot: I haz the power
3 years, 11 months ago (2017-01-18 19:09:32 UTC) #21
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/c91d38d7912b0076bce36e6ad318...

Powered by Google App Engine
This is Rietveld 408576698