Skip to content

Fix testUserFlow integration tests #5113

Fix testUserFlow integration tests

Fix testUserFlow integration tests #5113

Triggered via pull request April 3, 2026 15:49
Status Success
Total duration 24m 28s
Artifacts

unit_tests_enterprise.yml

on: pull_request
Tests (Enterprise)
24m 25s
Tests (Enterprise)
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 13 warnings
Tests (Enterprise): LoggingTests.swift#L336
Recorded an issue (Expectation failed: (Tracing.logFiles → [file:///Users/runner/Library/Developer/CoreSimulator/Devices/18F03C9A-97D7-4B3B-A3D2-50D57635DB55/data/Containers/Shared/AppGroup/9B0F5479-1598-4BFA-948C-277B268AEAEF/Library/Logs/io.element.enterprise/logLevels()/console.2026-04-03-16.log]).isEmpty → false)
Tests (Enterprise)
fileLogging() (0.030 seconds) 1 issue(s)
Tests (Enterprise): LoggingTests.swift#L336
Recorded an issue (Expectation failed: (Tracing.logFiles → [file:///Users/runner/Library/Developer/CoreSimulator/Devices/18F03C9A-97D7-4B3B-A3D2-50D57635DB55/data/Containers/Shared/AppGroup/9B0F5479-1598-4BFA-948C-277B268AEAEF/Library/Logs/io.element.enterprise/fileLogging()/console.2026-04-03-16.log]).isEmpty → false)
Tests (Enterprise)
Suite SecurityAndPrivacyScreenViewModelTests failed after 2.360 seconds with 1 issue(s)
Tests (Enterprise)
multipleSpacesMembersSelection() (0.203 seconds) 1 issue(s)
Tests (Enterprise): SecurityAndPrivacyScreenViewModelTests.swift#L256
Recorded an issue (Expectation failed: !((context.viewState → SecurityAndPrivacyScreenViewState(serverName: "matrix.org", currentSettings: ElementX.SecurityAndPrivacySettings(accessType: ElementX.SecurityAndPrivacyRoomAccessType.spaceMembers(spaceIDs: ["unknownSpaceID"]), isEncryptionEnabled: false, historyVisibility: ElementX.SecurityAndPrivacyHistoryVisibility.shared, isVisibileInRoomDirectory: nil), bindings: ElementX.SecurityAndPrivacyScreenViewStateBindings(desiredSettings: ElementX.SecurityAndPrivacySettings(accessType: ElementX.SecurityAndPrivacyRoomAccessType.spaceMembers(spaceIDs: ["space1", "unknownSpaceID"]), isEncryptionEnabled: false, historyVisibility: ElementX.SecurityAndPrivacyHistoryVisibility.shared, isVisibileInRoomDirectory: nil), alertInfo: nil), strings: ElementX.SecurityAndPrivacyScreenStrings(accessSectionFooterString: Choose which spaces’ members can join this room without an invitation. {)
Tests (Enterprise)
Suite ChatsTabFlowCoordinatorTests failed after 12.301 seconds with 2 issue(s)
Tests (Enterprise)
userProfileClearsStack() (5.241 seconds) 2 issue(s)
Tests (Enterprise): ChatsTabFlowCoordinatorTests.swift#L199
Recorded an issue (Expectation failed: (detailNavigationStack?.rootCoordinator → ElementX.RoomDetailsScreenCoordinator) == nil)
Tests (Enterprise): ChatsTabFlowCoordinatorTests.swift#L194
Recorded an issue (Expectation failed: (detailNavigationStack?.rootCoordinator → nil) is (RoomDetailsScreenCoordinator → Optional<CoordinatorProtocol>))
Tests (Enterprise): Enterprise/Sources/EnterpriseMDMSettings.swift#L35
'ManagedSettings' was deprecated in iOS 18.4: Use `ManagedAppConfigurationProvider` from the ManagedApp framework instead of UserDefaults.
Tests (Enterprise): ElementX/Sources/Services/ElementCall/ElementCallWidgetDriver.swift#L55
stored property 'widgetDriver' of 'Sendable'-conforming class 'ElementCallWidgetDriver' is mutable; this is an error in the Swift 6 language mode
Tests (Enterprise): Enterprise/Sources/Hooks/EnterpriseCertificateValidatorHook.swift#L20
Proof of concept, needs to be reviewed before use in production.
Tests (Enterprise): Enterprise/Sources/Hooks/EnterpriseCertificateValidatorHook.swift#L20
Proof of concept, needs to be reviewed before use in production.
Tests (Enterprise)
Sourcery not installed, run swift run tools setup-project
Tests (Enterprise)
Sourcery not installed, run swift run tools setup-project
Tests (Enterprise)
Sourcery not installed, run swift run tools setup-project
Tests (Enterprise)
SwiftGen not installed, download from https://github.com/SwiftGen/SwiftGen
Tests (Enterprise): ElementX/Sources/Other/SDKListener.swift#L17
stored property 'onUpdateClosure' of 'Sendable'-conforming generic class 'SDKListener' has non-Sendable type '(T) -> Void'; this is an error in the Swift 6 language mode
Tests (Enterprise): ElementX/Sources/Other/SDKListener.swift#L17
stored property 'onUpdateClosure' of 'Sendable'-conforming generic class 'SDKListener' has non-Sendable type '(T) -> Void'; this is an error in the Swift 6 language mode
Tests (Enterprise)
`$HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK` is set: not checking for outdated dependents or dependents with broken linkage!
Tests (Enterprise)
git-lfs 3.7.1 is already installed and up-to-date. To reinstall 3.7.1, run: brew reinstall git-lfs
Tests (Enterprise)
swiftformat 0.60.1 is already installed and up-to-date. To reinstall 0.60.1, run: brew reinstall swiftformat