Lucas Dupin | 46363d4d | 2019-11-25 12:46:38 -0800 | [diff] [blame] | 1 | { |
Sam Dubey | 08ecf83 | 2023-09-05 12:00:49 +0000 | [diff] [blame] | 2 | // Curious where your @Scenario tests are running? |
Sam Dubey | c0a8e3a | 2023-05-30 15:08:55 +0000 | [diff] [blame] | 3 | // |
| 4 | // @Ignore: Will not run in any configuration |
| 5 | // |
Sam Dubey | 08ecf83 | 2023-09-05 12:00:49 +0000 | [diff] [blame] | 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. |
Sam Dubey | c0a8e3a | 2023-05-30 15:08:55 +0000 | [diff] [blame] | 8 | // |
Sam Dubey | c0a8e3a | 2023-05-30 15:08:55 +0000 | [diff] [blame] | 9 | // |
Sam Dubey | 08ecf83 | 2023-09-05 12:00:49 +0000 | [diff] [blame] | 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 |
Sam Dubey | c0a8e3a | 2023-05-30 15:08:55 +0000 | [diff] [blame] | 13 | // |
Sam Dubey | 08ecf83 | 2023-09-05 12:00:49 +0000 | [diff] [blame] | 14 | // @Postsubmit: Do not use this annotation for e2e tests. This won't have any affect. |
Sam Dubey | c0a8e3a | 2023-05-30 15:08:55 +0000 | [diff] [blame] | 15 | |
Sam Dubey | 08ecf83 | 2023-09-05 12:00:49 +0000 | [diff] [blame] | 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 | |
Sam Dubey | c0a8e3a | 2023-05-30 15:08:55 +0000 | [diff] [blame] | 21 | // v2/android-virtual-infra/test_mapping/presubmit-avd |
vadimt | 8c1af8c | 2022-02-01 13:43:14 -0800 | [diff] [blame] | 22 | "presubmit": [ |
Fabian Kozynski | d3e874b | 2021-04-05 15:29:59 -0400 | [diff] [blame] | 23 | { |
Fabian Kozynski | 001e28c | 2021-08-13 11:09:09 -0400 | [diff] [blame] | 24 | "name": "SystemUIGoogleTests", |
| 25 | "options": [ |
| 26 | { |
| 27 | "exclude-annotation": "org.junit.Ignore" |
| 28 | }, |
| 29 | { |
| 30 | "exclude-annotation": "androidx.test.filters.FlakyTest" |
| 31 | } |
| 32 | ] |
| 33 | }, |
Ale Nijamkin | f48b8c3 | 2023-01-08 00:30:46 +0000 | [diff] [blame] | 34 | { |
| 35 | // TODO(b/251476085): Consider merging with SystemUIGoogleScreenshotTests (in U+) |
| 36 | "name": "SystemUIGoogleBiometricsScreenshotTests", |
| 37 | "options": [ |
| 38 | { |
| 39 | "exclude-annotation": "org.junit.Ignore" |
| 40 | }, |
| 41 | { |
| 42 | "exclude-annotation": "androidx.test.filters.FlakyTest" |
| 43 | } |
Dan Shi | f47b78d09 | 2023-09-19 04:44:04 +0000 | [diff] [blame] | 44 | ], |
| 45 | // The test doesn't run on AOSP Cuttlefish |
| 46 | "keywords": ["internal"] |
Ale Nijamkin | f48b8c3 | 2023-01-08 00:30:46 +0000 | [diff] [blame] | 47 | }, |
Joe Bolinger | 3ca32118 | 2022-12-10 02:02:12 +0000 | [diff] [blame] | 48 | { |
Fabian Kozynski | d3e874b | 2021-04-05 15:29:59 -0400 | [diff] [blame] | 49 | // Permission indicators |
Nate Myren | d079231 | 2023-05-30 14:22:41 -0700 | [diff] [blame] | 50 | "name": "CtsPermissionUiTestCases", |
Fabian Kozynski | d3e874b | 2021-04-05 15:29:59 -0400 | [diff] [blame] | 51 | "options": [ |
| 52 | { |
| 53 | "exclude-annotation": "org.junit.Ignore" |
| 54 | }, |
| 55 | { |
Marvin Ramin | 7b0ddaf | 2023-09-29 07:34:39 +0000 | [diff] [blame] | 56 | "exclude-annotation": "androidx.test.filters.FlakyTest" |
Nate Myren | 1db39b6 | 2023-01-31 15:04:22 -0800 | [diff] [blame] | 57 | }, |
| 58 | { |
Nate Myren | d079231 | 2023-05-30 14:22:41 -0700 | [diff] [blame] | 59 | "include-filter": "android.permissionui.cts.CameraMicIndicatorsPermissionTest" |
Fabian Kozynski | d3e874b | 2021-04-05 15:29:59 -0400 | [diff] [blame] | 60 | } |
| 61 | ] |
| 62 | }, |
| 63 | { |
| 64 | // Permission indicators |
| 65 | "name": "CtsVoiceRecognitionTestCases", |
| 66 | "options": [ |
| 67 | { |
| 68 | "exclude-annotation": "org.junit.Ignore" |
| 69 | }, |
| 70 | { |
| 71 | "exclude-annotation": "androidx.test.filters.FlakyTest" |
| 72 | } |
| 73 | ] |
Lucas Dupin | 46363d4d | 2019-11-25 12:46:38 -0800 | [diff] [blame] | 74 | } |
Lucas Dupin | e5dc1d9 | 2020-01-27 15:02:59 -0800 | [diff] [blame] | 75 | ], |
Jun | 485caff | 2020-02-27 14:38:28 -0800 | [diff] [blame] | 76 | "auto-end-to-end-postsubmit": [ |
| 77 | { |
Jun | 0105305 | 2021-10-07 17:03:30 -0700 | [diff] [blame] | 78 | "name": "AndroidAutomotiveHomeTests", |
Jun | 485caff | 2020-02-27 14:38:28 -0800 | [diff] [blame] | 79 | "options" : [ |
| 80 | { |
Jun | 0105305 | 2021-10-07 17:03:30 -0700 | [diff] [blame] | 81 | "include-filter": "android.platform.tests.HomeTest" |
| 82 | } |
| 83 | ] |
| 84 | }, |
| 85 | { |
| 86 | "name": "AndroidAutomotiveNotificationsTests", |
| 87 | "options" : [ |
Jun | 485caff | 2020-02-27 14:38:28 -0800 | [diff] [blame] | 88 | { |
Jun | 0105305 | 2021-10-07 17:03:30 -0700 | [diff] [blame] | 89 | "include-filter": "android.platform.tests.NotificationTest" |
Jun | 485caff | 2020-02-27 14:38:28 -0800 | [diff] [blame] | 90 | } |
| 91 | ] |
| 92 | } |
Sam Dubey | c0a8e3a | 2023-05-30 15:08:55 +0000 | [diff] [blame] | 93 | ], |
Jay Thomas Sullivan | 86d4819 | 2023-07-17 23:17:38 -0700 | [diff] [blame] | 94 | "postsubmit": [ |
| 95 | { |
| 96 | // Permission indicators |
| 97 | "name": "CtsPermissionUiTestCases", |
| 98 | "options": [ |
| 99 | { |
| 100 | "include-filter": "android.permissionui.cts.CameraMicIndicatorsPermissionTest" |
| 101 | } |
| 102 | ] |
Dan Shi | f47b78d09 | 2023-09-19 04:44:04 +0000 | [diff] [blame] | 103 | }, |
| 104 | { |
Chris Göllner | 5267a04 | 2023-07-20 13:33:28 +0000 | [diff] [blame] | 105 | "name": "SystemUIGoogleScreenshotTests", |
| 106 | "options": [ |
| 107 | { |
| 108 | "exclude-annotation": "org.junit.Ignore" |
| 109 | }, |
| 110 | { |
| 111 | "exclude-annotation": "android.platform.test.annotations.FlakyTest" |
| 112 | }, |
| 113 | { |
| 114 | "include-annotation": "android.platform.test.annotations.Postsubmit" |
| 115 | } |
| 116 | ] |
| 117 | } |
Jeff Chen | 5a86611 | 2023-09-25 17:09:48 -0700 | [diff] [blame] | 118 | ], |
| 119 | // v2/sysui/suite/test-mapping-sysui-screenshot-test |
| 120 | "sysui-screenshot-test": [ |
| 121 | { |
| 122 | "name": "SystemUIGoogleScreenshotTests", |
| 123 | "options": [ |
| 124 | { |
| 125 | "exclude-annotation": "org.junit.Ignore" |
| 126 | }, |
| 127 | { |
| 128 | "exclude-annotation": "androidx.test.filters.FlakyTest" |
| 129 | }, |
| 130 | { |
Jeff Chen | c1dbc79 | 2023-10-12 16:51:26 -0700 | [diff] [blame] | 131 | "exclude-annotation": "android.platform.test.annotations.FlakyTest" |
| 132 | }, |
| 133 | { |
Jeff Chen | 5a86611 | 2023-09-25 17:09:48 -0700 | [diff] [blame] | 134 | "exclude-annotation": "android.platform.test.annotations.Postsubmit" |
| 135 | } |
| 136 | ] |
Jeff Chen | d83494ad | 2023-10-30 14:15:48 -0700 | [diff] [blame^] | 137 | }, |
| 138 | { |
| 139 | "name": "SystemUIGoogleKeyguardScreenshotTests", |
| 140 | "options": [ |
| 141 | { |
| 142 | "exclude-annotation": "org.junit.Ignore" |
| 143 | }, |
| 144 | { |
| 145 | "exclude-annotation": "androidx.test.filters.FlakyTest" |
| 146 | }, |
| 147 | { |
| 148 | "exclude-annotation": "android.platform.test.annotations.FlakyTest" |
| 149 | }, |
| 150 | { |
| 151 | "exclude-annotation": "android.platform.test.annotations.Postsubmit" |
| 152 | } |
| 153 | ] |
Jeff Chen | 5a86611 | 2023-09-25 17:09:48 -0700 | [diff] [blame] | 154 | } |
Jeff Chen | c1dbc79 | 2023-10-12 16:51:26 -0700 | [diff] [blame] | 155 | ], |
| 156 | // v2/sysui/suite/test-mapping-sysui-screenshot-test-staged |
| 157 | "sysui-screenshot-test-staged": [ |
| 158 | { |
| 159 | "name": "SystemUIGoogleScreenshotTests", |
| 160 | "options": [ |
| 161 | { |
| 162 | "exclude-annotation": "org.junit.Ignore" |
| 163 | }, |
| 164 | { |
| 165 | "include-annotation": "androidx.test.filters.FlakyTest" |
| 166 | }, |
| 167 | { |
| 168 | "include-annotation": "android.platform.test.annotations.FlakyTest" |
| 169 | }, |
| 170 | { |
| 171 | "include-annotation": "android.platform.test.annotations.Postsubmit" |
| 172 | } |
| 173 | ] |
Jeff Chen | d83494ad | 2023-10-30 14:15:48 -0700 | [diff] [blame^] | 174 | }, |
| 175 | { |
| 176 | "name": "SystemUIGoogleKeyguardScreenshotTests", |
| 177 | "options": [ |
| 178 | { |
| 179 | "exclude-annotation": "org.junit.Ignore" |
| 180 | }, |
| 181 | { |
| 182 | "include-annotation": "androidx.test.filters.FlakyTest" |
| 183 | }, |
| 184 | { |
| 185 | "include-annotation": "android.platform.test.annotations.FlakyTest" |
| 186 | }, |
| 187 | { |
| 188 | "include-annotation": "android.platform.test.annotations.Postsubmit" |
| 189 | } |
| 190 | ] |
Jeff Chen | c1dbc79 | 2023-10-12 16:51:26 -0700 | [diff] [blame] | 191 | } |
Lucas Dupin | 46363d4d | 2019-11-25 12:46:38 -0800 | [diff] [blame] | 192 | ] |
| 193 | } |