Commit 9583c724 authored by Mathias Bynens's avatar Mathias Bynens Committed by Commit Bot

Temporarily disable DevTools locations pane test

DevTools front-end CL:
https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2119672

Once that CL lands and rolls into Chromium, we can re-enable the
test with its new expectations.

Bug: chromium:1051186, chromium:1051822, chromium:1057096
Change-Id: I2bf3fff8443f96d3fcdc7b2e00fb721240f06b92
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2119533Reviewed-by: default avatarYang Guo <yangguo@chromium.org>
Commit-Queue: Yang Guo <yangguo@chromium.org>
Auto-Submit: Mathias Bynens <mathias@chromium.org>
Cr-Commit-Position: refs/heads/master@{#753159}
parent 6f03356e
......@@ -6579,6 +6579,7 @@ crbug.com/1006759 http/tests/devtools/profiler/agents-disabled-check.js [ Skip ]
# DevTools roll
crbug.com/1052111 http/tests/devtools/a11y-axe-core/audits-start-view-a11y-test.js [ Skip ]
crbug.com/1051822 http/tests/devtools/a11y-axe-core/settings/locations-a11y-test.js [ Pass Failure ]
# Sheriff 2020-02-18
crbug.com/1050893 [ Fuchsia ] virtual/gpu/fast/canvas/feimage-with-foreignobject-taint-canvas-2.html [ Timeout Pass ]
......
Tests accessibility in the settings tool geolocations pane using the axe-core linter.
Tests accessibility in the settings tool locations pane using the axe-core linter.
Running: testAddLocation
Opened input box: true
......
......@@ -4,24 +4,24 @@
(async function() {
TestRunner.addResult(
'Tests accessibility in the settings tool geolocations pane using the axe-core linter.');
'Tests accessibility in the settings tool locations pane using the axe-core linter.');
await TestRunner.loadModule('axe_core_test_runner');
await UI.viewManager.showView('emulation-geolocations');
const geolocationsWidget = await UI.viewManager.view('emulation-geolocations').widget();
await UI.viewManager.showView('emulation-locations');
const locationsWidget = await UI.viewManager.view('emulation-locations').widget();
async function testAddLocation() {
const addLocationButton = geolocationsWidget._defaultFocusedElement;
const addLocationButton = locationsWidget._defaultFocusedElement;
addLocationButton.click();
const newLocationInputs = geolocationsWidget._list._editor._controls;
const newLocationInputs = locationsWidget._list._editor._controls;
TestRunner.addResult(`Opened input box: ${!!newLocationInputs}`);
await AxeCoreTestRunner.runValidation(geolocationsWidget.contentElement);
await AxeCoreTestRunner.runValidation(locationsWidget.contentElement);
}
async function testNewLocationError() {
const locationsEditor = geolocationsWidget._list._editor;
const locationsEditor = locationsWidget._list._editor;
const newLocationInputs = locationsEditor._controls;
const nameInput = newLocationInputs[0];
const latitudeInput = newLocationInputs[1];
......@@ -47,8 +47,8 @@
errorMessage = locationsEditor._errorMessageContainer.textContent;
TestRunner.addResult(`Error message: ${errorMessage}`);
await AxeCoreTestRunner.runValidation(geolocationsWidget.contentElement);
await AxeCoreTestRunner.runValidation(locationsWidget.contentElement);
}
TestRunner.runAsyncTestSuite([testAddLocation, testNewLocationError]);
})();
\ 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