blob: 28539ddfadc61aef5d24c27beb223780901fab62 [file] [log] [blame]
Lucas Dupin46363d4d2019-11-25 12:46:38 -08001{
Sam Dubey08ecf832023-09-05 12:00:49 +00002 // Curious where your @Scenario tests are running?
Sam Dubeyc0a8e3a2023-05-30 15:08:55 +00003 //
4 // @Ignore: Will not run in any configuration
5 //
Sam Dubey08ecf832023-09-05 12:00:49 +00006 // @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 Dubeyc0a8e3a2023-05-30 15:08:55 +00008 //
Sam Dubeyc0a8e3a2023-05-30 15:08:55 +00009 //
Sam Dubey08ecf832023-09-05 12:00:49 +000010 // @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 Dubeyc0a8e3a2023-05-30 15:08:55 +000013 //
Sam Dubey08ecf832023-09-05 12:00:49 +000014 // @Postsubmit: Do not use this annotation for e2e tests. This won't have any affect.
Sam Dubeyc0a8e3a2023-05-30 15:08:55 +000015
Sam Dubey08ecf832023-09-05 12:00:49 +000016 // 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 Dubeyc0a8e3a2023-05-30 15:08:55 +000021 // v2/android-virtual-infra/test_mapping/presubmit-avd
vadimt8c1af8c2022-02-01 13:43:14 -080022 "presubmit": [
Fabian Kozynskid3e874b2021-04-05 15:29:59 -040023 {
Fabian Kozynski001e28c2021-08-13 11:09:09 -040024 "name": "SystemUIGoogleTests",
25 "options": [
26 {
27 "exclude-annotation": "org.junit.Ignore"
28 },
29 {
30 "exclude-annotation": "androidx.test.filters.FlakyTest"
31 }
32 ]
33 },
Ale Nijamkinf48b8c32023-01-08 00:30:46 +000034 {
Fabian Kozynskid3e874b2021-04-05 15:29:59 -040035 // Permission indicators
Nate Myrend0792312023-05-30 14:22:41 -070036 "name": "CtsPermissionUiTestCases",
Fabian Kozynskid3e874b2021-04-05 15:29:59 -040037 "options": [
38 {
39 "exclude-annotation": "org.junit.Ignore"
40 },
41 {
Marvin Ramin7b0ddaf2023-09-29 07:34:39 +000042 "exclude-annotation": "androidx.test.filters.FlakyTest"
Nate Myren1db39b62023-01-31 15:04:22 -080043 },
44 {
Nate Myrend0792312023-05-30 14:22:41 -070045 "include-filter": "android.permissionui.cts.CameraMicIndicatorsPermissionTest"
Fabian Kozynskid3e874b2021-04-05 15:29:59 -040046 }
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 ]
Lucas Dupin46363d4d2019-11-25 12:46:38 -080060 }
Lucas Dupine5dc1d92020-01-27 15:02:59 -080061 ],
Ram Periecd93ee2023-11-06 16:38:23 +000062
Jun485caff2020-02-27 14:38:28 -080063 "auto-end-to-end-postsubmit": [
64 {
Jun01053052021-10-07 17:03:30 -070065 "name": "AndroidAutomotiveHomeTests",
Jun485caff2020-02-27 14:38:28 -080066 "options" : [
67 {
Jun01053052021-10-07 17:03:30 -070068 "include-filter": "android.platform.tests.HomeTest"
69 }
70 ]
71 },
72 {
73 "name": "AndroidAutomotiveNotificationsTests",
74 "options" : [
Jun485caff2020-02-27 14:38:28 -080075 {
Jun01053052021-10-07 17:03:30 -070076 "include-filter": "android.platform.tests.NotificationTest"
Jun485caff2020-02-27 14:38:28 -080077 }
78 ]
79 }
Sam Dubeyc0a8e3a2023-05-30 15:08:55 +000080 ],
Ram Periecd93ee2023-11-06 16:38:23 +000081
Jay Thomas Sullivan86d48192023-07-17 23:17:38 -070082 "postsubmit": [
83 {
84 // Permission indicators
85 "name": "CtsPermissionUiTestCases",
86 "options": [
87 {
88 "include-filter": "android.permissionui.cts.CameraMicIndicatorsPermissionTest"
89 }
90 ]
Dan Shif47b78d092023-09-19 04:44:04 +000091 },
92 {
Chris Göllner5267a042023-07-20 13:33:28 +000093 "name": "SystemUIGoogleScreenshotTests",
94 "options": [
95 {
96 "exclude-annotation": "org.junit.Ignore"
97 },
98 {
99 "exclude-annotation": "android.platform.test.annotations.FlakyTest"
100 },
101 {
102 "include-annotation": "android.platform.test.annotations.Postsubmit"
103 }
104 ]
105 }
Jeff Chen5a866112023-09-25 17:09:48 -0700106 ],
Ram Periecd93ee2023-11-06 16:38:23 +0000107
Jeff Chen5a866112023-09-25 17:09:48 -0700108 // v2/sysui/suite/test-mapping-sysui-screenshot-test
109 "sysui-screenshot-test": [
110 {
111 "name": "SystemUIGoogleScreenshotTests",
112 "options": [
113 {
114 "exclude-annotation": "org.junit.Ignore"
115 },
116 {
117 "exclude-annotation": "androidx.test.filters.FlakyTest"
118 },
119 {
Jeff Chenc1dbc792023-10-12 16:51:26 -0700120 "exclude-annotation": "android.platform.test.annotations.FlakyTest"
121 },
122 {
Jeff Chen5a866112023-09-25 17:09:48 -0700123 "exclude-annotation": "android.platform.test.annotations.Postsubmit"
124 }
125 ]
Jeff Chend83494ad2023-10-30 14:15:48 -0700126 },
127 {
128 "name": "SystemUIGoogleKeyguardScreenshotTests",
129 "options": [
130 {
131 "exclude-annotation": "org.junit.Ignore"
132 },
133 {
134 "exclude-annotation": "androidx.test.filters.FlakyTest"
135 },
136 {
137 "exclude-annotation": "android.platform.test.annotations.FlakyTest"
138 },
139 {
140 "exclude-annotation": "android.platform.test.annotations.Postsubmit"
141 }
142 ]
Ram Periecd93ee2023-11-06 16:38:23 +0000143 },
144 {
145 // TODO(b/251476085): Consider merging with SystemUIGoogleScreenshotTests (in U+)
146 "name": "SystemUIGoogleBiometricsScreenshotTests",
147 "options": [
148 {
149 "exclude-annotation": "org.junit.Ignore"
150 },
151 {
152 "exclude-annotation": "androidx.test.filters.FlakyTest"
153 },
154 {
155 "exclude-annotation": "android.platform.test.annotations.FlakyTest"
156 },
157 {
158 "exclude-annotation": "android.platform.test.annotations.Postsubmit"
159 }
160 ]
Jeff Chen5a866112023-09-25 17:09:48 -0700161 }
Jeff Chenc1dbc792023-10-12 16:51:26 -0700162 ],
Ram Periecd93ee2023-11-06 16:38:23 +0000163
Jeff Chenc1dbc792023-10-12 16:51:26 -0700164 // v2/sysui/suite/test-mapping-sysui-screenshot-test-staged
165 "sysui-screenshot-test-staged": [
166 {
167 "name": "SystemUIGoogleScreenshotTests",
168 "options": [
169 {
170 "exclude-annotation": "org.junit.Ignore"
171 },
172 {
173 "include-annotation": "androidx.test.filters.FlakyTest"
174 },
175 {
176 "include-annotation": "android.platform.test.annotations.FlakyTest"
177 },
178 {
179 "include-annotation": "android.platform.test.annotations.Postsubmit"
180 }
181 ]
Jeff Chend83494ad2023-10-30 14:15:48 -0700182 },
183 {
184 "name": "SystemUIGoogleKeyguardScreenshotTests",
185 "options": [
186 {
187 "exclude-annotation": "org.junit.Ignore"
188 },
189 {
190 "include-annotation": "androidx.test.filters.FlakyTest"
191 },
192 {
193 "include-annotation": "android.platform.test.annotations.FlakyTest"
194 },
195 {
196 "include-annotation": "android.platform.test.annotations.Postsubmit"
197 }
198 ]
Ram Periecd93ee2023-11-06 16:38:23 +0000199 },
200 { "name": "SystemUIGoogleBiometricsScreenshotTests",
201 "options": [
202 {
203 "exclude-annotation": "org.junit.Ignore"
204 },
205 {
206 "include-annotation": "androidx.test.filters.FlakyTest"
207 },
208 {
209 "include-annotation": "android.platform.test.annotations.FlakyTest"
210 },
211 {
212 "include-annotation": "android.platform.test.annotations.Postsubmit"
213 }
214 ]
Jeff Chenc1dbc792023-10-12 16:51:26 -0700215 }
Lucas Dupin46363d4d2019-11-25 12:46:38 -0800216 ]
217}