Commit 8e734b0b authored by Weilun Shi's avatar Weilun Shi Committed by Commit Bot

[NTP] Change theme test to non-flaky version

Implementing the intant theme test in a non-flaky way. Instead of using
OnThemeChange event to determine whether the theme has applied on existing
tab/current tab/new tab, we directly check the css setting is equal to the
new theme or not.

Bug: 335297
Change-Id: Ic366e180281b23ccdffcbcd9e4b2144485591607
Reviewed-on: https://chromium-review.googlesource.com/1208939
Commit-Queue: Weilun Shi <sweilun@chromium.org>
Reviewed-by: default avatarKristi Park <kristipark@chromium.org>
Cr-Commit-Position: refs/heads/master@{#589229}
parent cbe8e92f
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment