[WebUI][NTP] browser tests for realbox
Tests cover the functionality added in: -crrev.com/c/2194472 -crrev.com/c/2199361 Also fixes bugs and issues that came up while writing the tests: -Restores previous selection, if any, and if no match is selected by default. -Remove and Toggle buttons can be triggered by pressing 'Enter' and 'Space'. -Removes isTrusted check for mouse and keyboard events. This is not necessary and not commonly done in WebUI and makes testing complicated. Bug: 10846603 Change-Id: Id0274fa9a420a6e097a8f63538571498fd3e1d9c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2194275 Commit-Queue: Moe Ahmadi <mahmadi@chromium.org> Reviewed-by:Tibor Goldschwendt <tiborg@chromium.org> Cr-Commit-Position: refs/heads/master@{#770790}
Showing
This diff is collapsed.
Please register or sign in to comment