New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 889302 link

Starred by 2 users

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 3
Type: Bug



Sign in to add a comment

Placing EnabledTop as 1st group of OfflineIndicator in fieldtrial_testing_config.json causes some test failures

Project Member Reported by jianli@chromium.org, Sep 25

Issue description

If EnabledTop is set as 1st group in OfflineIndicator, we got the following test failures:

chrome_public_test_apk on Android device Nexus 5 (with patch) Run on OS: 'Android'
org.chromium.chrome.browser.payments.PaymentRequestPaymentMethodIdentifierTest#testSupportedTypesMustMatchForCanMakePayment
org.chromium.chrome.browser.payments.PaymentRequestPaymentAppCanMakePaymentQueryTest#testNoBobPayInstalled
org.chromium.chrome.browser.payments.PaymentRequestPaymentMethodIdentifierTest#testSupportedNetworksMustMatchForCanMakePayment
org.chromium.chrome.browser.payments.PaymentRequestPaymentAppCanMakePaymentQueryTest#testPayViaFastBobPay
org.chromium.chrome.browser.fullscreen.FullscreenManagerTest#testHidingBrowserControlsRemovesSurfaceFlingerOverlay
org.chromium.chrome.browser.payments.PaymentRequestPaymentAppCanMakePaymentQueryTest#testNoInstrumentsInFastBobPay
org.chromium.chrome.browser.payments.PaymentRequestPaymentMethodIdentifierTest#testPayWithBasicCard
org.chromium.chrome.browser.payments.PaymentRequestPaymentAppCanMakePaymentQueryTest#testPayViaSlowBobPay
org.chromium.chrome.browser.payments.PaymentRequestPaymentAppCanMakePaymentQueryTest#testNoInstrumentsInSlowBobPay

These errors occur because the test device ran in airplane mode and thus the appearance of top offline indicator caused those tests who relied on checking the existence or clicking the UI elements at the top of the content area to fail.

For now, I worked around this by moving EnabledBottom to 1st group. On the long run, we need to figure out how to solve this problem.
 

Comment 1 Deleted

Comment 2 Deleted

Comment 3 Deleted

Comment 4 Deleted

Sign in to add a comment