| // 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 console using the axe-core linter.'); |
| |
| await UI.viewManager.showView('console'); |
| const widget = await UI.viewManager.view('console').widget(); |
| |
| //TODO(crbug.com/1004940): expected.txt file has 'aria-input-field-name' exceptions |
| await AxeCoreTestRunner.runValidation(widget.element); |
| TestRunner.completeTest(); |
| })(); |