blob: 120193e471473bb3938fb74116b35dbe18c343d6 [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() {
await TestRunner.loadModule('axe_core_test_runner');
TestRunner.addResult(
'Tests accessibility in the web audio tool using the axe-core linter.');
await UI.viewManager.showView('web-audio');
const widget = await UI.viewManager.view('web-audio').widget();
await AxeCoreTestRunner.runValidation(widget.element);
TestRunner.completeTest();
})();