From e6efdf0e8296eed677d5afc474a4ecf8a06208ea Mon Sep 17 00:00:00 2001 From: Doug <6060466+pixlwave@users.noreply.github.com> Date: Wed, 21 Jan 2026 15:24:54 +0000 Subject: [PATCH] Include the Members and Add Rooms screens in the spaces UI tests. (#4981) * Expand the space flow UI tests to include the add rooms screen. Also fixes some failures in these tests due to the room/space title now being a button. * Expand the space flow UI tests to include the space members screen. * Reset AppSettings before running preview tests. --- .../Sources/Mocks/JoinedRoomProxyMock.swift | 11 + .../Other/AccessibilityIdentifiers.swift | 17 ++ .../View/RoomMembersListScreen.swift | 1 + .../Screens/RoomScreen/View/RoomScreen.swift | 4 - .../View/SpaceAddRoomsScreen.swift | 7 +- .../Spaces/SpaceScreen/View/SpaceScreen.swift | 5 + .../UITests/UITestsAppCoordinator.swift | 3 +- .../Sources/GeneratedPreviewTests.swift | 209 ++++++++++++++++++ Tools/Sourcery/PreviewTests.stencil | 1 + UITests/Sources/UserSessionScreenTests.swift | 32 ++- ...een.testSpaceExploration-iPad-en-GB-10.png | 3 + ...een.testSpaceExploration-iPad-en-GB-11.png | 3 + ...n.testSpaceExploration-iPhone-en-GB-10.png | 3 + ...n.testSpaceExploration-iPhone-en-GB-11.png | 3 + 14 files changed, 286 insertions(+), 16 deletions(-) create mode 100644 UITests/Sources/__Snapshots__/Application/userSessionScreen.testSpaceExploration-iPad-en-GB-10.png create mode 100644 UITests/Sources/__Snapshots__/Application/userSessionScreen.testSpaceExploration-iPad-en-GB-11.png create mode 100644 UITests/Sources/__Snapshots__/Application/userSessionScreen.testSpaceExploration-iPhone-en-GB-10.png create mode 100644 UITests/Sources/__Snapshots__/Application/userSessionScreen.testSpaceExploration-iPhone-en-GB-11.png diff --git a/ElementX/Sources/Mocks/JoinedRoomProxyMock.swift b/ElementX/Sources/Mocks/JoinedRoomProxyMock.swift index c04caf81e..940803240 100644 --- a/ElementX/Sources/Mocks/JoinedRoomProxyMock.swift +++ b/ElementX/Sources/Mocks/JoinedRoomProxyMock.swift @@ -203,3 +203,14 @@ private extension RoomHero { avatarUrl: memberProxy.avatarURL?.absoluteString) } } + +@MainActor +extension Array where Element == JoinedRoomProxyProtocol { + static var mockRooms: [JoinedRoomProxyProtocol] { + [ + JoinedRoomProxyMock(.init(id: "1", name: "Room Name", canonicalAlias: "#room-name:example.com")), + JoinedRoomProxyMock(.init(id: "2", name: "Room Name", canonicalAlias: "#room-name:example.com")), + JoinedRoomProxyMock(.init(id: "3", name: "Room Name", canonicalAlias: "#room-name:example.com")) + ] + } +} diff --git a/ElementX/Sources/Other/AccessibilityIdentifiers.swift b/ElementX/Sources/Other/AccessibilityIdentifiers.swift index 828b87efc..85a92c587 100644 --- a/ElementX/Sources/Other/AccessibilityIdentifiers.swift +++ b/ElementX/Sources/Other/AccessibilityIdentifiers.swift @@ -43,8 +43,11 @@ enum A11yIdentifiers { static let notificationSettingsEditScreen = NotificationSettingsEditScreen() static let pollFormScreen = PollFormScreen() static let roomPollsHistoryScreen = RoomPollsHistoryScreen() + static let roomMembersListScreen = RoomMembersListScreen() static let manageRoomMemberSheet = ManageRoomMemberSheet() static let spacesScreen = SpacesScreen() + static let spaceScreen = SpaceScreen() + static let spaceAddRoomsScreen = SpaceAddRoomsScreen() static let linkNewDeviceScreen = LinkNewDeviceScreen() struct AlertInfo { @@ -303,6 +306,10 @@ enum A11yIdentifiers { let loadMore = "room_polls_history_screen-load_more" } + struct RoomMembersListScreen { + let invite = "room_members_list_screen-invite" + } + struct ManageRoomMemberSheet { let viewProfile = "manage_room_member_sheet-view_profile" } @@ -316,6 +323,16 @@ enum A11yIdentifiers { } } + struct SpaceScreen { + let moreMenu = "space_screen-more_menu" + let addExistingRooms = "space_screen-add_existing_rooms" + let viewMembers = "space_screen-view_members" + } + + struct SpaceAddRoomsScreen { + let cancel = "space_add_rooms_screen-cancel" + } + struct LinkNewDeviceScreen { let cancel = "link_new_device_screen-cancel" let mobileDevice = "link_new_device_screen-mobile_device" diff --git a/ElementX/Sources/Screens/RoomMemberListScreen/View/RoomMembersListScreen.swift b/ElementX/Sources/Screens/RoomMemberListScreen/View/RoomMembersListScreen.swift index a292f4eeb..628876e59 100644 --- a/ElementX/Sources/Screens/RoomMemberListScreen/View/RoomMembersListScreen.swift +++ b/ElementX/Sources/Screens/RoomMemberListScreen/View/RoomMembersListScreen.swift @@ -102,6 +102,7 @@ struct RoomMembersListScreen: View { Button(L10n.actionInvite) { context.send(viewAction: .invite) } + .accessibilityIdentifier(A11yIdentifiers.roomMembersListScreen.invite) } } } diff --git a/ElementX/Sources/Screens/RoomScreen/View/RoomScreen.swift b/ElementX/Sources/Screens/RoomScreen/View/RoomScreen.swift index e4a88dda6..f26f288c2 100644 --- a/ElementX/Sources/Screens/RoomScreen/View/RoomScreen.swift +++ b/ElementX/Sources/Screens/RoomScreen/View/RoomScreen.swift @@ -226,10 +226,6 @@ struct RoomScreen_Previews: PreviewProvider, TestablePreview { } static func makeViewModels(canSendMessage: Bool = true, hasSuccessor: Bool = false) -> ViewModels { - // TimelineItemBubbledStylerView sets enableKeyShareOnInvite to true which if run - // before these tests, ends up adding a banner to the snapshots. - AppSettings.resetAllSettings() - let roomProxyMock = JoinedRoomProxyMock(.init(id: "stable_id", name: "Preview room", hasOngoingCall: true, diff --git a/ElementX/Sources/Screens/Spaces/SpaceAddRoomsScreen/View/SpaceAddRoomsScreen.swift b/ElementX/Sources/Screens/Spaces/SpaceAddRoomsScreen/View/SpaceAddRoomsScreen.swift index e80709faa..5d08b373c 100644 --- a/ElementX/Sources/Screens/Spaces/SpaceAddRoomsScreen/View/SpaceAddRoomsScreen.swift +++ b/ElementX/Sources/Screens/Spaces/SpaceAddRoomsScreen/View/SpaceAddRoomsScreen.swift @@ -115,6 +115,7 @@ struct SpaceAddRoomsScreen: View { ToolbarButton(role: .cancel) { context.send(viewAction: .cancel) } + .accessibilityIdentifier(A11yIdentifiers.spaceAddRoomsScreen.cancel) } ToolbarItem(placement: .confirmationAction) { @@ -186,11 +187,7 @@ struct SpaceAddRoomsScreen_Previews: PreviewProvider, TestablePreview { let spaceRoomListProxy = SpaceRoomListProxyMock(.init(spaceServiceRoom: SpaceServiceRoomMock(.init(isSpace: true)))) let clientProxy = ClientProxyMock(.init()) - clientProxy.recentlyVisitedRoomsFilterReturnValue = [ - JoinedRoomProxyMock(.init(id: "1", name: "Room Name", canonicalAlias: "#room-name:example.com")), - JoinedRoomProxyMock(.init(id: "2", name: "Room Name", canonicalAlias: "#room-name:example.com")), - JoinedRoomProxyMock(.init(id: "3", name: "Room Name", canonicalAlias: "#room-name:example.com")) - ] + clientProxy.recentlyVisitedRoomsFilterReturnValue = .mockRooms let viewModel = SpaceAddRoomsScreenViewModel(spaceRoomListProxy: spaceRoomListProxy, userSession: UserSessionMock(.init(clientProxy: clientProxy)), diff --git a/ElementX/Sources/Screens/Spaces/SpaceScreen/View/SpaceScreen.swift b/ElementX/Sources/Screens/Spaces/SpaceScreen/View/SpaceScreen.swift index a4887f625..2e4cbe2eb 100644 --- a/ElementX/Sources/Screens/Spaces/SpaceScreen/View/SpaceScreen.swift +++ b/ElementX/Sources/Screens/Spaces/SpaceScreen/View/SpaceScreen.swift @@ -100,6 +100,8 @@ struct SpaceScreen: View { Button { context.send(viewAction: .addExistingRooms) } label: { Label(L10n.actionAddExistingRooms, icon: \.room) } + .accessibilityIdentifier(A11yIdentifiers.spaceScreen.addExistingRooms) + Button { context.send(viewAction: .manageChildren) } label: { Label(L10n.actionManageRooms, icon: \.edit) } @@ -111,7 +113,9 @@ struct SpaceScreen: View { Button { context.send(viewAction: .displayMembers(roomProxy: roomProxy)) } label: { Label(L10n.screenSpaceMenuActionMembers, icon: \.user) } + .accessibilityIdentifier(A11yIdentifiers.spaceScreen.viewMembers) } + if let permalink = context.viewState.permalink { ShareLink(item: permalink) { Label(L10n.actionShare, icon: \.shareIos) @@ -135,6 +139,7 @@ struct SpaceScreen: View { // Use an SF Symbol to match what ToolbarItemGroup(placement: .secondaryAction) would give us. Image(systemSymbol: .ellipsis) } + .accessibilityIdentifier(A11yIdentifiers.spaceScreen.moreMenu) } } } diff --git a/ElementX/Sources/UITests/UITestsAppCoordinator.swift b/ElementX/Sources/UITests/UITestsAppCoordinator.swift index fb37353aa..a0f63e114 100644 --- a/ElementX/Sources/UITests/UITestsAppCoordinator.swift +++ b/ElementX/Sources/UITests/UITestsAppCoordinator.swift @@ -596,8 +596,9 @@ class MockScreen: Identifiable { let clientProxy = ClientProxyMock(.init(userID: "@mock:client.com", deviceID: "MOCKCLIENT", roomSummaryProvider: RoomSummaryProviderMock(.init(state: .loaded(roomSummaries))), - spaceServiceConfiguration: .init(topLevelSpaces: .mockSingleRoom), + spaceServiceConfiguration: .init(topLevelSpaces: .mockSpaceList.filter(\.isSpace) + .mockSingleRoom), roomPreviews: [SpaceServiceRoomProtocol].mockSpaceList.map(RoomPreviewProxyMock.init))) + clientProxy.recentlyVisitedRoomsFilterReturnValue = .mockRooms // The tab bar remains hidden for the non-spaces tests as we don't supply any mock spaces. let spaceServiceProxy = SpaceServiceProxyMock(id == .userSessionSpacesFlow ? .populated : .init()) diff --git a/PreviewTests/Sources/GeneratedPreviewTests.swift b/PreviewTests/Sources/GeneratedPreviewTests.swift index 660d74764..3ae586465 100644 --- a/PreviewTests/Sources/GeneratedPreviewTests.swift +++ b/PreviewTests/Sources/GeneratedPreviewTests.swift @@ -12,1254 +12,1463 @@ extension PreviewTests { // MARK: - PreviewProvider func testAdvancedSettingsScreen() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in AdvancedSettingsScreen_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testAnalyticsPromptScreen() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in AnalyticsPromptScreen_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testAnalyticsSettingsScreen() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in AnalyticsSettingsScreen_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testAppLockScreen() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in AppLockScreen_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testAppLockSetupBiometricsScreen() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in AppLockSetupBiometricsScreen_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testAppLockSetupPINScreen() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in AppLockSetupPINScreen_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testAppLockSetupSettingsScreen() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in AppLockSetupSettingsScreen_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testAudioMediaEventsTimelineView() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in AudioMediaEventsTimelineView_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testAudioRoomTimelineView() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in AudioRoomTimelineView_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testAuthenticationStartScreen() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in AuthenticationStartScreen_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testAvatarHeaderView() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in AvatarHeaderView_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testBadgeLabel() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in BadgeLabel_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testBlockedUsersScreen() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in BlockedUsersScreen_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testBloomModifier() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in BloomModifier_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testBugReportScreen() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in BugReportScreen_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testCallInviteRoomTimelineView() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in CallInviteRoomTimelineView_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testCallNotificationRoomTimelineView() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in CallNotificationRoomTimelineView_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testCollapsibleRoomTimelineView() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in CollapsibleRoomTimelineView_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testCompletionSuggestion() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in CompletionSuggestion_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testComposerToolbar() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in ComposerToolbar_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testCopyTextButton() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in CopyTextButton_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testCreateRoom() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in CreateRoom_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testDeactivateAccountScreen() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in DeactivateAccountScreen_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testDeclineAndBlockScreen() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in DeclineAndBlockScreen_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testEditRoomAddressScreen() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in EditRoomAddressScreen_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testElementTextFieldStyle() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in ElementTextFieldStyle_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testEmojiPickerScreenHeaderView() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in EmojiPickerScreenHeaderView_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testEmojiPickerScreen() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in EmojiPickerScreen_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testEmoteRoomTimelineView() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in EmoteRoomTimelineView_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testEncryptedRoomTimelineView() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in EncryptedRoomTimelineView_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testEncryptionResetPasswordScreen() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in EncryptionResetPasswordScreen_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testEncryptionResetScreen() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in EncryptionResetScreen_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testEstimatedWaveformView() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in EstimatedWaveformView_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testFileMediaEventsTimelineView() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in FileMediaEventsTimelineView_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testFileRoomTimelineView() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in FileRoomTimelineView_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testFormButtonStyles() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in FormButtonStyles_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testFormattedBodyText() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in FormattedBodyText_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testFormattingToolbar() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in FormattingToolbar_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testFullscreenDialog() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in FullscreenDialog_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testGlobalSearchScreenListRow() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in GlobalSearchScreenListRow_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testGlobalSearchScreen() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in GlobalSearchScreen_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testHighlightedTimelineItemModifier() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in HighlightedTimelineItemModifier_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testHomeScreenEmptyStateView() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in HomeScreenEmptyStateView_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testHomeScreenInviteCell() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in HomeScreenInviteCell_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testHomeScreenKnockedCell() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in HomeScreenKnockedCell_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testHomeScreenNewSoundBanner() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in HomeScreenNewSoundBanner_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testHomeScreenRecoveryKeyConfirmationBanner() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in HomeScreenRecoveryKeyConfirmationBanner_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testHomeScreenRoomCell() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in HomeScreenRoomCell_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testHomeScreen() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in HomeScreen_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testIdentityConfirmationScreen() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in IdentityConfirmationScreen_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testIdentityConfirmedScreen() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in IdentityConfirmedScreen_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testImageMediaEventsTimelineView() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in ImageMediaEventsTimelineView_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testImageRoomTimelineView() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in ImageRoomTimelineView_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testInviteUsersScreenSelectedItem() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in InviteUsersScreenSelectedItem_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testInviteUsersScreen() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in InviteUsersScreen_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testJoinRoomByAddressView() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in JoinRoomByAddressView_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testJoinRoomScreenSpace() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in JoinRoomScreenSpace_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testJoinRoomScreen() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in JoinRoomScreen_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testJoinedMembersBadgeView() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in JoinedMembersBadgeView_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testKnockRequestCell() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in KnockRequestCell_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testKnockRequestsBannerView() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in KnockRequestsBannerView_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testKnockRequestsListEmptyStateView() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in KnockRequestsListEmptyStateView_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testKnockRequestsListScreen() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in KnockRequestsListScreen_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testLabsScreen() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in LabsScreen_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testLeaveSpaceRoomDetailsCell() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in LeaveSpaceRoomDetailsCell_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testLeaveSpaceView() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in LeaveSpaceView_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testLegalInformationScreen() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in LegalInformationScreen_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testLinkNewDeviceScreen() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in LinkNewDeviceScreen_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testLoadableImage() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in LoadableImage_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testLocationMarkerView() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in LocationMarkerView_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testLocationRoomTimelineView() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in LocationRoomTimelineView_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testLoginScreen() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in LoginScreen_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testLongPressWithFeedback() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in LongPressWithFeedback_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testManageAuthorizedSpacesScreen() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in ManageAuthorizedSpacesScreen_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testManageRoomMemberSheetView() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in ManageRoomMemberSheetView_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testMapLibreStaticMapView() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in MapLibreStaticMapView_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testMatrixUserPermalink() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in MatrixUserPermalink_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testMediaEventsTimelineScreen() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in MediaEventsTimelineScreen_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testMediaUploadPreviewScreen() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in MediaUploadPreviewScreen_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testMentionSuggestionItemView() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in MentionSuggestionItemView_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testMessageComposerTextField() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in MessageComposerTextField_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testMessageComposer() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in MessageComposer_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testMessageForwardingScreen() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in MessageForwardingScreen_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testMessageText() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in MessageText_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testNoticeRoomTimelineView() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in NoticeRoomTimelineView_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testNotificationPermissionsScreen() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in NotificationPermissionsScreen_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testNotificationSettingsEditScreenRoomCell() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in NotificationSettingsEditScreenRoomCell_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testNotificationSettingsEditScreen() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in NotificationSettingsEditScreen_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testNotificationSettingsScreen() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in NotificationSettingsScreen_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testPINTextField() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in PINTextField_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testPaginationIndicatorRoomTimelineView() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in PaginationIndicatorRoomTimelineView_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testPillViewOnBubble() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in PillViewOnBubble_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testPillView() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in PillView_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testPinnedEventsTimelineScreen() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in PinnedEventsTimelineScreen_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testPinnedItemsBannerView() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in PinnedItemsBannerView_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testPinnedItemsIndicatorView() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in PinnedItemsIndicatorView_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testPlaceholderAvatarImage() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in PlaceholderAvatarImage_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testPlaceholderScreen() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in PlaceholderScreen_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testPollFormScreen() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in PollFormScreen_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testPollOptionView() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in PollOptionView_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testPollRoomTimelineView() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in PollRoomTimelineView_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testPollView() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in PollView_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testQRCodeErrorView() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in QRCodeErrorView_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testQRCodeLoginScreen() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in QRCodeLoginScreen_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testReactionsSummaryView() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in ReactionsSummaryView_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testReadMarkerRoomTimelineView() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in ReadMarkerRoomTimelineView_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testReadReceiptCell() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in ReadReceiptCell_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testReadReceiptsSummaryView() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in ReadReceiptsSummaryView_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testRedactedRoomTimelineView() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in RedactedRoomTimelineView_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testReportContentScreen() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in ReportContentScreen_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testReportRoomScreen() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in ReportRoomScreen_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testResolveVerifiedUserSendFailureScreen() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in ResolveVerifiedUserSendFailureScreen_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testRoomAttachmentPicker() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in RoomAttachmentPicker_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testRoomAvatarImage() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in RoomAvatarImage_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testRoomChangePermissionsScreen() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in RoomChangePermissionsScreen_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testRoomChangeRolesScreenRow() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in RoomChangeRolesScreenRow_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testRoomChangeRolesScreenSelectedItem() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in RoomChangeRolesScreenSelectedItem_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testRoomChangeRolesScreen() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in RoomChangeRolesScreen_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testRoomDetailsEditScreen() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in RoomDetailsEditScreen_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testRoomDetailsScreen() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in RoomDetailsScreen_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testRoomDirectorySearchCell() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in RoomDirectorySearchCell_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testRoomDirectorySearchScreen() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in RoomDirectorySearchScreen_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testRoomHeaderView() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in RoomHeaderView_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testRoomInviterLabel() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in RoomInviterLabel_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testRoomListFilterView() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in RoomListFilterView_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testRoomListFiltersEmptyStateView() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in RoomListFiltersEmptyStateView_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testRoomListFiltersView() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in RoomListFiltersView_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testRoomMemberDetailsScreen() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in RoomMemberDetailsScreen_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testRoomMembersListMemberCell() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in RoomMembersListMemberCell_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testRoomMembersListScreen() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in RoomMembersListScreen_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testRoomNotificationSettingsCustomSectionView() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in RoomNotificationSettingsCustomSectionView_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testRoomNotificationSettingsScreen() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in RoomNotificationSettingsScreen_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testRoomNotificationSettingsUserDefinedScreen() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in RoomNotificationSettingsUserDefinedScreen_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testRoomPollsHistoryScreen() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in RoomPollsHistoryScreen_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testRoomRolesAndPermissionsScreen() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in RoomRolesAndPermissionsScreen_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testRoomScreenFooterView() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in RoomScreenFooterView_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testRoomScreen() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in RoomScreen_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testRoomSelectionScreen() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in RoomSelectionScreen_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testSFNumberedListView() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in SFNumberedListView_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testSecureBackupKeyBackupScreen() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in SecureBackupKeyBackupScreen_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testSecureBackupLogoutConfirmationScreen() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in SecureBackupLogoutConfirmationScreen_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testSecureBackupRecoveryKeyScreen() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in SecureBackupRecoveryKeyScreen_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testSecureBackupScreen() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in SecureBackupScreen_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testSecurityAndPrivacyScreen() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in SecurityAndPrivacyScreen_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testSendInviteConfirmationView() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in SendInviteConfirmationView_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testSeparatorMediaEventsTimelineView() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in SeparatorMediaEventsTimelineView_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testSeparatorRoomTimelineView() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in SeparatorRoomTimelineView_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testServerConfirmationScreen() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in ServerConfirmationScreen_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testServerSelection() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in ServerSelection_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testSessionVerificationRequestDetailsView() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in SessionVerificationRequestDetailsView_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testSessionVerification() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in SessionVerification_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testSettingsScreen() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in SettingsScreen_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testShimmerOverlay() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in ShimmerOverlay_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testSoftLogoutScreen() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in SoftLogoutScreen_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testSpaceAddRoomsScreenSelectedItem() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in SpaceAddRoomsScreenSelectedItem_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testSpaceAddRoomsScreen() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in SpaceAddRoomsScreen_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testSpaceHeaderTopicSheetView() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in SpaceHeaderTopicSheetView_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testSpaceHeaderView() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in SpaceHeaderView_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testSpaceRemoveChildrenConfirmationView() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in SpaceRemoveChildrenConfirmationView_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testSpaceRoomCell() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in SpaceRoomCell_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testSpaceScreen() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in SpaceScreen_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testSpaceSettingsScreen() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in SpaceSettingsScreen_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testSpacesAnnouncementSheetView() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in SpacesAnnouncementSheetView_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testSpacesScreen() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in SpacesScreen_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testSplashScreen() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in SplashScreen_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testStackedAvatarsView() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in StackedAvatarsView_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testStartChatScreen() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in StartChatScreen_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testStateRoomTimelineView() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in StateRoomTimelineView_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testStaticLocationScreenViewer() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in StaticLocationScreenViewer_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testStickerRoomTimelineView() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in StickerRoomTimelineView_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testSwipeRightAction() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in SwipeRightAction_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testSwipeToReplyView() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in SwipeToReplyView_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testTextRoomTimelineView() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in TextRoomTimelineView_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testThreadDecorator() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in ThreadDecorator_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testTimelineDeliveryStatusView() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in TimelineDeliveryStatusView_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testTimelineItemBubbledStylerView() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in TimelineItemBubbledStylerView_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testTimelineItemDebugView() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in TimelineItemDebugView_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testTimelineItemMenu() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in TimelineItemMenu_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testTimelineItemSendInfoLabel() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in TimelineItemSendInfoLabel_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testTimelineItemStyler() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in TimelineItemStyler_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testTimelineMediaPreviewDetailsView() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in TimelineMediaPreviewDetailsView_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testTimelineMediaPreviewRedactConfirmationView() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in TimelineMediaPreviewRedactConfirmationView_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testTimelineReactionView() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in TimelineReactionView_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testTimelineReadReceiptsView() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in TimelineReadReceiptsView_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testTimelineReplyView() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in TimelineReplyView_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testTimelineStartRoomTimelineView() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in TimelineStartRoomTimelineView_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testTimelineThreadSummaryView() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in TimelineThreadSummaryView_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testTombstonedAvatarImage() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in TombstonedAvatarImage_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testToolbarButton() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in ToolbarButton_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testTypingIndicatorView() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in TypingIndicatorView_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testUnsupportedRoomTimelineView() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in UnsupportedRoomTimelineView_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testUserDetailsEditScreen() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in UserDetailsEditScreen_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testUserIndicatorModalView() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in UserIndicatorModalView_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testUserIndicatorToastView() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in UserIndicatorToastView_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testUserProfileCell() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in UserProfileCell_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testUserProfileScreen() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in UserProfileScreen_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testVerificationBadge() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in VerificationBadge_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testVideoMediaEventsTimelineView() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in VideoMediaEventsTimelineView_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testVideoRoomTimelineView() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in VideoRoomTimelineView_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testVisualListItem() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in VisualListItem_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testVoiceMessageButton() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in VoiceMessageButton_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testVoiceMessageMediaEventsTimelineView() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in VoiceMessageMediaEventsTimelineView_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testVoiceMessagePreviewComposer() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in VoiceMessagePreviewComposer_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testVoiceMessageRecordingButton() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in VoiceMessageRecordingButton_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testVoiceMessageRecordingComposer() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in VoiceMessageRecordingComposer_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testVoiceMessageRecordingView() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in VoiceMessageRecordingView_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testVoiceMessageRoomPlaybackView() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in VoiceMessageRoomPlaybackView_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testVoiceMessageRoomTimelineView() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in VoiceMessageRoomTimelineView_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } } func testWaveformCursorView() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in WaveformCursorView_Previews._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } diff --git a/Tools/Sourcery/PreviewTests.stencil b/Tools/Sourcery/PreviewTests.stencil index fc1e46961..9397066f9 100644 --- a/Tools/Sourcery/PreviewTests.stencil +++ b/Tools/Sourcery/PreviewTests.stencil @@ -27,6 +27,7 @@ extension PreviewTests { {% for type in types.types where (type.implements.TestablePreview or type.based.TestablePreview or type|annotated:"TestablePreview") and type.name != "TestablePreview" %} func test{{ type.name|replace:"_Previews", "" }}() async throws { + AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings. for (index, preview) in {{ type.name }}._allPreviews.enumerated() { try await assertSnapshots(matching: preview, step: index) } diff --git a/UITests/Sources/UserSessionScreenTests.swift b/UITests/Sources/UserSessionScreenTests.swift index 3c288ccd3..2a01494ed 100644 --- a/UITests/Sources/UserSessionScreenTests.swift +++ b/UITests/Sources/UserSessionScreenTests.swift @@ -27,6 +27,8 @@ class UserSessionScreenTests: XCTestCase { static let subspaceScreen = 7 static let subspaceRoomScreen = 8 static let spaceJoinRoomScreen = 9 + static let spaceAddRoomsScreen = 10 + static let spaceMembersListScreen = 11 } func testUserSessionFlows() async throws { @@ -37,7 +39,7 @@ class UserSessionScreenTests: XCTestCase { try await app.assertScreenshot(step: Step.homeScreen) app.buttons[A11yIdentifiers.homeScreen.roomName(firstRoomName)].tap() - XCTAssert(app.staticTexts[firstRoomName].waitForExistence(timeout: 5.0)) + XCTAssert(app.buttons[firstRoomName].waitForExistence(timeout: 5.0)) try await Task.sleep(for: .seconds(1)) try await app.assertScreenshot(step: Step.roomScreen) @@ -48,7 +50,7 @@ class UserSessionScreenTests: XCTestCase { func testUserSessionReply() async throws { let app = Application.launch(.userSessionScreenReply, disableTimelineAccessibility: false) app.buttons[A11yIdentifiers.homeScreen.roomName(firstRoomName)].tap() - XCTAssert(app.staticTexts[firstRoomName].waitForExistence(timeout: 5.0)) + XCTAssert(app.buttons[firstRoomName].waitForExistence(timeout: 5.0)) try await Task.sleep(for: .seconds(1)) let cell = app.cells.element(boundBy: 1) // Skip the typing indicator cell @@ -61,7 +63,7 @@ class UserSessionScreenTests: XCTestCase { let app = Application.launch(.userSessionScreen) app.buttons[A11yIdentifiers.homeScreen.roomName(firstRoomName)].tap() - XCTAssert(app.staticTexts[firstRoomName].waitForExistence(timeout: 5.0)) + XCTAssert(app.buttons[firstRoomName].waitForExistence(timeout: 5.0)) app.buttons[A11yIdentifiers.roomScreen.joinCall].tap() @@ -94,8 +96,26 @@ class UserSessionScreenTests: XCTestCase { try await Task.sleep(for: .seconds(1)) try await app.assertScreenshot(step: Step.subspaceScreen) + app.buttons[A11yIdentifiers.spaceScreen.moreMenu].tap() + app.buttons[A11yIdentifiers.spaceScreen.addExistingRooms].tap() + XCTAssert(app.buttons[A11yIdentifiers.spaceAddRoomsScreen.cancel].waitForExistence(timeout: 5.0)) + try await Task.sleep(for: .seconds(1)) + try await app.assertScreenshot(step: Step.spaceAddRoomsScreen) + + app.buttons[A11yIdentifiers.spaceAddRoomsScreen.cancel].tap() + XCTAssert(app.staticTexts[joinedSubspaceName].waitForExistence(timeout: 5.0)) + + app.buttons[A11yIdentifiers.spaceScreen.moreMenu].tap() + app.buttons[A11yIdentifiers.spaceScreen.viewMembers].tap() + XCTAssert(app.buttons[A11yIdentifiers.roomMembersListScreen.invite].waitForExistence(timeout: 5.0)) + try await Task.sleep(for: .seconds(1)) + try await app.assertScreenshot(step: Step.spaceMembersListScreen) + + app.navigationBars.buttons[joinedSubspaceName].firstMatch.tap(.center) + XCTAssert(app.staticTexts[joinedSubspaceName].waitForExistence(timeout: 5.0)) + app.buttons[A11yIdentifiers.spacesScreen.spaceRoomName(joinedSubspaceRoomName)].tap() - XCTAssert(app.staticTexts[joinedSubspaceRoomName].waitForExistence(timeout: 5.0)) + XCTAssert(app.buttons[joinedSubspaceRoomName].waitForExistence(timeout: 5.0)) try await Task.sleep(for: .seconds(1)) try await app.assertScreenshot(step: Step.subspaceRoomScreen) @@ -126,7 +146,7 @@ class UserSessionScreenTests: XCTestCase { // Tap join on the join room screen. app.buttons[A11yIdentifiers.joinRoomScreen.join].tap() - XCTAssert(app.staticTexts[A11yIdentifiers.roomScreen.name].waitForExistence(timeout: 5.0)) // The space screen reuses the room screen header + XCTAssert(app.buttons[A11yIdentifiers.roomScreen.name].waitForExistence(timeout: 5.0)) // The space screen reuses the room screen header try await Task.sleep(for: .seconds(1)) try await app.assertScreenshot(step: Step.spaceScreen) @@ -144,7 +164,7 @@ class UserSessionScreenTests: XCTestCase { app.buttons.matching(NSPredicate(format: "identifier == %@ && label == %@", A11yIdentifiers.homeScreen.roomName(spaceInviteName), "Accept")).firstMatch.tap() - XCTAssert(app.staticTexts[A11yIdentifiers.roomScreen.name].waitForExistence(timeout: 5.0)) // The space screen reuses the room screen header + XCTAssert(app.buttons[A11yIdentifiers.roomScreen.name].waitForExistence(timeout: 5.0)) // The space screen reuses the room screen header try await Task.sleep(for: .seconds(1)) try await app.assertScreenshot(step: Step.spaceScreen) } diff --git a/UITests/Sources/__Snapshots__/Application/userSessionScreen.testSpaceExploration-iPad-en-GB-10.png b/UITests/Sources/__Snapshots__/Application/userSessionScreen.testSpaceExploration-iPad-en-GB-10.png new file mode 100644 index 000000000..5d3b7cdd1 --- /dev/null +++ b/UITests/Sources/__Snapshots__/Application/userSessionScreen.testSpaceExploration-iPad-en-GB-10.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:67e8f04eb61e42989683d1d5e8667474928123902d4980a470b481589c84ac37 +size 312442 diff --git a/UITests/Sources/__Snapshots__/Application/userSessionScreen.testSpaceExploration-iPad-en-GB-11.png b/UITests/Sources/__Snapshots__/Application/userSessionScreen.testSpaceExploration-iPad-en-GB-11.png new file mode 100644 index 000000000..a5021e396 --- /dev/null +++ b/UITests/Sources/__Snapshots__/Application/userSessionScreen.testSpaceExploration-iPad-en-GB-11.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:06d692328ca4bd472d38dc907a22e3ca7400caac504493012a9cb950ffa6c711 +size 331112 diff --git a/UITests/Sources/__Snapshots__/Application/userSessionScreen.testSpaceExploration-iPhone-en-GB-10.png b/UITests/Sources/__Snapshots__/Application/userSessionScreen.testSpaceExploration-iPhone-en-GB-10.png new file mode 100644 index 000000000..866cd76b9 --- /dev/null +++ b/UITests/Sources/__Snapshots__/Application/userSessionScreen.testSpaceExploration-iPhone-en-GB-10.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6361faefaeff3d18121fe975c6c472a5f33b08cd4818c6e6192dcf5c940ffeae +size 171619 diff --git a/UITests/Sources/__Snapshots__/Application/userSessionScreen.testSpaceExploration-iPhone-en-GB-11.png b/UITests/Sources/__Snapshots__/Application/userSessionScreen.testSpaceExploration-iPhone-en-GB-11.png new file mode 100644 index 000000000..62c620fec --- /dev/null +++ b/UITests/Sources/__Snapshots__/Application/userSessionScreen.testSpaceExploration-iPhone-en-GB-11.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0f9e70f683eb594c733961f8263a492845adef03ac965ee6e8b2bb86b3e2adc7 +size 229161