Commit f8f331c5 authored by Junyi Xiao's avatar Junyi Xiao Committed by Commit Bot

DevTools: a11y test for Performance tool landing page

This change only adds an axe test for performance tool landing page

Bug: 963183
Change-Id: I583e36a24d53fbb77c495c716876165deba66151
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1699133Reviewed-by: default avatarYang Guo <yangguo@chromium.org>
Commit-Queue: Junyi Xiao <juxiao@microsoft.com>
Cr-Commit-Position: refs/heads/master@{#697266}
parent bead5658
Tests accessibility in Performance landing page 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() {
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();
})();
\ No newline at end of file
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