mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 12:07:55 +00:00
Fix the UI tests. (#4085)
* Compile errors 😬
* Update server selection snapshots.
The default footer string has changed.
* Remove the TemplateScreen UI tests.
We use preview tests for snapshots now, UI tests are for flow coordinators.
* Add the same looping on the OIDC UI test (but disable the test in the end).
* Run UI tests separately for iPhone and iPad.
GitHub runners don't seem to have enough memory to handle 2 simulators at once.
This commit is contained in:
@@ -132,11 +132,6 @@ class MockScreen: Identifiable {
|
||||
flowCoordinator.start()
|
||||
retainedState.append(flowCoordinator)
|
||||
return nil
|
||||
case .templateScreen:
|
||||
let navigationStackCoordinator = NavigationStackCoordinator()
|
||||
let coordinator = TemplateScreenCoordinator(parameters: .init())
|
||||
navigationStackCoordinator.setRootCoordinator(coordinator)
|
||||
return navigationStackCoordinator
|
||||
case .appLockFlow, .appLockFlowDisabled:
|
||||
// The tested coordinator is setup below in the alternate window.
|
||||
// Here we just return a blank screen to snapshot as the unlocked app.
|
||||
|
||||
@@ -42,7 +42,6 @@ enum UITestsScreenIdentifier: String {
|
||||
case sessionVerification
|
||||
case startChat
|
||||
case startChatWithSearchResults
|
||||
case templateScreen
|
||||
case userSessionScreen
|
||||
case userSessionScreenReply
|
||||
case autoUpdatingTimeline
|
||||
|
||||
Reference in New Issue
Block a user