blob: 40dcddfa27a4afe0774d5529d841b7a1eebe2856 [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 right 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._panelRightToolbar.element);
TestRunner.completeTest();
})();