blob: cb9e9ee903c57b0a7a492a697b03afdfcb25f68c [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 {
Chris Göllner5267a042023-07-20 13:33:28 +000035 "name": "SystemUIGoogleScreenshotTests",
36 "options": [
37 {
38 "exclude-annotation": "org.junit.Ignore"
39 },
40 {
41 "exclude-annotation": "androidx.test.filters.FlakyTest"
42 },
43 {
44 "exclude-annotation": "android.platform.test.annotations.Postsubmit"
45 }
46 ]
47 },
48 {
Ale Nijamkinf48b8c32023-01-08 00:30:46 +000049 // TODO(b/251476085): Consider merging with SystemUIGoogleScreenshotTests (in U+)
50 "name": "SystemUIGoogleBiometricsScreenshotTests",
51 "options": [
52 {
53 "exclude-annotation": "org.junit.Ignore"
54 },
55 {
56 "exclude-annotation": "androidx.test.filters.FlakyTest"
57 }
58 ]
59 },
Joe Bolinger3ca321182022-12-10 02:02:12 +000060 {
Fabian Kozynskid3e874b2021-04-05 15:29:59 -040061 // Permission indicators
Nate Myrend0792312023-05-30 14:22:41 -070062 "name": "CtsPermissionUiTestCases",
Fabian Kozynskid3e874b2021-04-05 15:29:59 -040063 "options": [
64 {
65 "exclude-annotation": "org.junit.Ignore"
66 },
67 {
Jay Thomas Sullivan86d48192023-07-17 23:17:38 -070068 "exclude-annotation": "android.platform.test.annotations.FlakyTest"
Nate Myren1db39b62023-01-31 15:04:22 -080069 },
70 {
Nate Myrend0792312023-05-30 14:22:41 -070071 "include-filter": "android.permissionui.cts.CameraMicIndicatorsPermissionTest"
Fabian Kozynskid3e874b2021-04-05 15:29:59 -040072 }
73 ]
74 },
75 {
76 // Permission indicators
77 "name": "CtsVoiceRecognitionTestCases",
78 "options": [
79 {
80 "exclude-annotation": "org.junit.Ignore"
81 },
82 {
83 "exclude-annotation": "androidx.test.filters.FlakyTest"
84 }
85 ]
Lucas Dupin46363d4d2019-11-25 12:46:38 -080086 }
Lucas Dupine5dc1d92020-01-27 15:02:59 -080087 ],
Jun485caff2020-02-27 14:38:28 -080088 "auto-end-to-end-postsubmit": [
89 {
Jun01053052021-10-07 17:03:30 -070090 "name": "AndroidAutomotiveHomeTests",
Jun485caff2020-02-27 14:38:28 -080091 "options" : [
92 {
Jun01053052021-10-07 17:03:30 -070093 "include-filter": "android.platform.tests.HomeTest"
94 }
95 ]
96 },
97 {
98 "name": "AndroidAutomotiveNotificationsTests",
99 "options" : [
Jun485caff2020-02-27 14:38:28 -0800100 {
Jun01053052021-10-07 17:03:30 -0700101 "include-filter": "android.platform.tests.NotificationTest"
Jun485caff2020-02-27 14:38:28 -0800102 }
103 ]
104 }
Sam Dubeyc0a8e3a2023-05-30 15:08:55 +0000105 ],
Jay Thomas Sullivan86d48192023-07-17 23:17:38 -0700106 "postsubmit": [
107 {
108 // Permission indicators
109 "name": "CtsPermissionUiTestCases",
110 "options": [
111 {
112 "include-filter": "android.permissionui.cts.CameraMicIndicatorsPermissionTest"
113 }
114 ]
115 }
116 ],
Chris Göllner5267a042023-07-20 13:33:28 +0000117 "postsubmit": [
118 {
119 "name": "SystemUIGoogleScreenshotTests",
120 "options": [
121 {
122 "exclude-annotation": "org.junit.Ignore"
123 },
124 {
125 "exclude-annotation": "android.platform.test.annotations.FlakyTest"
126 },
127 {
128 "include-annotation": "android.platform.test.annotations.Postsubmit"
129 }
130 ]
131 }
Lucas Dupin46363d4d2019-11-25 12:46:38 -0800132 ]
133}