New issue
Advanced search Search tips

Issue 648755 link

Starred by 2 users

Issue metadata

Status: Archived
Owner: ----
Closed: Sep 2017
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

Scroll tests flaky on devices with large displays

Reported by calvi...@amazon.com, Sep 20 2016

Issue description

Chrome Version       : any

What steps will reproduce the problem?
(1) Attach a device with a 1232x800 display or larger and set it in
portrait mode
(2) Run content_browsertests -f TouchActionBrowserTest.DefaultAuto

What is the expected result?
Test passes

What happens instead?
C   60.043s Main
********************************************************************************
C   60.043s Main  Detailed Logs
C   60.043s Main
********************************************************************************
C   60.043s Main  [UNKNOWN] TouchActionBrowserTest.DefaultAuto:
C   60.043s Main  [ RUN       ] TouchActionBrowserTest.DefaultAuto
C   60.044s Main  [ERROR:devtools_http_handler.cc(228)] Cannot start
http server for devtools. Stop devtools.
C   60.044s Main  [ERROR:shell_android.cc(72)] Not implemented reached
in void content::Shell::PlatformSetTitle(const string16&): ready
C   60.044s Main  referenceTable head length=54 1
C   60.044s Main
../../content/browser/renderer_host/input/touch_action_browsertest.cc:179:
Failure
C   60.044s Main  The difference between distance.y() and scrollTop is
13, which exceeds 1, where
C   60.044s Main  distance.y() evaluates to 45,
C   60.044s Main  scrollTop evaluates to 32, and
C   60.044s Main  1 evaluates to 1.
C   60.044s Main  [  FAILED   ] TouchActionBrowserTest.DefaultAuto,
where TypeParam =  and GetParam() =  (1291 ms)
C   60.044s Main  [----------] 1 test from TouchActionBrowserTest (1293
ms total)
C   60.045s Main
C   60.045s Main  [----------] Global test environment tear-down
C   60.045s Main  [==========] 1 test from 1 test case ran. (1293 ms
total)
C   60.045s Main  [  PASSED   ] 0 tests.
C   60.045s Main  [  FAILED   ] 1 test, listed below:
C   60.045s Main
C   60.045s Main   1 FAILED TEST
C   60.045s Main
C   60.045s Main  TouchActionBrowserTest.DefaultAutoFAILED
C   60.046s Main  FAILURES!!! Tests run: 1, Failures: 1, Errors: 0
C   60.046s Main
********************************************************************************
C   60.046s Main  Summary
C   60.046s Main
********************************************************************************
C   60.046s Main  [==========] 1 test ran.
C   60.046s Main  [  PASSED   ] 0 tests.
C   60.046s Main  [  FAILED   ] 1 test, listed below:
C   60.046s Main  [  FAILED   ] TouchActionBrowserTest.DefaultAuto
(UNKNOWN)
C   60.046s Main
C   60.047s Main  1 FAILED TEST
C   60.047s Main
********************************************************************************

Please provide any additional information below. Attach a screenshot if
possible.

 
Project Member

Comment 1 by bugdroid1@chromium.org, Sep 28 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/a1f33125fea8776f8c3d3edbe6eb194e21549cf5

commit a1f33125fea8776f8c3d3edbe6eb194e21549cf5
Author: calvimei <calvimei@amazon.com>
Date: Tue Sep 27 19:40:47 2016

Increase scroll height in scroll tests

TouchActionBrowserTest.DefaultAuto is flaky on devices which have a
longer display than other devices. The test could not scroll the
full height of the display, so we increase the scroll height.

BUG= 648755 

Review-Url: https://codereview.chromium.org/2358673002
Cr-Commit-Position: refs/heads/master@{#421300}

[modify] https://crrev.com/a1f33125fea8776f8c3d3edbe6eb194e21549cf5/content/browser/renderer_host/input/touch_action_browsertest.cc

Project Member

Comment 2 by sheriffbot@chromium.org, Sep 29 2017

Status: Archived (was: Unconfirmed)
Issue has not been modified or commented on in the last 365 days, please re-open or file a new bug if this is still an issue.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Sign in to add a comment