Commit 0d1ee6c4 authored by James Wallace-Lee's avatar James Wallace-Lee Committed by Commit Bot

Deflake DumpAccessibilityTreeTest.AccessibilityTransform

End the test when the CSS transform is reflected in the dump, rather
than by using a separate label.

Bug: 856367
Change-Id: I7ba49d483705d2ad04d1bc0a10a2ce3546e2c626
Reviewed-on: https://chromium-review.googlesource.com/1114353Reviewed-by: default avatarDominic Mazzoni <dmazzoni@chromium.org>
Commit-Queue: James Wallace-Lee <jamwalla@chromium.org>
Cr-Commit-Position: refs/heads/master@{#570822}
parent 8731e71d
rootWebArea pageLocation=(0, 0) rootWebArea pageLocation=(0, 0)
++genericContainer pageLocation=(0, 0) name='Done'
++genericContainer pageLocation=(0, 50) ++genericContainer pageLocation=(0, 50)
++++paragraph pageLocation=(0, 50) ++++paragraph pageLocation=(0, 50)
++++++staticText pageLocation=(0, 50) name='content' ++++++staticText pageLocation=(0, 50) name='content'
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
@BLINK-ALLOW:pageLocation=(0, 0) @BLINK-ALLOW:pageLocation=(0, 0)
@BLINK-ALLOW:pageLocation=(0, 50) @BLINK-ALLOW:pageLocation=(0, 50)
@WAIT-FOR:Done @WAIT-FOR:(0, 50)
--> -->
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
...@@ -25,7 +25,6 @@ div { ...@@ -25,7 +25,6 @@ div {
</head> </head>
<body> <body>
<div id="status" aria-label="Working"></div>
<div id="outer"> <div id="outer">
<p>content</p> <p>content</p>
</div> </div>
...@@ -34,9 +33,6 @@ div { ...@@ -34,9 +33,6 @@ div {
setTimeout(function() { setTimeout(function() {
document.getElementById("outer").style.transform = "translateY(50px)"; document.getElementById("outer").style.transform = "translateY(50px)";
}, 10); }, 10);
setTimeout(function() {
document.getElementById("status").setAttribute("aria-label", "Done");
}, 20);
</script> </script>
</body> </body>
</html> </html>
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