Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(234)

Side by Side Diff: content/browser/accessibility/dump_accessibility_tree_browsertest.cc

Issue 2289293004: Fix flakiness in DumpAccessibilityTree tests with iframes (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include <set> 5 #include <set>
6 #include <string> 6 #include <string>
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/path_service.h" 10 #include "base/path_service.h"
(...skipping 868 matching lines...) Expand 10 before | Expand all | Expand 10 after
879 879
880 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityIframe) { 880 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityIframe) {
881 RunHtmlTest(FILE_PATH_LITERAL("iframe.html")); 881 RunHtmlTest(FILE_PATH_LITERAL("iframe.html"));
882 } 882 }
883 883
884 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, 884 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
885 AccessibilityIframeCrossProcess) { 885 AccessibilityIframeCrossProcess) {
886 RunHtmlTest(FILE_PATH_LITERAL("iframe-cross-process.html")); 886 RunHtmlTest(FILE_PATH_LITERAL("iframe-cross-process.html"));
887 } 887 }
888 888
889 // Flaky on all platforms: https://crbug.com/622387
890 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, 889 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
891 DISABLED_AccessibilityIframeCoordinates) { 890 AccessibilityIframeCoordinates) {
892 RunHtmlTest(FILE_PATH_LITERAL("iframe-coordinates.html")); 891 RunHtmlTest(FILE_PATH_LITERAL("iframe-coordinates.html"));
893 } 892 }
894 893
895 // Flaky on all platforms: https://crbug.com/622387
896 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, 894 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
897 DISABLED_AccessibilityIframeCoordinatesCrossProcess) { 895 AccessibilityIframeCoordinatesCrossProcess) {
898 RunHtmlTest(FILE_PATH_LITERAL("iframe-coordinates-cross-process.html")); 896 RunHtmlTest(FILE_PATH_LITERAL("iframe-coordinates-cross-process.html"));
899 } 897 }
900 898
901 // Flaky on Win7. http://crbug.com/610744 899 // Flaky on Win7. http://crbug.com/610744
902 #ifdef OS_WIN 900 #ifdef OS_WIN
903 #define MAYBE_AccessibilityIframePresentational DISABLED_AccessibilityIframePres entational 901 #define MAYBE_AccessibilityIframePresentational DISABLED_AccessibilityIframePres entational
904 #else 902 #else
905 #define MAYBE_AccessibilityIframePresentational AccessibilityIframePresentationa l 903 #define MAYBE_AccessibilityIframePresentational AccessibilityIframePresentationa l
906 #endif 904 #endif
907 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, 905 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
908 MAYBE_AccessibilityIframePresentational) { 906 MAYBE_AccessibilityIframePresentational) {
909 RunHtmlTest(FILE_PATH_LITERAL("iframe-presentational.html")); 907 RunHtmlTest(FILE_PATH_LITERAL("iframe-presentational.html"));
910 } 908 }
911 909
912 // Flaky on all platforms: https://crbug.com/622387
913 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, 910 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
914 DISABLED_AccessibilityIframeTransform) { 911 AccessibilityIframeTransform) {
915 RunHtmlTest(FILE_PATH_LITERAL("iframe-transform.html")); 912 RunHtmlTest(FILE_PATH_LITERAL("iframe-transform.html"));
916 } 913 }
917 914
918 // Flaky on all platforms: https://crbug.com/622387
919 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, 915 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
920 DISABLED_AccessibilityIframeTransformCrossProcess) { 916 AccessibilityIframeTransformCrossProcess) {
921 RunHtmlTest(FILE_PATH_LITERAL("iframe-transform-cross-process.html")); 917 RunHtmlTest(FILE_PATH_LITERAL("iframe-transform-cross-process.html"));
922 } 918 }
923 919
924 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, 920 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
925 AccessibilityIframeTransformNested) { 921 AccessibilityIframeTransformNested) {
926 RunHtmlTest(FILE_PATH_LITERAL("iframe-transform-nested.html")); 922 RunHtmlTest(FILE_PATH_LITERAL("iframe-transform-nested.html"));
927 } 923 }
928 924
929 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, 925 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
930 AccessibilityIframeTransformNestedCrossProcess) { 926 AccessibilityIframeTransformNestedCrossProcess) {
(...skipping 435 matching lines...) Expand 10 before | Expand all | Expand 10 after
1366 // crbug.com/281952 1362 // crbug.com/281952
1367 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, DISABLED_AccessibilityVideo) { 1363 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, DISABLED_AccessibilityVideo) {
1368 RunHtmlTest(FILE_PATH_LITERAL("video.html")); 1364 RunHtmlTest(FILE_PATH_LITERAL("video.html"));
1369 } 1365 }
1370 1366
1371 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityWbr) { 1367 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityWbr) {
1372 RunHtmlTest(FILE_PATH_LITERAL("wbr.html")); 1368 RunHtmlTest(FILE_PATH_LITERAL("wbr.html"));
1373 } 1369 }
1374 1370
1375 } // namespace content 1371 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698