DescriptionFix flakiness in AccessibilityFeaturesApiTest.Set tests
The problem with tests was that spoken feedback was getting enabled just
before loading the test extension. This would cause two extensions being
loaded: ChromeVox extension (which gets loaded when spoken feedback is
enabled) and the test extension. This is situation extension API tests
don't handle well. They wait for the test extension to get loaded by
waiting for any EXTENSION_LOADED notification. If the ChromeVox extension
got loaded before the test extension, the extension api test would continue
running too soon (before the test extension was loaded), and fail when the
test extension could not be found in extension set by its path.
To avoid that, keep spoken feedback disabled at the start of the test
(which should ensure that the ChromeVox extension doesn't get loaded while
the test extension is loading).
BUG=384266
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=278269
Patch Set 1 #
Total comments: 2
Messages
Total messages: 7 (0 generated)
|