Commit 832fee08 authored by David Tseng's avatar David Tseng

Disable ChromeVoxOptionsTest.PunctuationEchoSelect on chromeos MSAN

TBR=josiahk@chromium.org

Bug: 1128926
Change-Id: Ib9c2ed0622b7b22dd94294ecd7aba8cb76b3478c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2413534Reviewed-by: default avatarDavid Tseng <dtseng@chromium.org>
Commit-Queue: David Tseng <dtseng@chromium.org>
Cr-Commit-Position: refs/heads/master@{#807576}
parent 12e346a1
......@@ -73,7 +73,16 @@ TEST_F('ChromeVoxOptionsTest', 'NumberReadingStyleSelect', function() {
});
});
TEST_F('ChromeVoxOptionsTest', 'punctuationEchoSelect', function() {
// TODO(crbug.com/1128926): Test times out flakily in MSAN builds.
TEST_F_WITH_PREAMBLE(
`
#if defined(MEMORY_SANITIZER)
#define MAYBE_PunctuationEchoSelect DISABLED_PunctuationEchoSelect
#else
#define MAYBE_PunctuationEchoSelect PunctuationEchoSelect
#endif
`,
'ChromeVoxOptionsTest', 'MAYBE_PunctuationEchoSelect', function() {
this.runOnOptionsPage((mockFeedback, evt) => {
const PUNCTUATION_ECHO_NONE = '0';
const PUNCTUATION_ECHO_SOME = '1';
......@@ -83,7 +92,8 @@ TEST_F('ChromeVoxOptionsTest', 'punctuationEchoSelect', function() {
attributes: {name: 'Punctuation echo:'}
});
assertNotNullNorUndefined(punctuationEchoSelect);
mockFeedback.call(punctuationEchoSelect.focus.bind(punctuationEchoSelect))
mockFeedback
.call(punctuationEchoSelect.focus.bind(punctuationEchoSelect))
.expectSpeech('Punctuation echo:', 'None', 'Collapsed')
.call(punctuationEchoSelect.doDefault.bind(punctuationEchoSelect))
.expectSpeech('Expanded')
......@@ -113,12 +123,13 @@ TEST_F('ChromeVoxOptionsTest', 'punctuationEchoSelect', function() {
.expectSpeech('All', ' 3 of 3 ')
.call(() => {
assertEquals(
PUNCTUATION_ECHO_ALL, localStorage[AbstractTts.PUNCTUATION_ECHO]);
PUNCTUATION_ECHO_ALL,
localStorage[AbstractTts.PUNCTUATION_ECHO]);
})
.replay();
});
});
});
TEST_F('ChromeVoxOptionsTest', 'SmartStickyMode', function() {
this.runOnOptionsPage((mockFeedback, evt) => {
......
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