Fixed UI test problems introduced after the accessibility identifier … (#586)

* Fixed UI test problems introduced after the accessibility identifier changes
* Disable parallel UITests, they don't seem to work properly
* Fix UITests `elementFallbackLanguage`
This commit is contained in:
Stefan Ceriu
2023-02-16 12:42:50 +02:00
committed by GitHub
parent e91e0513b6
commit f44075e67e
6 changed files with 20 additions and 8 deletions
@@ -34,13 +34,13 @@ class UITestsAppCoordinator: AppCoordinatorProtocol {
}
func start() {
Bundle.elementFallbackLanguage = "en"
guard let screenID = Tests.screenID else { fatalError("Unable to launch with unknown screen.") }
let mockScreen = MockScreen(id: screenID)
navigationRootCoordinator.setRootCoordinator(mockScreen.coordinator)
self.mockScreen = mockScreen
Bundle.elementFallbackLanguage = "en"
}
func toPresentable() -> AnyView {