flags: add expiration browser test
This change adds a browser test (actually an interactive ui test) that ensures that flags that expire actually end up hidden in the UI. To avoid depending on the real flag metadata, this change also adds flags::testing::SetFlagExpiredPredicate to allow tests to control which flags are considered to have expired. Bug: 1010678 Change-Id: If6275735105fa552779429f7978d7bf9e76f3687 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1876469Reviewed-by:Nico Weber <thakis@chromium.org> Commit-Queue: Elly Fong-Jones <ellyjones@chromium.org> Cr-Commit-Position: refs/heads/master@{#709011}
Showing
Please register or sign in to comment