• Mathias Carlen's avatar
    [Autofill Assistant] Tests for expand/collapse sheet. · d3270d1c
    Mathias Carlen authored
    This patch adds unit tests and a integration / UI test for the recently
    added auto expand/collapse sheet behavior for prompt actions.
    
    Note that there are two sides to this, Prompt has a
    disable_force_expand_sheet option now to prevent prompt from auto
    expanding when entering that state. The other part is
    ConfigureBottomSheet, which now has a oneof (expand, collapse) to
    automatically update the bottom sheet to the expected state.
    
    Bug: b/145204744
    Change-Id: I857a2be13e090d9e5d663419ead60497102cb897
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2007721
    Commit-Queue: Mathias Carlen <mcarlen@chromium.org>
    Reviewed-by: default avatarSandro Maggi <sandromaggi@google.com>
    Cr-Commit-Position: refs/heads/master@{#734625}
    d3270d1c
controller_unittest.cc 71.1 KB