Commit ccb63ad7 authored by Rune Lillesveen's avatar Rune Lillesveen Committed by Commit Bot

Disable flaky MagnifierE2ETests

TBR=josiahk@google.com

Bug: 1139939
Change-Id: I4b173529cfebfaea9f5efd5f1c2ce621bc0cacac
AX-Relnotes: n/a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2505806Reviewed-by: default avatarRune Lillesveen <futhark@chromium.org>
Commit-Queue: Rune Lillesveen <futhark@chromium.org>
Cr-Commit-Position: refs/heads/master@{#822250}
parent 4718f57e
......@@ -51,29 +51,34 @@ MagnifierE2ETest = class extends E2ETestBase {
}
};
TEST_F('MagnifierE2ETest', 'MovesScreenMagnifierToFocusedElement', function() {
const site = `
// Disabled - flaky: https://crbug.com/1139939
TEST_F(
'MagnifierE2ETest', 'DISABLED_MovesScreenMagnifierToFocusedElement',
function() {
const site = `
<button id="apple">Apple</button>
<button id="banana">Banana</button>
`;
this.runWithLoadedTree(site, async function(root) {
// Validate magnifier wants to move to root.
const rootLocation = await getNextMagnifierLocation();
assertTrue(RectUtil.equal(rootLocation, root.location));
this.runWithLoadedTree(site, async function(root) {
// Validate magnifier wants to move to root.
const rootLocation = await getNextMagnifierLocation();
assertTrue(RectUtil.equal(rootLocation, root.location));
// Focus banana node.
const banana =
root.find({role: RoleType.BUTTON, attributes: {name: 'Banana'}});
banana.focus();
// Focus banana node.
const banana =
root.find({role: RoleType.BUTTON, attributes: {name: 'Banana'}});
banana.focus();
// Validate magnifier wants to move to banana.
const bananaLocation = await getNextMagnifierLocation();
assertTrue(RectUtil.equal(bananaLocation, banana.location));
});
});
// Validate magnifier wants to move to banana.
const bananaLocation = await getNextMagnifierLocation();
assertTrue(RectUtil.equal(bananaLocation, banana.location));
});
});
// Disabled - flaky: https://crbug.com/1139939
TEST_F(
'MagnifierE2ETest', 'MovesScreenMagnifierToActiveDescendant', function() {
'MagnifierE2ETest', 'DISABLED_MovesScreenMagnifierToActiveDescendant',
function() {
const site = `
<div role="group" id="parent" aria-activedescendant="apple">
<div id="apple" role="treeitem">Apple</div>
......
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