// Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

import {describe, it} from 'mocha';

import {getBrowserAndPages} from '../../shared/helper.js';
import {navigateToSiteWithAnimation, waitForAnimationContent, waitForAnimationsPanelToLoad} from '../helpers/animations-helpers.js';

describe.skip('[crbug.com/1082735] The Animations Panel', async () => {
  it('Listens for animation in webpage', async () => {
    const {target} = getBrowserAndPages();
    await waitForAnimationsPanelToLoad();
    await navigateToSiteWithAnimation(target);
    await waitForAnimationContent();
  });
});

// Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

import {describe, it} from 'mocha';

import {getBrowserAndPages} from '../../shared/helper.js';
import {navigateToSiteWithAnimation, waitForAnimationContent, waitForAnimationsPanelToLoad} from '../helpers/animations-helpers.js';

describe('The Animations Panel', async () => {
  it('Listens for animation in webpage', async () => {
    const {target} = getBrowserAndPages();
    await waitForAnimationsPanelToLoad();
    await navigateToSiteWithAnimation(target);
    await waitForAnimationContent();
  });
});

--- 
+++ 
@@ -7,7 +7,7 @@
 import {getBrowserAndPages} from '../../shared/helper.js';
 import {navigateToSiteWithAnimation, waitForAnimationContent, waitForAnimationsPanelToLoad} from '../helpers/animations-helpers.js';
 
-describe('The Animations Panel', async () => {
+describe.skip('[crbug.com/1082735] The Animations Panel', async () => {
   it('Listens for animation in webpage', async () => {
     const {target} = getBrowserAndPages();
     await waitForAnimationsPanelToLoad();
Disable the flaky Animations Panel test

The test is turning the tree red.

TBR=dba8716ee7f8d16236046f74d2167cb94410f6ed@chromium.org

No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: chromium:1082735
Change-Id: I01454ab9b25a72edf527c1d61b5a46fcda369b79
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2201639
Reviewed-by: Philip Pfaffe <639a645feae3653b7aaefa0387217d375f2f82ff@chromium.org>
Reviewed-by: Tim van der Lippe <dba8716ee7f8d16236046f74d2167cb94410f6ed@chromium.org>
Commit-Queue: Philip Pfaffe <639a645feae3653b7aaefa0387217d375f2f82ff@chromium.org>
