New issue
Advanced search Search tips

Issue 704131 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner: ----
Closed: Feb 2018
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

ImeTest#testKeyboardAppFinishesCompositionOnUnexpectedSelectionChange failing on some devices

Reported by kra...@amazon.com, Mar 22 2017

Issue description

Chrome Version: Tip of master
OS: Android

What steps will reproduce the problem?
(1) Run ImeTest#testKeyboardAppFinishesCompositionOnUnexpectedSelectionChange e.g. on a Fire HDX 8.9

What is the expected result?
The test passes 10/10

What happens instead?
Around half the time, the test fails with 
I  386.560s Main  1 failed tests remain.
C  386.563s Main  ********************************************************************************
C  386.563s Main  Detailed Logs
C  386.563s Main  ********************************************************************************
C  386.563s Main  [FAIL] org.chromium.content.browser.input.ImeTest#testKeyboardA,51:0ppFinishesCompositionOnUnexpectedSelectionChange:
,8069:0C  386.563s Main  junit.framework.AssertionFailedError: Criteria not met in allotted time.
C  386.563s Main  	at org.chromium.content.browser.test.util.CriteriaHelper.pollInstrumentationThread(CriteriaHelper.java:79)
C  386.563s Main  	at org.chromium.content.browser.test.util.CriteriaHelper.pollUiThread(CriteriaHelper.java:117)
C  386.564s Main  	at org.chromium.content.browser.test.util.CriteriaHelper.pollUiThread(CriteriaHelper.java:138)
C  386.564s Main  	at org.chromium.content.browser.input.ImeTest.waitAndVerifyUpdateSelection(ImeTest.java:1552)
C  386.564s Main  	at org.chromium.content.browser.input.ImeTest.testKeyboardAppFinishesCompositionOnUnexpectedSelectionChange(ImeTest.java:261)
C  386.564s Main  	at android.test.InstrumentationTestCase.runMethod(InstrumentationTestCase.java:214)
C  386.564s Main  	at android.test.InstrumentationTestCase.runTest(InstrumentationTestCase.java:199)
C  386.564s Main  	at android.test.ActivityInstrumentationTestCase2.runTest(ActivityInstrumentationTestCase2.java:192)
C  386.564s Main  	at org.chromium.content_shell_apk.ContentShellTestBase.runTest(ContentShellTestBase.java:252)
C  386.564s Main  	at org.chromium.base.test.BaseTestResult.runParameterized(BaseTestResult.java:161)
C  386.564s Main  	at org.chromium.base.test.BaseTestResult.run(BaseTestResult.java:124)
C  386.564s Main  	at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:191)
C  386.564s Main  	at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:176)
C  386.564s Main  	at android.test.InstrumentationTestRunner.onStart(InstrumentationTestRunner.java:557)
C  386.564s Main  	at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1874)
C  386.564s Main  ********************************************************************************
C  386.564s Main  Summary
C  386.564s Main  ********************************************************************************
C  386.565s Main  [==========] 432 tests ran.
C  386.566s Main  [  PASSED  ] 430 tests.
C  386.566s Main  [  SKIPPED ] Skipped 1 test, listed below:
C  386.566s Main  [  SKIPPED ] org.chromium.base.LocaleUtilsTest#testToLanguageTags
C  386.566s Main  [  FAILED  ] 1 test, listed below:
C  386.566s Main  [  FAILED  ] org.chromium.content.browser.input.ImeTest#testKeyboardAppFinishesCompositionOnUnexpectedSelectionChange
C  386.566s Main  
C  386.566s Main  1 FAILED TEST
C  386.566s Main  ********************************************************************************

Please use labels and text to provide additional information.


For graphics-related bugs, please copy/paste the contents of the about:gpu
page at the end of this report.

 
Project Member

Comment 2 by bugdroid1@chromium.org, Mar 29 2017

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

commit b92ae006f9fcafbd31fea15459c9b704b506aee6
Author: kraush <kraush@amazon.com>
Date: Wed Mar 29 16:20:02 2017

Use Non-Autocomplete textarea in ImeTest

On some devices, the textarea will be busy executing
autocomplete code while clicking on the textarea in
ImeTest#testKeyboardAppFinishesCompositionOnUnexpectedSelectionChange
By using the textarea without autocomplete, this issue is
avoided while still testing the full intent of this test.
(The autocomplete is not essential to what the test tries
to accomplish)

BUG= 704131 

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

[modify] https://crrev.com/b92ae006f9fcafbd31fea15459c9b704b506aee6/content/public/android/javatests/src/org/chromium/content/browser/input/ImeTest.java

Status: Fixed (was: Untriaged)

Sign in to add a comment