Commit f34873c8 authored by John Lee's avatar John Lee Committed by Commit Bot

WebUI Tab Strip: Remove debugging code for flaky test

Fixed: 1090645
Change-Id: I658434d22d261aac95b856e81a71b321ff56f72c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2285400Reviewed-by: default avatardpapad <dpapad@chromium.org>
Commit-Queue: John Lee <johntlee@chromium.org>
Cr-Commit-Position: refs/heads/master@{#786374}
parent 0dfcbe2f
...@@ -275,16 +275,6 @@ suite('TabList', () => { ...@@ -275,16 +275,6 @@ suite('TabList', () => {
function testPlaceElementAnimationParams( function testPlaceElementAnimationParams(
element, horizontalScale, verticalScale) { element, horizontalScale, verticalScale) {
const animations = element.getAnimations(); const animations = element.getAnimations();
// TODO(crbug.com/1090645): Remove logging once the test no longer flakes.
if (animations.length > 1) {
console.log('--- Multiple animations found. ---');
animations.forEach(animation => {
console.log('playState:', animation.playState);
console.log('duration:', animation.effect.getTiming().duration);
});
}
assertEquals(1, animations.length); assertEquals(1, animations.length);
assertEquals('running', animations[0].playState); assertEquals('running', animations[0].playState);
assertEquals(120, animations[0].effect.getTiming().duration); assertEquals(120, animations[0].effect.getTiming().duration);
......
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