[breadcrumb] Add breadcrumb unittest
Add unittest fixtures (18 in all) to cover the breadcrumbs public API. Note that Polymer3 does not work in files app unittest harness, so the <cr-action-menu> aspects of breadcrumb can only be partly tested here, see [1]. Keyboard Enter and Space, and <cr-action-menu> drop-down menu open/close behavior etc will need integration tests. [1] The <cr-action-menu> fails on a "Polymer is not defined" exception at unittest start-up and its JS code is non-functional as a result. Bug: 1061388 Change-Id: Ie2d03cb16dbcde421131c933c92a3a0e4a1e7f1d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2143024Reviewed-by:Noel Gordon <noel@chromium.org> Reviewed-by:
Alex Danilo <adanilo@chromium.org> Commit-Queue: Noel Gordon <noel@chromium.org> Cr-Commit-Position: refs/heads/master@{#757763}
Showing
This diff is collapsed.
Please register or sign in to comment