Commit bb75ff5d authored by John Emau's avatar John Emau Committed by Commit Bot

DevTools: add axe-core test for the WebAudio tool

Bug: 963183
Change-Id: I16c95430821e329433334a9d6515b9c3fc555f20
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1711061Reviewed-by: default avatarErik Luo <luoe@chromium.org>
Commit-Queue: John Emau <johnemau@microsoft.com>
Cr-Commit-Position: refs/heads/master@{#682086}
parent 22547e63
Tests accessibility in the web audio tool using the axe-core linter.
aXe violations: []
// 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();
})();
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment