I'm trying to run UITests just once. However, Xcode by default seems to run every permutation of light/dark color theme and device orientation and localizations. This means all UITests run 8 times (with 2 languages). With tests that can take a couple minutes, the time adds up.
Nothing in my UITest depends on the color theme, so I'd like to turn those permutations off always. The orientation and localization variations I might want sometimes but would generally also like to turn off.
Can I disable any/all of these permutations?
Minimal reproducible example:
You need to set this to false in your test class or remove the override altogether.
override class var runsForEachTargetApplicationUIConfiguration: Bool {
false
}