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 | { |
Chris Göllner | 5267a04 | 2023-07-20 13:33:28 +0000 | [diff] [blame] | 35 | "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 | } |
Dan Shi | f47b78d09 | 2023-09-19 04:44:04 +0000 | [diff] [blame^] | 46 | ], |
| 47 | // The test doesn't run on AOSP Cuttlefish |
| 48 | "keywords": ["internal"] |
Chris Göllner | 5267a04 | 2023-07-20 13:33:28 +0000 | [diff] [blame] | 49 | }, |
| 50 | { |
Ale Nijamkin | f48b8c3 | 2023-01-08 00:30:46 +0000 | [diff] [blame] | 51 | // TODO(b/251476085): Consider merging with SystemUIGoogleScreenshotTests (in U+) |
| 52 | "name": "SystemUIGoogleBiometricsScreenshotTests", |
| 53 | "options": [ |
| 54 | { |
| 55 | "exclude-annotation": "org.junit.Ignore" |
| 56 | }, |
| 57 | { |
| 58 | "exclude-annotation": "androidx.test.filters.FlakyTest" |
| 59 | } |
Dan Shi | f47b78d09 | 2023-09-19 04:44:04 +0000 | [diff] [blame^] | 60 | ], |
| 61 | // The test doesn't run on AOSP Cuttlefish |
| 62 | "keywords": ["internal"] |
Ale Nijamkin | f48b8c3 | 2023-01-08 00:30:46 +0000 | [diff] [blame] | 63 | }, |
Joe Bolinger | 3ca32118 | 2022-12-10 02:02:12 +0000 | [diff] [blame] | 64 | { |
Fabian Kozynski | d3e874b | 2021-04-05 15:29:59 -0400 | [diff] [blame] | 65 | // Permission indicators |
Nate Myren | d079231 | 2023-05-30 14:22:41 -0700 | [diff] [blame] | 66 | "name": "CtsPermissionUiTestCases", |
Fabian Kozynski | d3e874b | 2021-04-05 15:29:59 -0400 | [diff] [blame] | 67 | "options": [ |
| 68 | { |
| 69 | "exclude-annotation": "org.junit.Ignore" |
| 70 | }, |
| 71 | { |
Jay Thomas Sullivan | 86d4819 | 2023-07-17 23:17:38 -0700 | [diff] [blame] | 72 | "exclude-annotation": "android.platform.test.annotations.FlakyTest" |
Nate Myren | 1db39b6 | 2023-01-31 15:04:22 -0800 | [diff] [blame] | 73 | }, |
| 74 | { |
Nate Myren | d079231 | 2023-05-30 14:22:41 -0700 | [diff] [blame] | 75 | "include-filter": "android.permissionui.cts.CameraMicIndicatorsPermissionTest" |
Fabian Kozynski | d3e874b | 2021-04-05 15:29:59 -0400 | [diff] [blame] | 76 | } |
| 77 | ] |
| 78 | }, |
| 79 | { |
| 80 | // Permission indicators |
| 81 | "name": "CtsVoiceRecognitionTestCases", |
| 82 | "options": [ |
| 83 | { |
| 84 | "exclude-annotation": "org.junit.Ignore" |
| 85 | }, |
| 86 | { |
| 87 | "exclude-annotation": "androidx.test.filters.FlakyTest" |
| 88 | } |
| 89 | ] |
Lucas Dupin | 46363d4d | 2019-11-25 12:46:38 -0800 | [diff] [blame] | 90 | } |
Lucas Dupin | e5dc1d9 | 2020-01-27 15:02:59 -0800 | [diff] [blame] | 91 | ], |
Jun | 485caff | 2020-02-27 14:38:28 -0800 | [diff] [blame] | 92 | "auto-end-to-end-postsubmit": [ |
| 93 | { |
Jun | 0105305 | 2021-10-07 17:03:30 -0700 | [diff] [blame] | 94 | "name": "AndroidAutomotiveHomeTests", |
Jun | 485caff | 2020-02-27 14:38:28 -0800 | [diff] [blame] | 95 | "options" : [ |
| 96 | { |
Jun | 0105305 | 2021-10-07 17:03:30 -0700 | [diff] [blame] | 97 | "include-filter": "android.platform.tests.HomeTest" |
| 98 | } |
| 99 | ] |
| 100 | }, |
| 101 | { |
| 102 | "name": "AndroidAutomotiveNotificationsTests", |
| 103 | "options" : [ |
Jun | 485caff | 2020-02-27 14:38:28 -0800 | [diff] [blame] | 104 | { |
Jun | 0105305 | 2021-10-07 17:03:30 -0700 | [diff] [blame] | 105 | "include-filter": "android.platform.tests.NotificationTest" |
Jun | 485caff | 2020-02-27 14:38:28 -0800 | [diff] [blame] | 106 | } |
| 107 | ] |
| 108 | } |
Sam Dubey | c0a8e3a | 2023-05-30 15:08:55 +0000 | [diff] [blame] | 109 | ], |
Jay Thomas Sullivan | 86d4819 | 2023-07-17 23:17:38 -0700 | [diff] [blame] | 110 | "postsubmit": [ |
| 111 | { |
| 112 | // Permission indicators |
| 113 | "name": "CtsPermissionUiTestCases", |
| 114 | "options": [ |
| 115 | { |
| 116 | "include-filter": "android.permissionui.cts.CameraMicIndicatorsPermissionTest" |
| 117 | } |
| 118 | ] |
Dan Shi | f47b78d09 | 2023-09-19 04:44:04 +0000 | [diff] [blame^] | 119 | }, |
| 120 | { |
Chris Göllner | 5267a04 | 2023-07-20 13:33:28 +0000 | [diff] [blame] | 121 | "name": "SystemUIGoogleScreenshotTests", |
| 122 | "options": [ |
| 123 | { |
| 124 | "exclude-annotation": "org.junit.Ignore" |
| 125 | }, |
| 126 | { |
| 127 | "exclude-annotation": "android.platform.test.annotations.FlakyTest" |
| 128 | }, |
| 129 | { |
| 130 | "include-annotation": "android.platform.test.annotations.Postsubmit" |
| 131 | } |
| 132 | ] |
| 133 | } |
Lucas Dupin | 46363d4d | 2019-11-25 12:46:38 -0800 | [diff] [blame] | 134 | ] |
| 135 | } |