possible fix for flaky UI tests

- increased the time for the oidc selection alert check
- for the poll screen creation, in the test only we reduced the number of options to 10
This commit is contained in:
Mauro Romito
2025-04-28 15:11:06 +02:00
committed by Mauro
parent cbb509254b
commit 8091d9c2a6
6 changed files with 10 additions and 10 deletions
@@ -17,8 +17,8 @@ class PollFormScreenViewModel: PollFormScreenViewModelType, PollFormScreenViewMo
actionsSubject.eraseToAnyPublisher()
}
init(mode: PollFormMode, maxNumberOfOptions: Int) {
super.init(initialViewState: .init(mode: mode, maxNumberOfOptions: maxNumberOfOptions))
init(mode: PollFormMode, maxNumberOfOptions: Int? = nil) {
super.init(initialViewState: .init(mode: mode, maxNumberOfOptions: maxNumberOfOptions ?? 20))
}
// MARK: - Public