blob: 982b291b08644a40727b1142f17c1778bc3b89b3 [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('Tests accessibility in Performance landing page using the axe-core linter.');
await TestRunner.loadModule('axe_core_test_runner');
const view = 'timeline';
await UI.viewManager.showView(view);
const widget = await UI.viewManager.view(view).widget();
await AxeCoreTestRunner.runValidation(widget.element);
TestRunner.completeTest();
})();