• Sven Zheng's avatar
    Fix interactive ui tests for lacros · a5e24c44
    Sven Zheng authored
    This cl fixes the interactive_ui_tests(and storage_service_interactive_ui_tests)
    test failures from ~350 down
    to ~150.
    Fix 2 things:
    1 ui_control is not installed.
    2 Sometimes the SendKey send to a wrong window.
    
    python build/lacros/test_runner.py test \
    out/LacrosDesktop/interactive_ui_tests \
    --gtest_filter=WebViewInteractiveTest.NewWindow_OpenInNewTab
    python build/lacros/test_runner.py test \
    out/LacrosDesktop/interactive_ui_tests \
    --gtest_filter=AutofillInteractiveTest.OnInputAfterAutofill
    
    TEST: linux-lacros-fyi-rel shows the result. For local testing:
    Bug: 1111979
    Change-Id: I256e6e87299cd8403894823d73804c2765616163
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2355137Reviewed-by: default avatarAvi Drissman <avi@chromium.org>
    Reviewed-by: default avatarErik Chen <erikchen@chromium.org>
    Commit-Queue: Sven Zheng <svenzheng@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#798477}
    a5e24c44
ui_controls_factory_ozone.cc 14.2 KB