1{ 2 // Curious where your @Scenario tests are running? 3 // 4 // @Ignore: Will not run in any configuration 5 // 6 // @FlakyTest: Tests that don't block pre/postsubmit but are staged to run known failures. 7 // Tests will run in postsubmit on sysui-e2e-staged suite. 8 // 9 // 10 // @PlatinumTest: Marking your test with this annotation will put your tests in presubmit. 11 // Please DO NOT annotate new or old tests with @PlatinumTest annotation 12 // without discussing with mdb:android-platinum 13 // 14 // @Postsubmit: Do not use this annotation for e2e tests. This won't have any affect. 15 16 // For all other e2e tests which are not platinum, they run in sysui-silver suite,that 17 // primarily runs in postsubmit with an exception to e2e test related changes. 18 // If you want to see one shot place to monitor all e2e tests, look for 19 // sysui-e2e-staged suite. 20 21 // v2/android-virtual-infra/test_mapping/presubmit-avd 22 "presubmit": [ 23 { 24 "name": "SystemUIGoogleTests", 25 "options": [ 26 { 27 "exclude-annotation": "org.junit.Ignore" 28 }, 29 { 30 "exclude-annotation": "androidx.test.filters.FlakyTest" 31 } 32 ] 33 }, 34 { 35 // Permission indicators 36 "name": "CtsPermissionUiTestCases", 37 "options": [ 38 { 39 "exclude-annotation": "org.junit.Ignore" 40 }, 41 { 42 "exclude-annotation": "androidx.test.filters.FlakyTest" 43 }, 44 { 45 "include-filter": "android.permissionui.cts.CameraMicIndicatorsPermissionTest" 46 } 47 ] 48 }, 49 { 50 // Permission indicators 51 "name": "CtsVoiceRecognitionTestCases", 52 "options": [ 53 { 54 "exclude-annotation": "org.junit.Ignore" 55 }, 56 { 57 "exclude-annotation": "androidx.test.filters.FlakyTest" 58 } 59 ] 60 } 61 ], 62 63 "auto-end-to-end-postsubmit": [ 64 { 65 "name": "AndroidAutomotiveHomeTests", 66 "options" : [ 67 { 68 "include-filter": "android.platform.tests.HomeTest" 69 }, 70 { 71 "exclude-filter": "android.platform.tests.HomeTest#testAssistantWidget" 72 } 73 ] 74 }, 75 { 76 "name": "AndroidAutomotiveNotificationsTests", 77 "options" : [ 78 { 79 "include-filter": "android.platform.tests.NotificationTest" 80 } 81 ] 82 } 83 ], 84 85 "postsubmit": [ 86 { 87 // Permission indicators 88 "name": "CtsPermissionUiTestCases", 89 "options": [ 90 { 91 "include-filter": "android.permissionui.cts.CameraMicIndicatorsPermissionTest" 92 } 93 ] 94 } 95 ], 96 97 // v2/sysui/suite/test-mapping-sysui-screenshot-test 98 "sysui-screenshot-test": [ 99 { 100 "name": "SystemUIGoogleScreenshotTests", 101 "options": [ 102 { 103 "exclude-annotation": "org.junit.Ignore" 104 }, 105 { 106 "exclude-annotation": "androidx.test.filters.FlakyTest" 107 }, 108 { 109 "exclude-annotation": "android.platform.test.annotations.FlakyTest" 110 }, 111 { 112 "exclude-annotation": "android.platform.test.annotations.Postsubmit" 113 } 114 ] 115 }, 116 { 117 "name": "SystemUIGoogleKeyguardScreenshotTests", 118 "options": [ 119 { 120 "exclude-annotation": "org.junit.Ignore" 121 }, 122 { 123 "exclude-annotation": "androidx.test.filters.FlakyTest" 124 }, 125 { 126 "exclude-annotation": "android.platform.test.annotations.FlakyTest" 127 }, 128 { 129 "exclude-annotation": "android.platform.test.annotations.Postsubmit" 130 } 131 ] 132 } 133 ], 134 135 // v2/sysui/suite/test-mapping-sysui-screenshot-test-staged 136 "sysui-screenshot-test-staged": [ 137 { 138 "name": "SystemUIGoogleScreenshotTests", 139 "options": [ 140 { 141 "exclude-annotation": "org.junit.Ignore" 142 }, 143 { 144 "include-annotation": "androidx.test.filters.FlakyTest" 145 } 146 ] 147 }, 148 { 149 "name": "SystemUIGoogleKeyguardScreenshotTests", 150 "options": [ 151 { 152 "exclude-annotation": "org.junit.Ignore" 153 }, 154 { 155 "include-annotation": "androidx.test.filters.FlakyTest" 156 } 157 ] 158 } 159 ] 160} 161