New issue
Advanced search Search tips

Issue 657927 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

Autofill RTL test failing on JB devices

Reported by kra...@amazon.com, Oct 20 2016

Issue description

Version: Tip of master
OS: Android

What steps will reproduce the problem?
(1) Run AutofillKeyboardAccessoryTest#testSwitchFieldsRescrollsKeyboardAccessoryRtl on a JellyBean device
(NOTE: Not Jelly Bean MR 1+. This only repros on SDK level 16)

What is the expected output?
The test passes

What do you see instead?
C   40.467s Main  ********************************************************************************
C   40.467s Main  [FAIL] org.chromium.chrome.browser.autofill.AutofillKeyboardAccessoryTest#testSwitchFieldsRescrollsKeyboardAccessoryRtl:
C   40.467s Main  junit.framework.AssertionFailedError: Last suggestion should be off the screen after switching fields.
C   40.467s Main  	at org.chromium.content.browser.test.util.CriteriaHelper.pollInstrumentationThread(CriteriaHelper.java:74)
C   40.467s Main  	at org.chromium.content.browser.test.util.CriteriaHelper.pollUiThread(CriteriaHelper.java:112)
C   40.467s Main  	at org.chromium.content.browser.test.util.CriteriaHelper.pollUiThread(CriteriaHelper.java:133)
C   40.467s Main  	at org.chromium.chrome.browser.autofill.AutofillKeyboardAccessoryTest.testSwitchFieldsRescrollsKeyboardAccessoryRtl(AutofillKeyboardAccessoryTest.java:234)
C   40.467s Main  	at java.lang.reflect.Method.invokeNative(Native Method)
C   40.467s Main  	at android.test.InstrumentationTestCase.runMethod(InstrumentationTestCase.java:214)
C   40.467s Main  	at android.test.InstrumentationTestCase.runTest(InstrumentationTestCase.java:199)
C   40.468s Main  	at android.test.ActivityInstrumentationTestCase2.runTest(ActivityInstrumentationTestCase2.java:186)
C   40.468s Main  	at org.chromium.chrome.test.ChromeActivityTestCaseBase.runTest(ChromeActivityTestCaseBase.java:726)
C   40.468s Main  	at org.chromium.base.test.BaseTestResult.runParameterized(BaseTestResult.java:161)
C   40.468s Main  	at org.chromium.base.test.BaseTestResult.run(BaseTestResult.java:124)
C   40.468s Main  	at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:169)
C   40.468s Main  	at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:154)
C   40.468s Main  	at android.test.InstrumentationTestRunner.onStart(InstrumentationTestRunner.java:537)
C   40.468s Main  	at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1551)
C   40.468s Main  ********************************************************************************
C   40.468s Main  Summary
C   40.468s Main  ********************************************************************************
C   40.468s Main  [==========] 1 test ran.
C   40.468s Main  [  PASSED  ] 0 tests.
C   40.468s Main  [  FAILED  ] 1 test, listed below:
C   40.468s Main  [  FAILED  ] org.chromium.chrome.browser.autofill.AutofillKeyboardAccessoryTest#testSwitchFieldsRescrollsKeyboardAccessoryRtl
C   40.468s Main
C   40.468s Main  1 FAILED TEST
C   40.468s Main  ********************************************************************************

Please use labels and text to provide additional information.
Native RTL support was only added in Jelly Bean MR 1
http://android-developers.blogspot.com/2013/03/native-rtl-support-in-android-42.html

 
Project Member

Comment 2 by bugdroid1@chromium.org, Oct 21 2016

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

commit a6415ebf964e91a280f4fea120ea48fcc077fd2a
Author: kraush <kraush@amazon.com>
Date: Fri Oct 21 17:09:30 2016

Do not run Autofill RTL test on JB

RTL is not supported in SDK level 16.
This test that relies on native RTL support should
therefore be disabled.

BUG= 657927 

Review-Url: https://chromiumcodereview.appspot.com/2434293002
Cr-Commit-Position: refs/heads/master@{#426821}

[modify] https://crrev.com/a6415ebf964e91a280f4fea120ea48fcc077fd2a/chrome/android/javatests/src/org/chromium/chrome/browser/autofill/AutofillKeyboardAccessoryTest.java

Status: Fixed (was: Untriaged)

Sign in to add a comment