|
|
Created:
5 years, 8 months ago by hcarmona Modified:
5 years, 7 months ago CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org Base URL:
https://chromium.googlesource.com/chromium/src.git@master Target Ref:
refs/pending/heads/master Project:
chromium Visibility:
Public. |
DescriptionIgnore a11y failures in extension browser_tests that enter dev mode.
BUG=463245
Committed: https://crrev.com/a695de78dc3236b3d4b6914a037287979a50b29b
Cr-Commit-Position: refs/heads/master@{#327178}
Patch Set 1 #
Total comments: 1
Messages
Total messages: 21 (2 generated)
hcarmona@chromium.org changed reviewers: + dbeam@chromium.org, kalman@chromium.org, rdevlin.cronin@chromium.org, thakis@chromium.org
CL to ignore a11y failures introduced in https://codereview.chromium.org/1090763003/
lgtm, but you'll need an OWNERS stamp. https://codereview.chromium.org/1104883002/diff/1/chrome/browser/ui/webui/ext... File chrome/browser/ui/webui/extensions/extension_settings_browsertest.js (right): https://codereview.chromium.org/1104883002/diff/1/chrome/browser/ui/webui/ext... chrome/browser/ui/webui/extensions/extension_settings_browsertest.js:123: * mode is enabled. nit: I'd comment on why we ignore it, and why it's probably okay (and maybe do the same briefly in the CL description). (i.e., it fails because of an overlap, but that overlap is only true during a short transition, so by the end it would pass, if it could).
what? why? this is a regression then...
On 2015/04/27 15:55:01, Dan Beam wrote: > what? why? this is a regression then... I'm don't think this test ever passed un-flakily with a11y audits, and, to my naive eyes, the error seems like it's just complaining that (*before* the transition), the dev controls are buried - which is true and intentional. Of course, if there's a way around this that doesn't involve just suppressing audits here, that would be preferable. :)
On 2015/04/27 16:00:47, Devlin wrote: > On 2015/04/27 15:55:01, Dan Beam wrote: > > what? why? this is a regression then... > > I'm don't think this test ever passed un-flakily with a11y audits, and, to my > naive eyes, the error seems like it's just complaining that (*before* the > transition), the dev controls are buried - which is true and intentional. Of > course, if there's a way around this that doesn't involve just suppressing > audits here, that would be preferable. :) the way is to make the default state for hidden controls... hidden/untabbled (or aria-hidden).
On 2015/04/27 16:13:40, Dan Beam wrote: > On 2015/04/27 16:00:47, Devlin wrote: > > On 2015/04/27 15:55:01, Dan Beam wrote: > > > what? why? this is a regression then... > > > > I'm don't think this test ever passed un-flakily with a11y audits, and, to my > > naive eyes, the error seems like it's just complaining that (*before* the > > transition), the dev controls are buried - which is true and intentional. Of > > course, if there's a way around this that doesn't involve just suppressing > > audits here, that would be preferable. :) > > the way is to make the default state for hidden controls... hidden/untabbled (or > aria-hidden). untabable* (if that's a word)
On 2015/04/27 15:55:01, Dan Beam wrote: > what? why? this is a regression then... See https://codereview.chromium.org/1090763003/#msg37 and https://codereview.chromium.org/1090763003/#msg40 . It started failing in official builds after https://codereview.chromium.org/1090763003/ . The failing test was added in that CL, so it couldn't have been passing before (if that's what the question is about)
On 2015/04/27 16:14:10, Dan Beam wrote: > On 2015/04/27 16:13:40, Dan Beam wrote: > > On 2015/04/27 16:00:47, Devlin wrote: > > > On 2015/04/27 15:55:01, Dan Beam wrote: > > > > what? why? this is a regression then... > > > > > > I'm don't think this test ever passed un-flakily with a11y audits, and, to > my > > > naive eyes, the error seems like it's just complaining that (*before* the > > > transition), the dev controls are buried - which is true and intentional. > Of > > > course, if there's a way around this that doesn't involve just suppressing > > > audits here, that would be preferable. :) > > > > the way is to make the default state for hidden controls... hidden/untabbled > (or > > aria-hidden). > > untabable* (if that's a word) The controls are appropriately tabable/nontabable whne they're visible or hidden. We have issues when transitioning. I've tried speeding up the transition (0ms !important), but the transition still happens. It should take 0ms but on some trybots this apparently takes longer. Even worse is that we don't get a webkitTransitionEnd event for a 0ms transition.
On 2015/04/27 17:31:56, Hector Carmona wrote: > On 2015/04/27 16:14:10, Dan Beam wrote: > > On 2015/04/27 16:13:40, Dan Beam wrote: > > > On 2015/04/27 16:00:47, Devlin wrote: > > > > On 2015/04/27 15:55:01, Dan Beam wrote: > > > > > what? why? this is a regression then... > > > > > > > > I'm don't think this test ever passed un-flakily with a11y audits, and, to > > my > > > > naive eyes, the error seems like it's just complaining that (*before* the > > > > transition), the dev controls are buried - which is true and intentional. > > Of > > > > course, if there's a way around this that doesn't involve just suppressing > > > > audits here, that would be preferable. :) > > > > > > the way is to make the default state for hidden controls... hidden/untabbled > > (or > > > aria-hidden). > > > > untabable* (if that's a word) > > The controls are appropriately tabable/nontabable whne they're visible > or hidden. We have issues when transitioning. > > I've tried speeding up the transition (0ms !important), but the > transition still happens. It should take 0ms but on some trybots this > apparently takes longer. Even worse is that we don't get a > webkitTransitionEnd event for a 0ms transition. so is the problem that we can't choose a reliable timeout length that's guaranteed to work?
On 2015/04/27 17:43:55, Dan Beam wrote: > On 2015/04/27 17:31:56, Hector Carmona wrote: > > On 2015/04/27 16:14:10, Dan Beam wrote: > > > On 2015/04/27 16:13:40, Dan Beam wrote: > > > > On 2015/04/27 16:00:47, Devlin wrote: > > > > > On 2015/04/27 15:55:01, Dan Beam wrote: > > > > > > what? why? this is a regression then... > > > > > > > > > > I'm don't think this test ever passed un-flakily with a11y audits, and, > to > > > my > > > > > naive eyes, the error seems like it's just complaining that (*before* > the > > > > > transition), the dev controls are buried - which is true and > intentional. > > > Of > > > > > course, if there's a way around this that doesn't involve just > suppressing > > > > > audits here, that would be preferable. :) > > > > > > > > the way is to make the default state for hidden controls... > hidden/untabbled > > > (or > > > > aria-hidden). > > > > > > untabable* (if that's a word) > > > > The controls are appropriately tabable/nontabable whne they're visible > > or hidden. We have issues when transitioning. > > > > I've tried speeding up the transition (0ms !important), but the > > transition still happens. It should take 0ms but on some trybots this > > apparently takes longer. Even worse is that we don't get a > > webkitTransitionEnd event for a 0ms transition. > > so is the problem that we can't choose a reliable timeout length that's > guaranteed to work? We can increase the timeout, but how big is big enough? Before the previous CL, there was a disabled test with a 4000ms timeout, and that was STILL flaky when it was disabled.
On 2015/04/27 17:48:15, Hector Carmona wrote: > On 2015/04/27 17:43:55, Dan Beam wrote: > > On 2015/04/27 17:31:56, Hector Carmona wrote: > > > On 2015/04/27 16:14:10, Dan Beam wrote: > > > > On 2015/04/27 16:13:40, Dan Beam wrote: > > > > > On 2015/04/27 16:00:47, Devlin wrote: > > > > > > On 2015/04/27 15:55:01, Dan Beam wrote: > > > > > > > what? why? this is a regression then... > > > > > > > > > > > > I'm don't think this test ever passed un-flakily with a11y audits, > and, > > to > > > > my > > > > > > naive eyes, the error seems like it's just complaining that (*before* > > the > > > > > > transition), the dev controls are buried - which is true and > > intentional. > > > > Of > > > > > > course, if there's a way around this that doesn't involve just > > suppressing > > > > > > audits here, that would be preferable. :) > > > > > > > > > > the way is to make the default state for hidden controls... > > hidden/untabbled > > > > (or > > > > > aria-hidden). > > > > > > > > untabable* (if that's a word) > > > > > > The controls are appropriately tabable/nontabable whne they're visible > > > or hidden. We have issues when transitioning. > > > > > > I've tried speeding up the transition (0ms !important), but the > > > transition still happens. It should take 0ms but on some trybots this > > > apparently takes longer. Even worse is that we don't get a > > > webkitTransitionEnd event for a 0ms transition. > > > > so is the problem that we can't choose a reliable timeout length that's > > guaranteed to work? > > We can increase the timeout, but how big is big enough? Before the > previous CL, there was a disabled test with a 4000ms timeout, and that > was STILL flaky when it was disabled. it seems like if any time is flaky, all times would be flaky. we should just ensureTransitionEndEvent(el, 0);
On 2015/04/27 17:54:40, Dan Beam wrote: > On 2015/04/27 17:48:15, Hector Carmona wrote: > > On 2015/04/27 17:43:55, Dan Beam wrote: > > > On 2015/04/27 17:31:56, Hector Carmona wrote: > > > > On 2015/04/27 16:14:10, Dan Beam wrote: > > > > > On 2015/04/27 16:13:40, Dan Beam wrote: > > > > > > On 2015/04/27 16:00:47, Devlin wrote: > > > > > > > On 2015/04/27 15:55:01, Dan Beam wrote: > > > > > > > > what? why? this is a regression then... > > > > > > > > > > > > > > I'm don't think this test ever passed un-flakily with a11y audits, > > and, > > > to > > > > > my > > > > > > > naive eyes, the error seems like it's just complaining that > (*before* > > > the > > > > > > > transition), the dev controls are buried - which is true and > > > intentional. > > > > > Of > > > > > > > course, if there's a way around this that doesn't involve just > > > suppressing > > > > > > > audits here, that would be preferable. :) > > > > > > > > > > > > the way is to make the default state for hidden controls... > > > hidden/untabbled > > > > > (or > > > > > > aria-hidden). > > > > > > > > > > untabable* (if that's a word) > > > > > > > > The controls are appropriately tabable/nontabable whne they're visible > > > > or hidden. We have issues when transitioning. > > > > > > > > I've tried speeding up the transition (0ms !important), but the > > > > transition still happens. It should take 0ms but on some trybots this > > > > apparently takes longer. Even worse is that we don't get a > > > > webkitTransitionEnd event for a 0ms transition. > > > > > > so is the problem that we can't choose a reliable timeout length that's > > > guaranteed to work? > > > > We can increase the timeout, but how big is big enough? Before the > > previous CL, there was a disabled test with a 4000ms timeout, and that > > was STILL flaky when it was disabled. > > it seems like if any time is flaky, all times would be flaky. we should just > ensureTransitionEndEvent(el, 0); That's the equivalent of setting a timeout because there won't be a webkitTransitionEnd for a 0ms transition and if we use a non-zero transition it will still be equivalent to a timeout on a slow machine where the timeout will happen while the transition is still in progress.
let's just focus on fixing this for a little while longer. i think we can modify the behavior for testing (e.g. disable transitions, dispatch synthetic events if required) and/or change when the a11y audit runs.
(what's the status here? the official-test-running bots remain red.)
lgtm if you want to commit while we deflake
The CQ bit was checked by hcarmona@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1104883002/1
I just noticed that this test is failing on non-official regular trybots too: http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_... So it's good to see this CL in the cq.
Message was sent while issue was closed.
Committed patchset #1 (id:1)
Message was sent while issue was closed.
Patchset 1 (id:??) landed as https://crrev.com/a695de78dc3236b3d4b6914a037287979a50b29b Cr-Commit-Position: refs/heads/master@{#327178} |