[Autofill Assistant] Tests for expand/collapse sheet.
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:Sandro Maggi <sandromaggi@google.com> Cr-Commit-Position: refs/heads/master@{#734625}
Showing
Please register or sign in to comment