blob: f5cb815feaa8a47f96195dcc9cb5a3d5a440dcde [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 - panel toolbar.');
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();
await AxeCoreTestRunner.runValidation(widget._panelToolbar.element);
TestRunner.completeTest();
})();