blob: 7f3698b9a4706db1c2b409d499aa4d9ae4aef7e6 [file] [log] [blame]
// Copyright 2019 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.
(async function() {
TestRunner.addResult('Testing a11y in performance panel - timeline overview container.');
await TestRunner.loadModule('axe_core_test_runner');
await TestRunner.loadModule('performance_test_runner');
await TestRunner.showPanel('timeline');
await PerformanceTestRunner.runPerfTraceWithReload();
const widget = await PerformanceTestRunner.getTimelineWidget();
const timeLineViewElement = widget._overviewPane.element;
await AxeCoreTestRunner.runValidation(timeLineViewElement);
TestRunner.completeTest();
})();