diff --git a/.github/workflows/cron-checks.yml b/.github/workflows/cron-checks.yml index ea63e4e8..04289fef 100644 --- a/.github/workflows/cron-checks.yml +++ b/.github/workflows/cron-checks.yml @@ -5,9 +5,10 @@ on: # Runs "At 02:00 every night" - cron: '0 2 * * *' - pull_request: - branches: - - 'main' + # TODO: commented until `develop` branch is in place + # pull_request: + # branches: + # - 'main' workflow_dispatch: @@ -24,6 +25,12 @@ jobs: strategy: matrix: include: + # TODO: uncomment this block as soon as Xcode 15 is stable on CI + # - ios: 17.0 + # xcode: 15.0 + # os: macos-13 + # device: "iPhone 14 Pro Max" + # setup_runtime: false - ios: 16.4 xcode: 14.3.1 os: macos-13 @@ -83,6 +90,8 @@ jobs: strategy: matrix: include: + - xcode: 15.0 + os: macos-13 - xcode: 14.3.1 os: macos-13 - xcode: 14.2 diff --git a/.github/workflows/smoke-checks.yml b/.github/workflows/smoke-checks.yml index 9c9602d9..319cfd63 100644 --- a/.github/workflows/smoke-checks.yml +++ b/.github/workflows/smoke-checks.yml @@ -4,7 +4,7 @@ on: pull_request: branches: - '**' - - '!main' + # - '!main' TODO: commented until `develop` branch is in place workflow_dispatch: @@ -14,7 +14,7 @@ concurrency: env: HOMEBREW_NO_INSTALL_CLEANUP: 1 # Disable cleanup for homebrew, we don't need it on CI - IOS_SIMULATOR_DEVICE: "iPhone 14 Pro (16.4)" + IOS_SIMULATOR_DEVICE: "iPhone 14 Pro (17.0)" jobs: automated-code-review: @@ -51,7 +51,7 @@ jobs: INSTALL_XCPARSE: true - name: Run UI Tests (Debug) run: bundle exec fastlane test_ui device:"${{ env.IOS_SIMULATOR_DEVICE }}" - timeout-minutes: 30 + timeout-minutes: 40 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_PR_NUM: ${{ github.event.number }} @@ -112,6 +112,8 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_PR_NUM: ${{ github.event.number }} MATRIX_SIZE: ${{ strategy.job-total }} + IOS_SIMULATOR_DEVICE: "iPhone 14 Pro (16.4)" # TODO: delete this line as soon as Xcode 15 is stable on CI + XCODE_VERSION: "14.3.1" # TODO: delete this line as soon as Xcode 15 is stable on CI - name: Allure TestOps Upload if: env.LAUNCH_ID != '' && (success() || failure()) run: bundle exec fastlane allure_upload launch_id:$LAUNCH_ID diff --git a/Sources/StreamChatSwiftUI/ChatChannel/Reactions/ReactionsOverlayView.swift b/Sources/StreamChatSwiftUI/ChatChannel/Reactions/ReactionsOverlayView.swift index 31701025..2449ced5 100644 --- a/Sources/StreamChatSwiftUI/ChatChannel/Reactions/ReactionsOverlayView.swift +++ b/Sources/StreamChatSwiftUI/ChatChannel/Reactions/ReactionsOverlayView.swift @@ -218,7 +218,7 @@ public struct ReactionsOverlayView: View { } .accessibilityElement(children: .contain) .accessibilityIdentifier("ReactionsOverlayView") - .onRotate { orientation in + .onRotate { _ in if isIPad { self.orientationChanged = true } @@ -362,6 +362,6 @@ struct DeviceRotationViewModifier: ViewModifier { extension View { func onRotate(perform action: @escaping (UIDeviceOrientation) -> Void) -> some View { - self.modifier(DeviceRotationViewModifier(action: action)) + modifier(DeviceRotationViewModifier(action: action)) } } diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/ChannelInfo/AddUsersViewModel_Tests.swift b/StreamChatSwiftUITests/Tests/ChatChannel/ChannelInfo/AddUsersViewModel_Tests.swift index 9095de91..5c261524 100644 --- a/StreamChatSwiftUITests/Tests/ChatChannel/ChannelInfo/AddUsersViewModel_Tests.swift +++ b/StreamChatSwiftUITests/Tests/ChatChannel/ChannelInfo/AddUsersViewModel_Tests.swift @@ -46,7 +46,7 @@ class AddUsersViewModel_Tests: StreamChatTestCase { } .store(in: &cancellables) - waitForExpectations(timeout: 1) + waitForExpectations(timeout: defaultTimeout) } func test_addUsersViewModel_onUserAppear() { diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/ChannelInfo/AddUsersView_Tests.swift b/StreamChatSwiftUITests/Tests/ChatChannel/ChannelInfo/AddUsersView_Tests.swift index 3f3da4fa..5412218e 100644 --- a/StreamChatSwiftUITests/Tests/ChatChannel/ChannelInfo/AddUsersView_Tests.swift +++ b/StreamChatSwiftUITests/Tests/ChatChannel/ChannelInfo/AddUsersView_Tests.swift @@ -25,6 +25,6 @@ class AddUsersView_Tests: StreamChatTestCase { .applyDefaultSize() // Then - assertSnapshot(matching: view, as: .image(perceptualPrecision: 0.98)) + assertSnapshot(matching: view, as: .image(perceptualPrecision: snapshotPrecision)) } } diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/ChannelInfo/ChatChannelInfoView_Tests.swift b/StreamChatSwiftUITests/Tests/ChatChannel/ChannelInfo/ChatChannelInfoView_Tests.swift index 9c8c980a..725e6366 100644 --- a/StreamChatSwiftUITests/Tests/ChatChannel/ChannelInfo/ChatChannelInfoView_Tests.swift +++ b/StreamChatSwiftUITests/Tests/ChatChannel/ChannelInfo/ChatChannelInfoView_Tests.swift @@ -26,7 +26,7 @@ class ChatChannelInfoView_Tests: StreamChatTestCase { .applyDefaultSize() // Then - assertSnapshot(matching: view, as: .image(perceptualPrecision: 0.98)) + assertSnapshot(matching: view, as: .image(perceptualPrecision: snapshotPrecision)) } func test_chatChannelInfoView_directChannelOnlineSnapshot() { @@ -46,7 +46,7 @@ class ChatChannelInfoView_Tests: StreamChatTestCase { .applyDefaultSize() // Then - assertSnapshot(matching: view, as: .image(perceptualPrecision: 0.98)) + assertSnapshot(matching: view, as: .image(perceptualPrecision: snapshotPrecision)) } func test_chatChannelInfoView_directChannelMutedSnapshot() { @@ -66,7 +66,7 @@ class ChatChannelInfoView_Tests: StreamChatTestCase { .applyDefaultSize() // Then - assertSnapshot(matching: view, as: .image(perceptualPrecision: 0.98)) + assertSnapshot(matching: view, as: .image(perceptualPrecision: snapshotPrecision)) } func test_chatChannelInfoView_groupCollapsedSnapshot() { @@ -89,7 +89,7 @@ class ChatChannelInfoView_Tests: StreamChatTestCase { .applyDefaultSize() // Then - assertSnapshot(matching: view, as: .image(perceptualPrecision: 0.98)) + assertSnapshot(matching: view, as: .image(perceptualPrecision: snapshotPrecision)) } func test_chatChannelInfoView_smallGroupSnapshot() { @@ -112,7 +112,7 @@ class ChatChannelInfoView_Tests: StreamChatTestCase { .applyDefaultSize() // Then - assertSnapshot(matching: view, as: .image(perceptualPrecision: 0.98)) + assertSnapshot(matching: view, as: .image(perceptualPrecision: snapshotPrecision)) } func test_chatChannelInfoView_groupExpandedSnapshot() { @@ -137,7 +137,7 @@ class ChatChannelInfoView_Tests: StreamChatTestCase { .applyDefaultSize() // Then - assertSnapshot(matching: view, as: .image(perceptualPrecision: 0.98)) + assertSnapshot(matching: view, as: .image(perceptualPrecision: snapshotPrecision)) } func test_chatChannelInfoView_navBarSnapshot() { @@ -166,7 +166,7 @@ class ChatChannelInfoView_Tests: StreamChatTestCase { .applyDefaultSize() // Then - assertSnapshot(matching: navigationView, as: .image(perceptualPrecision: 0.98)) + assertSnapshot(matching: navigationView, as: .image(perceptualPrecision: snapshotPrecision)) } func test_chatChannelInfoView_addUsersShownSnapshot() { @@ -191,6 +191,6 @@ class ChatChannelInfoView_Tests: StreamChatTestCase { .applyDefaultSize() // Then - assertSnapshot(matching: view, as: .image(perceptualPrecision: 0.98)) + assertSnapshot(matching: view, as: .image(perceptualPrecision: snapshotPrecision)) } } diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/ChannelInfo/FileAttachmentsView_Tests.swift b/StreamChatSwiftUITests/Tests/ChatChannel/ChannelInfo/FileAttachmentsView_Tests.swift index c0e4fc76..9ceb4472 100644 --- a/StreamChatSwiftUITests/Tests/ChatChannel/ChannelInfo/FileAttachmentsView_Tests.swift +++ b/StreamChatSwiftUITests/Tests/ChatChannel/ChannelInfo/FileAttachmentsView_Tests.swift @@ -25,7 +25,7 @@ class FileAttachmentsView_Tests: StreamChatTestCase { .applyDefaultSize() // Then - assertSnapshot(matching: view, as: .image(perceptualPrecision: 0.98)) + assertSnapshot(matching: view, as: .image(perceptualPrecision: snapshotPrecision)) } func test_fileAttachmentsView_emptySnapshot() { @@ -40,7 +40,7 @@ class FileAttachmentsView_Tests: StreamChatTestCase { .applyDefaultSize() // Then - assertSnapshot(matching: view, as: .image(perceptualPrecision: 0.98)) + assertSnapshot(matching: view, as: .image(perceptualPrecision: snapshotPrecision)) } func test_fileAttachmentsView_loadingSnapshot() { @@ -55,7 +55,7 @@ class FileAttachmentsView_Tests: StreamChatTestCase { .applyDefaultSize() // Then - assertSnapshot(matching: view, as: .image(perceptualPrecision: 0.98)) + assertSnapshot(matching: view, as: .image(perceptualPrecision: snapshotPrecision)) } func test_fileAttachmentsPickerView_snapshot() { @@ -64,6 +64,6 @@ class FileAttachmentsView_Tests: StreamChatTestCase { .applyDefaultSize() // Then - assertSnapshot(matching: view, as: .image(perceptualPrecision: 0.98)) + assertSnapshot(matching: view, as: .image(perceptualPrecision: snapshotPrecision)) } } diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/ChannelInfo/MediaAttachmentsView_Tests.swift b/StreamChatSwiftUITests/Tests/ChatChannel/ChannelInfo/MediaAttachmentsView_Tests.swift index 117b9bfc..2ed3173a 100644 --- a/StreamChatSwiftUITests/Tests/ChatChannel/ChannelInfo/MediaAttachmentsView_Tests.swift +++ b/StreamChatSwiftUITests/Tests/ChatChannel/ChannelInfo/MediaAttachmentsView_Tests.swift @@ -28,7 +28,7 @@ class MediaAttachmentsView_Tests: StreamChatTestCase { .applyDefaultSize() // Then - assertSnapshot(matching: view, as: .image(perceptualPrecision: 0.98)) + assertSnapshot(matching: view, as: .image(perceptualPrecision: snapshotPrecision)) } func test_mediaAttachmentsView_emptySnapshot() { @@ -41,7 +41,7 @@ class MediaAttachmentsView_Tests: StreamChatTestCase { .applyDefaultSize() // Then - assertSnapshot(matching: view, as: .image(perceptualPrecision: 0.98)) + assertSnapshot(matching: view, as: .image(perceptualPrecision: snapshotPrecision)) } func test_mediaAttachmentsView_loading() { @@ -54,6 +54,6 @@ class MediaAttachmentsView_Tests: StreamChatTestCase { .applyDefaultSize() // Then - assertSnapshot(matching: view, as: .image(perceptualPrecision: 0.98)) + assertSnapshot(matching: view, as: .image(perceptualPrecision: snapshotPrecision)) } } diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/ChannelInfo/PinnedMessagesView_Tests.swift b/StreamChatSwiftUITests/Tests/ChatChannel/ChannelInfo/PinnedMessagesView_Tests.swift index 8238dda4..2c71dac9 100644 --- a/StreamChatSwiftUITests/Tests/ChatChannel/ChannelInfo/PinnedMessagesView_Tests.swift +++ b/StreamChatSwiftUITests/Tests/ChatChannel/ChannelInfo/PinnedMessagesView_Tests.swift @@ -27,7 +27,7 @@ class PinnedMessagesView_Tests: StreamChatTestCase { .applyDefaultSize() // Then - assertSnapshot(matching: view, as: .image(perceptualPrecision: 0.98)) + assertSnapshot(matching: view, as: .image(perceptualPrecision: snapshotPrecision)) } func test_pinnedMessagesView_emptySnapshot() { @@ -39,7 +39,7 @@ class PinnedMessagesView_Tests: StreamChatTestCase { .applyDefaultSize() // Then - assertSnapshot(matching: view, as: .image(perceptualPrecision: 0.98)) + assertSnapshot(matching: view, as: .image(perceptualPrecision: snapshotPrecision)) } } diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/ChannelInfo/__Snapshots__/AddUsersView_Tests/test_addUsersView_snapshot.1.png b/StreamChatSwiftUITests/Tests/ChatChannel/ChannelInfo/__Snapshots__/AddUsersView_Tests/test_addUsersView_snapshot.1.png index 7361d5bd..55a6eb8a 100644 Binary files a/StreamChatSwiftUITests/Tests/ChatChannel/ChannelInfo/__Snapshots__/AddUsersView_Tests/test_addUsersView_snapshot.1.png and b/StreamChatSwiftUITests/Tests/ChatChannel/ChannelInfo/__Snapshots__/AddUsersView_Tests/test_addUsersView_snapshot.1.png differ diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/ChannelInfo/__Snapshots__/ChatChannelInfoView_Tests/test_chatChannelInfoView_addUsersShownSnapshot.1.png b/StreamChatSwiftUITests/Tests/ChatChannel/ChannelInfo/__Snapshots__/ChatChannelInfoView_Tests/test_chatChannelInfoView_addUsersShownSnapshot.1.png index 6824b316..14bb1da7 100644 Binary files a/StreamChatSwiftUITests/Tests/ChatChannel/ChannelInfo/__Snapshots__/ChatChannelInfoView_Tests/test_chatChannelInfoView_addUsersShownSnapshot.1.png and b/StreamChatSwiftUITests/Tests/ChatChannel/ChannelInfo/__Snapshots__/ChatChannelInfoView_Tests/test_chatChannelInfoView_addUsersShownSnapshot.1.png differ diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/ChannelInfo/__Snapshots__/ChatChannelInfoView_Tests/test_chatChannelInfoView_directChannelMutedSnapshot.1.png b/StreamChatSwiftUITests/Tests/ChatChannel/ChannelInfo/__Snapshots__/ChatChannelInfoView_Tests/test_chatChannelInfoView_directChannelMutedSnapshot.1.png index dfc502e0..97a128b0 100644 Binary files a/StreamChatSwiftUITests/Tests/ChatChannel/ChannelInfo/__Snapshots__/ChatChannelInfoView_Tests/test_chatChannelInfoView_directChannelMutedSnapshot.1.png and b/StreamChatSwiftUITests/Tests/ChatChannel/ChannelInfo/__Snapshots__/ChatChannelInfoView_Tests/test_chatChannelInfoView_directChannelMutedSnapshot.1.png differ diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/ChannelInfo/__Snapshots__/ChatChannelInfoView_Tests/test_chatChannelInfoView_directChannelOfflineSnapshot.1.png b/StreamChatSwiftUITests/Tests/ChatChannel/ChannelInfo/__Snapshots__/ChatChannelInfoView_Tests/test_chatChannelInfoView_directChannelOfflineSnapshot.1.png index 6620b0ef..9d18379e 100644 Binary files a/StreamChatSwiftUITests/Tests/ChatChannel/ChannelInfo/__Snapshots__/ChatChannelInfoView_Tests/test_chatChannelInfoView_directChannelOfflineSnapshot.1.png and b/StreamChatSwiftUITests/Tests/ChatChannel/ChannelInfo/__Snapshots__/ChatChannelInfoView_Tests/test_chatChannelInfoView_directChannelOfflineSnapshot.1.png differ diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/ChannelInfo/__Snapshots__/ChatChannelInfoView_Tests/test_chatChannelInfoView_directChannelOnlineSnapshot.1.png b/StreamChatSwiftUITests/Tests/ChatChannel/ChannelInfo/__Snapshots__/ChatChannelInfoView_Tests/test_chatChannelInfoView_directChannelOnlineSnapshot.1.png index 69d9d3fb..f8a5396b 100644 Binary files a/StreamChatSwiftUITests/Tests/ChatChannel/ChannelInfo/__Snapshots__/ChatChannelInfoView_Tests/test_chatChannelInfoView_directChannelOnlineSnapshot.1.png and b/StreamChatSwiftUITests/Tests/ChatChannel/ChannelInfo/__Snapshots__/ChatChannelInfoView_Tests/test_chatChannelInfoView_directChannelOnlineSnapshot.1.png differ diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/ChannelInfo/__Snapshots__/ChatChannelInfoView_Tests/test_chatChannelInfoView_groupCollapsedSnapshot.1.png b/StreamChatSwiftUITests/Tests/ChatChannel/ChannelInfo/__Snapshots__/ChatChannelInfoView_Tests/test_chatChannelInfoView_groupCollapsedSnapshot.1.png index 3881975b..fd9d4a23 100644 Binary files a/StreamChatSwiftUITests/Tests/ChatChannel/ChannelInfo/__Snapshots__/ChatChannelInfoView_Tests/test_chatChannelInfoView_groupCollapsedSnapshot.1.png and b/StreamChatSwiftUITests/Tests/ChatChannel/ChannelInfo/__Snapshots__/ChatChannelInfoView_Tests/test_chatChannelInfoView_groupCollapsedSnapshot.1.png differ diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/ChannelInfo/__Snapshots__/ChatChannelInfoView_Tests/test_chatChannelInfoView_groupExpandedSnapshot.1.png b/StreamChatSwiftUITests/Tests/ChatChannel/ChannelInfo/__Snapshots__/ChatChannelInfoView_Tests/test_chatChannelInfoView_groupExpandedSnapshot.1.png index d9f65de0..8630ac1e 100644 Binary files a/StreamChatSwiftUITests/Tests/ChatChannel/ChannelInfo/__Snapshots__/ChatChannelInfoView_Tests/test_chatChannelInfoView_groupExpandedSnapshot.1.png and b/StreamChatSwiftUITests/Tests/ChatChannel/ChannelInfo/__Snapshots__/ChatChannelInfoView_Tests/test_chatChannelInfoView_groupExpandedSnapshot.1.png differ diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/ChannelInfo/__Snapshots__/ChatChannelInfoView_Tests/test_chatChannelInfoView_navBarSnapshot.1.png b/StreamChatSwiftUITests/Tests/ChatChannel/ChannelInfo/__Snapshots__/ChatChannelInfoView_Tests/test_chatChannelInfoView_navBarSnapshot.1.png index d6d7bc46..f104b13c 100644 Binary files a/StreamChatSwiftUITests/Tests/ChatChannel/ChannelInfo/__Snapshots__/ChatChannelInfoView_Tests/test_chatChannelInfoView_navBarSnapshot.1.png and b/StreamChatSwiftUITests/Tests/ChatChannel/ChannelInfo/__Snapshots__/ChatChannelInfoView_Tests/test_chatChannelInfoView_navBarSnapshot.1.png differ diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/ChannelInfo/__Snapshots__/ChatChannelInfoView_Tests/test_chatChannelInfoView_smallGroupSnapshot.1.png b/StreamChatSwiftUITests/Tests/ChatChannel/ChannelInfo/__Snapshots__/ChatChannelInfoView_Tests/test_chatChannelInfoView_smallGroupSnapshot.1.png index f27980cd..601b57e0 100644 Binary files a/StreamChatSwiftUITests/Tests/ChatChannel/ChannelInfo/__Snapshots__/ChatChannelInfoView_Tests/test_chatChannelInfoView_smallGroupSnapshot.1.png and b/StreamChatSwiftUITests/Tests/ChatChannel/ChannelInfo/__Snapshots__/ChatChannelInfoView_Tests/test_chatChannelInfoView_smallGroupSnapshot.1.png differ diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/ChannelInfo/__Snapshots__/FileAttachmentsView_Tests/test_fileAttachmentsPickerView_snapshot.1.png b/StreamChatSwiftUITests/Tests/ChatChannel/ChannelInfo/__Snapshots__/FileAttachmentsView_Tests/test_fileAttachmentsPickerView_snapshot.1.png index 522ca4cb..234d19d4 100644 Binary files a/StreamChatSwiftUITests/Tests/ChatChannel/ChannelInfo/__Snapshots__/FileAttachmentsView_Tests/test_fileAttachmentsPickerView_snapshot.1.png and b/StreamChatSwiftUITests/Tests/ChatChannel/ChannelInfo/__Snapshots__/FileAttachmentsView_Tests/test_fileAttachmentsPickerView_snapshot.1.png differ diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/ChannelInfo/__Snapshots__/FileAttachmentsView_Tests/test_fileAttachmentsView_emptySnapshot.1.png b/StreamChatSwiftUITests/Tests/ChatChannel/ChannelInfo/__Snapshots__/FileAttachmentsView_Tests/test_fileAttachmentsView_emptySnapshot.1.png index ac96aa9c..d0284a10 100644 Binary files a/StreamChatSwiftUITests/Tests/ChatChannel/ChannelInfo/__Snapshots__/FileAttachmentsView_Tests/test_fileAttachmentsView_emptySnapshot.1.png and b/StreamChatSwiftUITests/Tests/ChatChannel/ChannelInfo/__Snapshots__/FileAttachmentsView_Tests/test_fileAttachmentsView_emptySnapshot.1.png differ diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/ChannelInfo/__Snapshots__/FileAttachmentsView_Tests/test_fileAttachmentsView_loadingSnapshot.1.png b/StreamChatSwiftUITests/Tests/ChatChannel/ChannelInfo/__Snapshots__/FileAttachmentsView_Tests/test_fileAttachmentsView_loadingSnapshot.1.png index a6eaa3d4..89e69624 100644 Binary files a/StreamChatSwiftUITests/Tests/ChatChannel/ChannelInfo/__Snapshots__/FileAttachmentsView_Tests/test_fileAttachmentsView_loadingSnapshot.1.png and b/StreamChatSwiftUITests/Tests/ChatChannel/ChannelInfo/__Snapshots__/FileAttachmentsView_Tests/test_fileAttachmentsView_loadingSnapshot.1.png differ diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/ChannelInfo/__Snapshots__/FileAttachmentsView_Tests/test_fileAttachmentsView_nonEmptySnapshot.1.png b/StreamChatSwiftUITests/Tests/ChatChannel/ChannelInfo/__Snapshots__/FileAttachmentsView_Tests/test_fileAttachmentsView_nonEmptySnapshot.1.png index f2104ace..f0e17b0e 100644 Binary files a/StreamChatSwiftUITests/Tests/ChatChannel/ChannelInfo/__Snapshots__/FileAttachmentsView_Tests/test_fileAttachmentsView_nonEmptySnapshot.1.png and b/StreamChatSwiftUITests/Tests/ChatChannel/ChannelInfo/__Snapshots__/FileAttachmentsView_Tests/test_fileAttachmentsView_nonEmptySnapshot.1.png differ diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/ChannelInfo/__Snapshots__/MediaAttachmentsView_Tests/test_mediaAttachmentsView_emptySnapshot.1.png b/StreamChatSwiftUITests/Tests/ChatChannel/ChannelInfo/__Snapshots__/MediaAttachmentsView_Tests/test_mediaAttachmentsView_emptySnapshot.1.png index 30353913..67110d68 100644 Binary files a/StreamChatSwiftUITests/Tests/ChatChannel/ChannelInfo/__Snapshots__/MediaAttachmentsView_Tests/test_mediaAttachmentsView_emptySnapshot.1.png and b/StreamChatSwiftUITests/Tests/ChatChannel/ChannelInfo/__Snapshots__/MediaAttachmentsView_Tests/test_mediaAttachmentsView_emptySnapshot.1.png differ diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/ChannelInfo/__Snapshots__/MediaAttachmentsView_Tests/test_mediaAttachmentsView_loading.1.png b/StreamChatSwiftUITests/Tests/ChatChannel/ChannelInfo/__Snapshots__/MediaAttachmentsView_Tests/test_mediaAttachmentsView_loading.1.png index a6eaa3d4..89e69624 100644 Binary files a/StreamChatSwiftUITests/Tests/ChatChannel/ChannelInfo/__Snapshots__/MediaAttachmentsView_Tests/test_mediaAttachmentsView_loading.1.png and b/StreamChatSwiftUITests/Tests/ChatChannel/ChannelInfo/__Snapshots__/MediaAttachmentsView_Tests/test_mediaAttachmentsView_loading.1.png differ diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/ChannelInfo/__Snapshots__/MediaAttachmentsView_Tests/test_mediaAttachmentsView_notEmptySnapshot.1.png b/StreamChatSwiftUITests/Tests/ChatChannel/ChannelInfo/__Snapshots__/MediaAttachmentsView_Tests/test_mediaAttachmentsView_notEmptySnapshot.1.png index 733cc543..32be84b0 100644 Binary files a/StreamChatSwiftUITests/Tests/ChatChannel/ChannelInfo/__Snapshots__/MediaAttachmentsView_Tests/test_mediaAttachmentsView_notEmptySnapshot.1.png and b/StreamChatSwiftUITests/Tests/ChatChannel/ChannelInfo/__Snapshots__/MediaAttachmentsView_Tests/test_mediaAttachmentsView_notEmptySnapshot.1.png differ diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/ChannelInfo/__Snapshots__/PinnedMessagesView_Tests/test_pinnedMessagesView_emptySnapshot.1.png b/StreamChatSwiftUITests/Tests/ChatChannel/ChannelInfo/__Snapshots__/PinnedMessagesView_Tests/test_pinnedMessagesView_emptySnapshot.1.png index 25d887f2..8ac9ca3d 100644 Binary files a/StreamChatSwiftUITests/Tests/ChatChannel/ChannelInfo/__Snapshots__/PinnedMessagesView_Tests/test_pinnedMessagesView_emptySnapshot.1.png and b/StreamChatSwiftUITests/Tests/ChatChannel/ChannelInfo/__Snapshots__/PinnedMessagesView_Tests/test_pinnedMessagesView_emptySnapshot.1.png differ diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/ChannelInfo/__Snapshots__/PinnedMessagesView_Tests/test_pinnedMessagesView_notEmptySnapshot.1.png b/StreamChatSwiftUITests/Tests/ChatChannel/ChannelInfo/__Snapshots__/PinnedMessagesView_Tests/test_pinnedMessagesView_notEmptySnapshot.1.png index 5219bdb3..7af10ec0 100644 Binary files a/StreamChatSwiftUITests/Tests/ChatChannel/ChannelInfo/__Snapshots__/PinnedMessagesView_Tests/test_pinnedMessagesView_notEmptySnapshot.1.png and b/StreamChatSwiftUITests/Tests/ChatChannel/ChannelInfo/__Snapshots__/PinnedMessagesView_Tests/test_pinnedMessagesView_notEmptySnapshot.1.png differ diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/ChatChannelHeader_Tests.swift b/StreamChatSwiftUITests/Tests/ChatChannel/ChatChannelHeader_Tests.swift index 772df38b..1caf1e74 100644 --- a/StreamChatSwiftUITests/Tests/ChatChannel/ChatChannelHeader_Tests.swift +++ b/StreamChatSwiftUITests/Tests/ChatChannel/ChatChannelHeader_Tests.swift @@ -23,7 +23,7 @@ class ChatChannelHeader_Tests: StreamChatTestCase { .applyDefaultSize() // Then - assertSnapshot(matching: view, as: .image(perceptualPrecision: 0.98)) + assertSnapshot(matching: view, as: .image(perceptualPrecision: snapshotPrecision)) } func test_chatChannelHeader_snapshot() { @@ -41,7 +41,7 @@ class ChatChannelHeader_Tests: StreamChatTestCase { .applyDefaultSize() // Then - assertSnapshot(matching: view, as: .image(perceptualPrecision: 0.98)) + assertSnapshot(matching: view, as: .image(perceptualPrecision: snapshotPrecision)) } func test_channelTitleView_snapshot() { @@ -53,6 +53,6 @@ class ChatChannelHeader_Tests: StreamChatTestCase { .applyDefaultSize() // Then - assertSnapshot(matching: view, as: .image(perceptualPrecision: 0.98)) + assertSnapshot(matching: view, as: .image(perceptualPrecision: snapshotPrecision)) } } diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/ChatChannelViewDateOverlay_Tests.swift b/StreamChatSwiftUITests/Tests/ChatChannel/ChatChannelViewDateOverlay_Tests.swift index 11742927..d4004923 100644 --- a/StreamChatSwiftUITests/Tests/ChatChannel/ChatChannelViewDateOverlay_Tests.swift +++ b/StreamChatSwiftUITests/Tests/ChatChannel/ChatChannelViewDateOverlay_Tests.swift @@ -62,6 +62,6 @@ class ChatChannelViewDateOverlay_Tests: StreamChatTestCase { .applyDefaultSize() // Then - assertSnapshot(matching: view, as: .image(perceptualPrecision: 0.98)) + assertSnapshot(matching: view, as: .image(perceptualPrecision: snapshotPrecision)) } } diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/ChatChannelView_Tests.swift b/StreamChatSwiftUITests/Tests/ChatChannel/ChatChannelView_Tests.swift index 17a007c7..1314f725 100644 --- a/StreamChatSwiftUITests/Tests/ChatChannel/ChatChannelView_Tests.swift +++ b/StreamChatSwiftUITests/Tests/ChatChannel/ChatChannelView_Tests.swift @@ -51,7 +51,7 @@ class ChatChannelView_Tests: StreamChatTestCase { .applyDefaultSize() // Then - assertSnapshot(matching: view, as: .image(perceptualPrecision: 0.98)) + assertSnapshot(matching: view, as: .image(perceptualPrecision: snapshotPrecision)) } func test_chatChannelView_snapshotEmpty() { @@ -82,7 +82,7 @@ class ChatChannelView_Tests: StreamChatTestCase { .applyDefaultSize() // Then - assertSnapshot(matching: view, as: .image(perceptualPrecision: 0.98)) + assertSnapshot(matching: view, as: .image(perceptualPrecision: snapshotPrecision)) } func test_chatChannelView_snapshotLoading() { @@ -107,7 +107,7 @@ class ChatChannelView_Tests: StreamChatTestCase { .applyDefaultSize() // Then - assertSnapshot(matching: view, as: .image(perceptualPrecision: 0.98)) + assertSnapshot(matching: view, as: .image(perceptualPrecision: snapshotPrecision)) } func test_defaultChannelHeader_snapshot() { @@ -126,6 +126,6 @@ class ChatChannelView_Tests: StreamChatTestCase { .applyDefaultSize() // Then - assertSnapshot(matching: view, as: .image(perceptualPrecision: 0.98)) + assertSnapshot(matching: view, as: .image(perceptualPrecision: snapshotPrecision)) } } diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/GalleryView_Tests.swift b/StreamChatSwiftUITests/Tests/ChatChannel/GalleryView_Tests.swift index 002100db..ea933730 100644 --- a/StreamChatSwiftUITests/Tests/ChatChannel/GalleryView_Tests.swift +++ b/StreamChatSwiftUITests/Tests/ChatChannel/GalleryView_Tests.swift @@ -30,7 +30,7 @@ class GalleryView_Tests: StreamChatTestCase { .applyDefaultSize() // Then - assertSnapshot(matching: view, as: .image(perceptualPrecision: 0.98)) + assertSnapshot(matching: view, as: .image(perceptualPrecision: snapshotPrecision)) } func test_galleryHeader_snapshot() { @@ -43,7 +43,7 @@ class GalleryView_Tests: StreamChatTestCase { .frame(width: defaultScreenSize.width, height: 44) // Then - assertSnapshot(matching: header, as: .image(perceptualPrecision: 0.98)) + assertSnapshot(matching: header, as: .image(perceptualPrecision: snapshotPrecision)) } func test_gridView_snapshotLoading() { @@ -55,6 +55,6 @@ class GalleryView_Tests: StreamChatTestCase { .applyDefaultSize() // Then - assertSnapshot(matching: view, as: .image(perceptualPrecision: 0.98)) + assertSnapshot(matching: view, as: .image(perceptualPrecision: snapshotPrecision)) } } diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/LazyImageExtensions_Tests.swift b/StreamChatSwiftUITests/Tests/ChatChannel/LazyImageExtensions_Tests.swift index 1eecdd60..f3a770fd 100644 --- a/StreamChatSwiftUITests/Tests/ChatChannel/LazyImageExtensions_Tests.swift +++ b/StreamChatSwiftUITests/Tests/ChatChannel/LazyImageExtensions_Tests.swift @@ -18,7 +18,7 @@ final class LazyImageExtensions_Tests: StreamChatTestCase { .applyDefaultSize() // Then - assertSnapshot(matching: lazyImageView, as: .image(perceptualPrecision: 0.98)) + assertSnapshot(matching: lazyImageView, as: .image(perceptualPrecision: snapshotPrecision)) } func test_imageURL_nonEmpty() { @@ -29,7 +29,7 @@ final class LazyImageExtensions_Tests: StreamChatTestCase { .applyDefaultSize() // Then - assertSnapshot(matching: lazyImageView, as: .image(perceptualPrecision: 0.98)) + assertSnapshot(matching: lazyImageView, as: .image(perceptualPrecision: snapshotPrecision)) } func test_imageRequest_emptyURL() { @@ -40,6 +40,6 @@ final class LazyImageExtensions_Tests: StreamChatTestCase { .applyDefaultSize() // Then - assertSnapshot(matching: lazyImageView, as: .image(perceptualPrecision: 0.98)) + assertSnapshot(matching: lazyImageView, as: .image(perceptualPrecision: snapshotPrecision)) } } diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/MessageComposerView_Tests.swift b/StreamChatSwiftUITests/Tests/ChatChannel/MessageComposerView_Tests.swift index d27af8cc..b692f4c6 100644 --- a/StreamChatSwiftUITests/Tests/ChatChannel/MessageComposerView_Tests.swift +++ b/StreamChatSwiftUITests/Tests/ChatChannel/MessageComposerView_Tests.swift @@ -36,7 +36,7 @@ class MessageComposerView_Tests: StreamChatTestCase { .frame(width: defaultScreenSize.width, height: 100) // Then - assertSnapshot(matching: view, as: .image(perceptualPrecision: 0.98)) + assertSnapshot(matching: view, as: .image(perceptualPrecision: snapshotPrecision)) } func test_composerInputView_slowMode() { @@ -60,7 +60,7 @@ class MessageComposerView_Tests: StreamChatTestCase { .frame(width: defaultScreenSize.width, height: 100) // Then - assertSnapshot(matching: view, as: .image(perceptualPrecision: 0.98)) + assertSnapshot(matching: view, as: .image(perceptualPrecision: snapshotPrecision)) } func test_trailingComposerView_snapshot() { @@ -76,7 +76,7 @@ class MessageComposerView_Tests: StreamChatTestCase { .frame(width: 40, height: 40) // Then - assertSnapshot(matching: view, as: .image(perceptualPrecision: 0.98)) + assertSnapshot(matching: view, as: .image(perceptualPrecision: snapshotPrecision)) } func test_trailingComposerView_slowMode() { @@ -92,7 +92,7 @@ class MessageComposerView_Tests: StreamChatTestCase { .frame(width: 40, height: 40) // Then - assertSnapshot(matching: view, as: .image(perceptualPrecision: 0.98)) + assertSnapshot(matching: view, as: .image(perceptualPrecision: snapshotPrecision)) } func test_composerInputView_inputTextView() { @@ -106,7 +106,7 @@ class MessageComposerView_Tests: StreamChatTestCase { view.selectedRange.location = 3 // Then - assertSnapshot(matching: view, as: .image(perceptualPrecision: 0.98)) + assertSnapshot(matching: view, as: .image(perceptualPrecision: snapshotPrecision)) } func test_composerInputView_composerInputTextView() { @@ -122,7 +122,7 @@ class MessageComposerView_Tests: StreamChatTestCase { .frame(width: defaultScreenSize.width, height: 50) // Then - assertSnapshot(matching: view, as: .image(perceptualPrecision: 0.98)) + assertSnapshot(matching: view, as: .image(perceptualPrecision: snapshotPrecision)) } func test_composerInputView_rangeSelection() { @@ -187,7 +187,7 @@ class MessageComposerView_Tests: StreamChatTestCase { .frame(width: defaultScreenSize.width, height: 36) // Then - assertSnapshot(matching: view, as: .image(perceptualPrecision: 0.98)) + assertSnapshot(matching: view, as: .image(perceptualPrecision: snapshotPrecision)) } func test_composerInputView_snapshot() { @@ -210,7 +210,7 @@ class MessageComposerView_Tests: StreamChatTestCase { coordinator.updateHeight(inputView, shouldAnimate: false) // Then - assertSnapshot(matching: viewWithSize, as: .image(perceptualPrecision: 0.98)) + assertSnapshot(matching: viewWithSize, as: .image(perceptualPrecision: snapshotPrecision)) XCTAssert(coordinator.textInput.height == 100) } @@ -243,7 +243,7 @@ class MessageComposerView_Tests: StreamChatTestCase { .background(.black) // Then - assertSnapshot(matching: view, as: .image(perceptualPrecision: 0.98)) + assertSnapshot(matching: view, as: .image(perceptualPrecision: snapshotPrecision)) } func test_videoDurationIndicatorView_snapshot() { @@ -253,7 +253,7 @@ class MessageComposerView_Tests: StreamChatTestCase { .background(.black) // Then - assertSnapshot(matching: view, as: .image(perceptualPrecision: 0.98)) + assertSnapshot(matching: view, as: .image(perceptualPrecision: snapshotPrecision)) } func test_photosPickerView_snapshot() { @@ -266,6 +266,6 @@ class MessageComposerView_Tests: StreamChatTestCase { .applyDefaultSize() // Then - assertSnapshot(matching: view, as: .image(perceptualPrecision: 0.98)) + assertSnapshot(matching: view, as: .image(perceptualPrecision: snapshotPrecision)) } } diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/MessageContainerView_Tests.swift b/StreamChatSwiftUITests/Tests/ChatChannel/MessageContainerView_Tests.swift index 8ec157d8..5674da41 100644 --- a/StreamChatSwiftUITests/Tests/ChatChannel/MessageContainerView_Tests.swift +++ b/StreamChatSwiftUITests/Tests/ChatChannel/MessageContainerView_Tests.swift @@ -30,7 +30,7 @@ class MessageContainerView_Tests: StreamChatTestCase { let view = testMessageViewContainer(message: message) // Then - assertSnapshot(matching: view, as: .image(perceptualPrecision: 0.98)) + assertSnapshot(matching: view, as: .image(perceptualPrecision: snapshotPrecision)) } func test_messageContainerViewSentOtherUser_snapshot() { @@ -46,7 +46,7 @@ class MessageContainerView_Tests: StreamChatTestCase { let view = testMessageViewContainer(message: message) // Then - assertSnapshot(matching: view, as: .image(perceptualPrecision: 0.98)) + assertSnapshot(matching: view, as: .image(perceptualPrecision: snapshotPrecision)) } func test_messageContainerViewPinned_snapshot() { @@ -67,7 +67,7 @@ class MessageContainerView_Tests: StreamChatTestCase { let view = testMessageViewContainer(message: message) // Then - assertSnapshot(matching: view, as: .image(perceptualPrecision: 0.98)) + assertSnapshot(matching: view, as: .image(perceptualPrecision: snapshotPrecision)) } func test_videoAttachment_snapshotNoText() { @@ -89,7 +89,7 @@ class MessageContainerView_Tests: StreamChatTestCase { .applyDefaultSize() // Then - assertSnapshot(matching: view, as: .image(perceptualPrecision: 0.98)) + assertSnapshot(matching: view, as: .image(perceptualPrecision: snapshotPrecision)) } func test_videoAttachment_snapshotText() { @@ -113,7 +113,7 @@ class MessageContainerView_Tests: StreamChatTestCase { .padding() // Then - assertSnapshot(matching: view, as: .image(perceptualPrecision: 0.98)) + assertSnapshot(matching: view, as: .image(perceptualPrecision: snapshotPrecision)) } func test_imageAttachments_snapshot() { @@ -137,7 +137,7 @@ class MessageContainerView_Tests: StreamChatTestCase { .frame(width: 200) // Then - assertSnapshot(matching: view, as: .image(perceptualPrecision: 0.98)) + assertSnapshot(matching: view, as: .image(perceptualPrecision: snapshotPrecision)) } func test_imageAttachments_snapshotFiveImages() { @@ -163,7 +163,7 @@ class MessageContainerView_Tests: StreamChatTestCase { .frame(width: 200) // Then - assertSnapshot(matching: view, as: .image(perceptualPrecision: 0.98)) + assertSnapshot(matching: view, as: .image(perceptualPrecision: snapshotPrecision)) } // MARK: - private diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/MessageListViewAvatars_Tests.swift b/StreamChatSwiftUITests/Tests/ChatChannel/MessageListViewAvatars_Tests.swift index 86f72264..88ecd295 100644 --- a/StreamChatSwiftUITests/Tests/ChatChannel/MessageListViewAvatars_Tests.swift +++ b/StreamChatSwiftUITests/Tests/ChatChannel/MessageListViewAvatars_Tests.swift @@ -18,7 +18,7 @@ class MessageListViewAvatars_Tests: StreamChatTestCase { let view = makeMessageListView(with: channel).applyDefaultSize() // Then - assertSnapshot(matching: view, as: .image(perceptualPrecision: 0.98)) + assertSnapshot(matching: view, as: .image(perceptualPrecision: snapshotPrecision)) } func test_messageListView_defaultGroupsChannel() { @@ -30,7 +30,7 @@ class MessageListViewAvatars_Tests: StreamChatTestCase { let view = makeMessageListView(with: channel).applyDefaultSize() // Then - assertSnapshot(matching: view, as: .image(perceptualPrecision: 0.98)) + assertSnapshot(matching: view, as: .image(perceptualPrecision: snapshotPrecision)) } func test_messageListView_dmChannelAvatarsOff() { @@ -42,7 +42,7 @@ class MessageListViewAvatars_Tests: StreamChatTestCase { let view = makeMessageListView(with: channel).applyDefaultSize() // Then - assertSnapshot(matching: view, as: .image(perceptualPrecision: 0.98)) + assertSnapshot(matching: view, as: .image(perceptualPrecision: snapshotPrecision)) } func test_messageListView_groupsChannelAvatarsOff() { @@ -54,7 +54,7 @@ class MessageListViewAvatars_Tests: StreamChatTestCase { let view = makeMessageListView(with: channel).applyDefaultSize() // Then - assertSnapshot(matching: view, as: .image(perceptualPrecision: 0.98)) + assertSnapshot(matching: view, as: .image(perceptualPrecision: snapshotPrecision)) } private func setupConfig(showAvatars: Bool, showAvatarsInGroups: Bool?) { diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/MessageListViewLastGroupHeader_Tests.swift b/StreamChatSwiftUITests/Tests/ChatChannel/MessageListViewLastGroupHeader_Tests.swift index ca7b869f..f61aec81 100644 --- a/StreamChatSwiftUITests/Tests/ChatChannel/MessageListViewLastGroupHeader_Tests.swift +++ b/StreamChatSwiftUITests/Tests/ChatChannel/MessageListViewLastGroupHeader_Tests.swift @@ -58,7 +58,7 @@ class MessageListViewLastGroupHeader_Tests: StreamChatTestCase { .applyDefaultSize() // Then - assertSnapshot(matching: view, as: .image(perceptualPrecision: 0.98)) + assertSnapshot(matching: view, as: .image(perceptualPrecision: snapshotPrecision)) } } diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/MessageListViewNewMessages_Tests.swift b/StreamChatSwiftUITests/Tests/ChatChannel/MessageListViewNewMessages_Tests.swift index e16d8e46..3687479b 100644 --- a/StreamChatSwiftUITests/Tests/ChatChannel/MessageListViewNewMessages_Tests.swift +++ b/StreamChatSwiftUITests/Tests/ChatChannel/MessageListViewNewMessages_Tests.swift @@ -30,7 +30,7 @@ final class MessageListViewNewMessages_Tests: StreamChatTestCase { .applyDefaultSize() // Then - assertSnapshot(matching: messageListView, as: .image(perceptualPrecision: 0.98)) + assertSnapshot(matching: messageListView, as: .image(perceptualPrecision: snapshotPrecision)) } func test_messageListViewNewMessages_moreMessages() { @@ -48,7 +48,7 @@ final class MessageListViewNewMessages_Tests: StreamChatTestCase { .applyDefaultSize() // Then - assertSnapshot(matching: messageListView, as: .image(perceptualPrecision: 0.98)) + assertSnapshot(matching: messageListView, as: .image(perceptualPrecision: snapshotPrecision)) } func test_messageListViewNewMessages_moreMessagesInBetween() { @@ -66,7 +66,7 @@ final class MessageListViewNewMessages_Tests: StreamChatTestCase { .applyDefaultSize() // Then - assertSnapshot(matching: messageListView, as: .image(perceptualPrecision: 0.98)) + assertSnapshot(matching: messageListView, as: .image(perceptualPrecision: snapshotPrecision)) } func test_messageListViewNewMessages_noMessages() { @@ -84,7 +84,7 @@ final class MessageListViewNewMessages_Tests: StreamChatTestCase { .applyDefaultSize() // Then - assertSnapshot(matching: messageListView, as: .image(perceptualPrecision: 0.98)) + assertSnapshot(matching: messageListView, as: .image(perceptualPrecision: snapshotPrecision)) } // MARK: - private diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/MessageListView_Tests.swift b/StreamChatSwiftUITests/Tests/ChatChannel/MessageListView_Tests.swift index ed3da336..50eac8d2 100644 --- a/StreamChatSwiftUITests/Tests/ChatChannel/MessageListView_Tests.swift +++ b/StreamChatSwiftUITests/Tests/ChatChannel/MessageListView_Tests.swift @@ -17,7 +17,7 @@ class MessageListView_Tests: StreamChatTestCase { .applyDefaultSize() // Then - assertSnapshot(matching: messageListView, as: .image(perceptualPrecision: 0.98)) + assertSnapshot(matching: messageListView, as: .image(perceptualPrecision: snapshotPrecision)) } func test_messageListView_noReactions() { @@ -27,7 +27,7 @@ class MessageListView_Tests: StreamChatTestCase { .applyDefaultSize() // Then - assertSnapshot(matching: messageListView, as: .image(perceptualPrecision: 0.98)) + assertSnapshot(matching: messageListView, as: .image(perceptualPrecision: snapshotPrecision)) } func test_scrollToBottomButton_snapshotUnreadCount() { @@ -35,7 +35,7 @@ class MessageListView_Tests: StreamChatTestCase { let button = ScrollToBottomButton(unreadCount: 3, onScrollToBottom: {}) // Then - assertSnapshot(matching: button, as: .image(perceptualPrecision: 0.98)) + assertSnapshot(matching: button, as: .image(perceptualPrecision: snapshotPrecision)) } func test_scrollToBottomButton_snapshotEmptyCount() { @@ -43,7 +43,7 @@ class MessageListView_Tests: StreamChatTestCase { let button = ScrollToBottomButton(unreadCount: 0, onScrollToBottom: {}) // Then - assertSnapshot(matching: button, as: .image(perceptualPrecision: 0.98)) + assertSnapshot(matching: button, as: .image(perceptualPrecision: snapshotPrecision)) } func test_messageListView_typingIndicator() { @@ -57,23 +57,7 @@ class MessageListView_Tests: StreamChatTestCase { .applyDefaultSize() // Then - assertSnapshot(matching: messageListView, as: .image(perceptualPrecision: 0.98)) - } - - func test_messageListView_snapshot() { - // Given - let channelConfig = ChannelConfig(reactionsEnabled: true) - let messageListView = makeMessageListView(channelConfig: channelConfig) - .applyDefaultSize() - - // When - let snapshotCreator = DefaultSnapshotCreator() - let viewController = UIHostingController(rootView: messageListView) - let snapshot = snapshotCreator.makeSnapshot(from: viewController.view) - let view = Image(uiImage: snapshot) - - // Then - assertSnapshot(matching: view, as: .image(perceptualPrecision: 0.98)) + assertSnapshot(matching: messageListView, as: .image(perceptualPrecision: snapshotPrecision)) } func test_messageListView_snapshotFallback() { @@ -88,7 +72,7 @@ class MessageListView_Tests: StreamChatTestCase { let view = Image(uiImage: snapshot) // Then - assertSnapshot(matching: view, as: .image(perceptualPrecision: 0.98)) + assertSnapshot(matching: view, as: .image(perceptualPrecision: snapshotPrecision)) } // MARK: - private diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/MessageReadIndicatorView_Tests.swift b/StreamChatSwiftUITests/Tests/ChatChannel/MessageReadIndicatorView_Tests.swift index b0e1d1c8..e9f06bf2 100644 --- a/StreamChatSwiftUITests/Tests/ChatChannel/MessageReadIndicatorView_Tests.swift +++ b/StreamChatSwiftUITests/Tests/ChatChannel/MessageReadIndicatorView_Tests.swift @@ -18,7 +18,7 @@ class MessageReadIndicatorView_Tests: StreamChatTestCase { .frame(width: 50, height: 16) // Then - assertSnapshot(matching: view, as: .image(perceptualPrecision: 0.98)) + assertSnapshot(matching: view, as: .image(perceptualPrecision: snapshotPrecision)) } func test_messageReadIndicatorView_snapshotMessageReadDirect() { @@ -30,7 +30,7 @@ class MessageReadIndicatorView_Tests: StreamChatTestCase { .frame(width: 50, height: 16) // Then - assertSnapshot(matching: view, as: .image(perceptualPrecision: 0.98)) + assertSnapshot(matching: view, as: .image(perceptualPrecision: snapshotPrecision)) } func test_messageReadIndicatorView_snapshotMessageReadGroup() { @@ -42,7 +42,7 @@ class MessageReadIndicatorView_Tests: StreamChatTestCase { .frame(width: 50, height: 16) // Then - assertSnapshot(matching: view, as: .image(perceptualPrecision: 0.98)) + assertSnapshot(matching: view, as: .image(perceptualPrecision: snapshotPrecision)) } func test_messageReadIndicatorView_snapshotPendingSend() { @@ -55,6 +55,6 @@ class MessageReadIndicatorView_Tests: StreamChatTestCase { .frame(width: 50, height: 16) // Then - assertSnapshot(matching: view, as: .image(perceptualPrecision: 0.98)) + assertSnapshot(matching: view, as: .image(perceptualPrecision: snapshotPrecision)) } } diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/MessageViewMultiRowReactions_Tests.swift b/StreamChatSwiftUITests/Tests/ChatChannel/MessageViewMultiRowReactions_Tests.swift index 59a091fe..b69ba2d0 100644 --- a/StreamChatSwiftUITests/Tests/ChatChannel/MessageViewMultiRowReactions_Tests.swift +++ b/StreamChatSwiftUITests/Tests/ChatChannel/MessageViewMultiRowReactions_Tests.swift @@ -60,7 +60,7 @@ final class MessageViewMultiRowReactions_Tests: StreamChatTestCase { .applyDefaultSize() // Then - assertSnapshot(matching: view, as: .image(perceptualPrecision: 0.98)) + assertSnapshot(matching: view, as: .image(perceptualPrecision: snapshotPrecision)) } } diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/MessageView_Tests.swift b/StreamChatSwiftUITests/Tests/ChatChannel/MessageView_Tests.swift index b7b6610a..9ccd775a 100644 --- a/StreamChatSwiftUITests/Tests/ChatChannel/MessageView_Tests.swift +++ b/StreamChatSwiftUITests/Tests/ChatChannel/MessageView_Tests.swift @@ -30,7 +30,7 @@ class MessageView_Tests: StreamChatTestCase { .applyDefaultSize() // Then - assertSnapshot(matching: view, as: .image(perceptualPrecision: 0.98)) + assertSnapshot(matching: view, as: .image(perceptualPrecision: snapshotPrecision)) } func test_messageViewImage_snapshot() { @@ -54,7 +54,7 @@ class MessageView_Tests: StreamChatTestCase { .applyDefaultSize() // Then - assertSnapshot(matching: view, as: .image(perceptualPrecision: 0.98)) + assertSnapshot(matching: view, as: .image(perceptualPrecision: snapshotPrecision)) } func test_messageViewImage_snapshot2Images() { @@ -81,7 +81,7 @@ class MessageView_Tests: StreamChatTestCase { .applyDefaultSize() // Then - assertSnapshot(matching: view, as: .image(perceptualPrecision: 0.98)) + assertSnapshot(matching: view, as: .image(perceptualPrecision: snapshotPrecision)) } func test_messageViewImage_snapshot3Images() { @@ -109,7 +109,7 @@ class MessageView_Tests: StreamChatTestCase { .applyDefaultSize() // Then - assertSnapshot(matching: view, as: .image(perceptualPrecision: 0.98)) + assertSnapshot(matching: view, as: .image(perceptualPrecision: snapshotPrecision)) } func test_messageViewImage_snapshotQuoted() { @@ -140,7 +140,7 @@ class MessageView_Tests: StreamChatTestCase { .applyDefaultSize() // Then - assertSnapshot(matching: view, as: .image(perceptualPrecision: 0.98)) + assertSnapshot(matching: view, as: .image(perceptualPrecision: snapshotPrecision)) } func test_messageViewGiphy_snapshot() { @@ -164,7 +164,7 @@ class MessageView_Tests: StreamChatTestCase { .applyDefaultSize() // Then - assertSnapshot(matching: view, as: .image(perceptualPrecision: 0.98)) + assertSnapshot(matching: view, as: .image(perceptualPrecision: snapshotPrecision)) } func test_messageViewVideo_snapshot() { @@ -188,7 +188,7 @@ class MessageView_Tests: StreamChatTestCase { .applyDefaultSize() // Then - assertSnapshot(matching: view, as: .image(perceptualPrecision: 0.98)) + assertSnapshot(matching: view, as: .image(perceptualPrecision: snapshotPrecision)) } func test_messageViewFile_snapshot() { @@ -212,7 +212,7 @@ class MessageView_Tests: StreamChatTestCase { .applyDefaultSize() // Then - assertSnapshot(matching: view, as: .image(perceptualPrecision: 0.98)) + assertSnapshot(matching: view, as: .image(perceptualPrecision: snapshotPrecision)) } func test_messageViewFileText_snapshot() { @@ -236,7 +236,7 @@ class MessageView_Tests: StreamChatTestCase { .applyDefaultSize() // Then - assertSnapshot(matching: view, as: .image(perceptualPrecision: 0.98)) + assertSnapshot(matching: view, as: .image(perceptualPrecision: snapshotPrecision)) } func test_messageViewJumboEmoji_snapshot() { @@ -259,7 +259,7 @@ class MessageView_Tests: StreamChatTestCase { .applyDefaultSize() // Then - assertSnapshot(matching: view, as: .image(perceptualPrecision: 0.98)) + assertSnapshot(matching: view, as: .image(perceptualPrecision: snapshotPrecision)) } func test_linkAttachmentView_snapshot() { @@ -282,7 +282,7 @@ class MessageView_Tests: StreamChatTestCase { .applyDefaultSize() // Then - assertSnapshot(matching: view, as: .image(perceptualPrecision: 0.98)) + assertSnapshot(matching: view, as: .image(perceptualPrecision: snapshotPrecision)) } func test_deletedMessageView_snapshot() { @@ -299,7 +299,7 @@ class MessageView_Tests: StreamChatTestCase { .applyDefaultSize() // Then - assertSnapshot(matching: view, as: .image(perceptualPrecision: 0.98)) + assertSnapshot(matching: view, as: .image(perceptualPrecision: snapshotPrecision)) } func test_deletedMessageViewContainer_snapshot() { @@ -322,7 +322,7 @@ class MessageView_Tests: StreamChatTestCase { .applyDefaultSize() // Then - assertSnapshot(matching: view, as: .image(perceptualPrecision: 0.98)) + assertSnapshot(matching: view, as: .image(perceptualPrecision: snapshotPrecision)) } func test_messageRepliesView_snapshot() { @@ -345,7 +345,7 @@ class MessageView_Tests: StreamChatTestCase { .frame(width: 300, height: 60) // Then - assertSnapshot(matching: view, as: .image(perceptualPrecision: 0.98)) + assertSnapshot(matching: view, as: .image(perceptualPrecision: snapshotPrecision)) } func test_topLeftView_snapshot() { @@ -359,6 +359,6 @@ class MessageView_Tests: StreamChatTestCase { .applyDefaultSize() // When - assertSnapshot(matching: view, as: .image(perceptualPrecision: 0.98)) + assertSnapshot(matching: view, as: .image(perceptualPrecision: snapshotPrecision)) } } diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/QuotedMessageView_Tests.swift b/StreamChatSwiftUITests/Tests/ChatChannel/QuotedMessageView_Tests.swift index 3a12695b..58c54852 100644 --- a/StreamChatSwiftUITests/Tests/ChatChannel/QuotedMessageView_Tests.swift +++ b/StreamChatSwiftUITests/Tests/ChatChannel/QuotedMessageView_Tests.swift @@ -28,7 +28,7 @@ class QuotedMessageView_Tests: StreamChatTestCase { .applyDefaultSize() // Then - assertSnapshot(matching: view, as: .image(perceptualPrecision: 0.98)) + assertSnapshot(matching: view, as: .image(perceptualPrecision: snapshotPrecision)) } func test_quotedMessageView_snapshot() { @@ -42,6 +42,6 @@ class QuotedMessageView_Tests: StreamChatTestCase { .applyDefaultSize() // Then - assertSnapshot(matching: view, as: .image(perceptualPrecision: 0.98)) + assertSnapshot(matching: view, as: .image(perceptualPrecision: snapshotPrecision)) } } diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/ReactionsOverlayView_Tests.swift b/StreamChatSwiftUITests/Tests/ChatChannel/ReactionsOverlayView_Tests.swift index bdbc8594..3b728af4 100644 --- a/StreamChatSwiftUITests/Tests/ChatChannel/ReactionsOverlayView_Tests.swift +++ b/StreamChatSwiftUITests/Tests/ChatChannel/ReactionsOverlayView_Tests.swift @@ -45,7 +45,7 @@ class ReactionsOverlayView_Tests: StreamChatTestCase { } // Then - assertSnapshot(matching: view, as: .image(perceptualPrecision: 0.98)) + assertSnapshot(matching: view, as: .image(perceptualPrecision: snapshotPrecision)) } func test_reactionsOverlayView_noReactions() { @@ -64,7 +64,7 @@ class ReactionsOverlayView_Tests: StreamChatTestCase { } // Then - assertSnapshot(matching: view, as: .image(perceptualPrecision: 0.98)) + assertSnapshot(matching: view, as: .image(perceptualPrecision: snapshotPrecision)) } func test_reactionsOverlayView_usersReactions() { @@ -107,7 +107,7 @@ class ReactionsOverlayView_Tests: StreamChatTestCase { } // Then - assertSnapshot(matching: view, as: .image(perceptualPrecision: 0.98)) + assertSnapshot(matching: view, as: .image(perceptualPrecision: snapshotPrecision)) } func test_reactionsOverlay_veryLongMessage() { @@ -143,7 +143,7 @@ class ReactionsOverlayView_Tests: StreamChatTestCase { } // Then - assertSnapshot(matching: view, as: .image(perceptualPrecision: 0.98)) + assertSnapshot(matching: view, as: .image(perceptualPrecision: snapshotPrecision)) } func test_reactionAnimatableView_snapshot() { @@ -162,7 +162,7 @@ class ReactionsOverlayView_Tests: StreamChatTestCase { .frame(width: 24, height: 24) // Then - assertSnapshot(matching: view, as: .image(perceptualPrecision: 0.98)) + assertSnapshot(matching: view, as: .image(perceptualPrecision: snapshotPrecision)) } func test_reactionsOverlayContainer_snapshot() { @@ -177,7 +177,7 @@ class ReactionsOverlayView_Tests: StreamChatTestCase { ) // Then - assertSnapshot(matching: view, as: .image(perceptualPrecision: 0.98)) + assertSnapshot(matching: view, as: .image(perceptualPrecision: snapshotPrecision)) } func test_reactionsAnimatableView_snapshot() { @@ -193,7 +193,7 @@ class ReactionsOverlayView_Tests: StreamChatTestCase { ) // Then - assertSnapshot(matching: view, as: .image(perceptualPrecision: 0.98)) + assertSnapshot(matching: view, as: .image(perceptualPrecision: snapshotPrecision)) } func test_chatMessage_reactionOffsetCurrentUser() { diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/ReactionsUsersView_Tests.swift b/StreamChatSwiftUITests/Tests/ChatChannel/ReactionsUsersView_Tests.swift index 20e91c7f..02bd814e 100644 --- a/StreamChatSwiftUITests/Tests/ChatChannel/ReactionsUsersView_Tests.swift +++ b/StreamChatSwiftUITests/Tests/ChatChannel/ReactionsUsersView_Tests.swift @@ -34,7 +34,7 @@ class ReactionsUsersView_Tests: StreamChatTestCase { .frame(width: 250) // Then - assertSnapshot(matching: view, as: .image(perceptualPrecision: 0.98)) + assertSnapshot(matching: view, as: .image(perceptualPrecision: snapshotPrecision)) } func test_reactionsUsersView_snapshotTwoRows() { @@ -66,6 +66,6 @@ class ReactionsUsersView_Tests: StreamChatTestCase { .frame(width: defaultScreenSize.width, height: 320) // Then - assertSnapshot(matching: view, as: .image(perceptualPrecision: 0.98)) + assertSnapshot(matching: view, as: .image(perceptualPrecision: snapshotPrecision)) } } diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/Suggestions/InstantCommandsView_Tests.swift b/StreamChatSwiftUITests/Tests/ChatChannel/Suggestions/InstantCommandsView_Tests.swift index a3837e34..eb73fd2f 100644 --- a/StreamChatSwiftUITests/Tests/ChatChannel/Suggestions/InstantCommandsView_Tests.swift +++ b/StreamChatSwiftUITests/Tests/ChatChannel/Suggestions/InstantCommandsView_Tests.swift @@ -23,7 +23,7 @@ class InstantCommandsView_Tests: StreamChatTestCase { .frame(width: defaultScreenSize.width, height: 100) // Then - assertSnapshot(matching: view, as: .image(perceptualPrecision: 0.98)) + assertSnapshot(matching: view, as: .image(perceptualPrecision: snapshotPrecision)) } func test_instantCommandsContainerViewEmpty_snapshot() { @@ -35,7 +35,7 @@ class InstantCommandsView_Tests: StreamChatTestCase { .applyDefaultSize() // Then - assertSnapshot(matching: view, as: .image(perceptualPrecision: 0.98)) + assertSnapshot(matching: view, as: .image(perceptualPrecision: snapshotPrecision)) } func test_instantCommandsContainerView_snapshot() { @@ -47,7 +47,7 @@ class InstantCommandsView_Tests: StreamChatTestCase { .applyDefaultSize() // Then - assertSnapshot(matching: view, as: .image(perceptualPrecision: 0.98)) + assertSnapshot(matching: view, as: .image(perceptualPrecision: snapshotPrecision)) } func test_instantCommandsContainerMaxSize_snapshot() { @@ -62,7 +62,7 @@ class InstantCommandsView_Tests: StreamChatTestCase { .applyDefaultSize() // Then - assertSnapshot(matching: view, as: .image(perceptualPrecision: 0.98)) + assertSnapshot(matching: view, as: .image(perceptualPrecision: snapshotPrecision)) } private func defaultCommands(suffix: String = "") -> [CommandHandler] { diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/Suggestions/__Snapshots__/InstantCommandsView_Tests/test_instantCommandsContainerMaxSize_snapshot.1.png b/StreamChatSwiftUITests/Tests/ChatChannel/Suggestions/__Snapshots__/InstantCommandsView_Tests/test_instantCommandsContainerMaxSize_snapshot.1.png index a21ff72e..457d357e 100644 Binary files a/StreamChatSwiftUITests/Tests/ChatChannel/Suggestions/__Snapshots__/InstantCommandsView_Tests/test_instantCommandsContainerMaxSize_snapshot.1.png and b/StreamChatSwiftUITests/Tests/ChatChannel/Suggestions/__Snapshots__/InstantCommandsView_Tests/test_instantCommandsContainerMaxSize_snapshot.1.png differ diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/Suggestions/__Snapshots__/InstantCommandsView_Tests/test_instantCommandsContainerViewEmpty_snapshot.1.png b/StreamChatSwiftUITests/Tests/ChatChannel/Suggestions/__Snapshots__/InstantCommandsView_Tests/test_instantCommandsContainerViewEmpty_snapshot.1.png index 71828128..963ee205 100644 Binary files a/StreamChatSwiftUITests/Tests/ChatChannel/Suggestions/__Snapshots__/InstantCommandsView_Tests/test_instantCommandsContainerViewEmpty_snapshot.1.png and b/StreamChatSwiftUITests/Tests/ChatChannel/Suggestions/__Snapshots__/InstantCommandsView_Tests/test_instantCommandsContainerViewEmpty_snapshot.1.png differ diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/Suggestions/__Snapshots__/InstantCommandsView_Tests/test_instantCommandsContainerView_snapshot.1.png b/StreamChatSwiftUITests/Tests/ChatChannel/Suggestions/__Snapshots__/InstantCommandsView_Tests/test_instantCommandsContainerView_snapshot.1.png index 679bd589..da42acc3 100644 Binary files a/StreamChatSwiftUITests/Tests/ChatChannel/Suggestions/__Snapshots__/InstantCommandsView_Tests/test_instantCommandsContainerView_snapshot.1.png and b/StreamChatSwiftUITests/Tests/ChatChannel/Suggestions/__Snapshots__/InstantCommandsView_Tests/test_instantCommandsContainerView_snapshot.1.png differ diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/Suggestions/__Snapshots__/InstantCommandsView_Tests/test_instantCommandsView_snapshot.1.png b/StreamChatSwiftUITests/Tests/ChatChannel/Suggestions/__Snapshots__/InstantCommandsView_Tests/test_instantCommandsView_snapshot.1.png index 456aa450..be9a80de 100644 Binary files a/StreamChatSwiftUITests/Tests/ChatChannel/Suggestions/__Snapshots__/InstantCommandsView_Tests/test_instantCommandsView_snapshot.1.png and b/StreamChatSwiftUITests/Tests/ChatChannel/Suggestions/__Snapshots__/InstantCommandsView_Tests/test_instantCommandsView_snapshot.1.png differ diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/TypingIndicatorView_Tests.swift b/StreamChatSwiftUITests/Tests/ChatChannel/TypingIndicatorView_Tests.swift index 69a91c4c..e1932c97 100644 --- a/StreamChatSwiftUITests/Tests/ChatChannel/TypingIndicatorView_Tests.swift +++ b/StreamChatSwiftUITests/Tests/ChatChannel/TypingIndicatorView_Tests.swift @@ -6,7 +6,7 @@ import SnapshotTesting @testable import StreamChatSwiftUI import XCTest -class TypingIndicatorView_Tests: XCTestCase { +class TypingIndicatorView_Tests: StreamChatTestCase { func test_typingIndicatorView_snapshot() { // Given @@ -14,6 +14,6 @@ class TypingIndicatorView_Tests: XCTestCase { .frame(width: 20, height: 16) // Then - assertSnapshot(matching: view, as: .image(perceptualPrecision: 0.98)) + assertSnapshot(matching: view, as: .image(perceptualPrecision: snapshotPrecision)) } } diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/WebView_Tests.swift b/StreamChatSwiftUITests/Tests/ChatChannel/WebView_Tests.swift index a4f579d0..e7510eba 100644 --- a/StreamChatSwiftUITests/Tests/ChatChannel/WebView_Tests.swift +++ b/StreamChatSwiftUITests/Tests/ChatChannel/WebView_Tests.swift @@ -27,6 +27,6 @@ class WebView_Tests: StreamChatTestCase { .applyDefaultSize() // Then - assertSnapshot(matching: webView, as: .image(perceptualPrecision: 0.98)) + assertSnapshot(matching: webView, as: .image(perceptualPrecision: snapshotPrecision)) } } diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/ChatChannelHeader_Tests/test_channelTitleView_snapshot.1.png b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/ChatChannelHeader_Tests/test_channelTitleView_snapshot.1.png index 930cc581..c3212d88 100644 Binary files a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/ChatChannelHeader_Tests/test_channelTitleView_snapshot.1.png and b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/ChatChannelHeader_Tests/test_channelTitleView_snapshot.1.png differ diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/ChatChannelHeader_Tests/test_chatChannelHeaderModifier_snapshot.1.png b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/ChatChannelHeader_Tests/test_chatChannelHeaderModifier_snapshot.1.png index c2856fc4..39659c56 100644 Binary files a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/ChatChannelHeader_Tests/test_chatChannelHeaderModifier_snapshot.1.png and b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/ChatChannelHeader_Tests/test_chatChannelHeaderModifier_snapshot.1.png differ diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/ChatChannelHeader_Tests/test_chatChannelHeader_snapshot.1.png b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/ChatChannelHeader_Tests/test_chatChannelHeader_snapshot.1.png index a553a68e..764c0eb2 100644 Binary files a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/ChatChannelHeader_Tests/test_chatChannelHeader_snapshot.1.png and b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/ChatChannelHeader_Tests/test_chatChannelHeader_snapshot.1.png differ diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/ChatChannelViewDateOverlay_Tests/test_chatChannelView_snapshot.1.png b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/ChatChannelViewDateOverlay_Tests/test_chatChannelView_snapshot.1.png index f8f6e258..fdd12002 100644 Binary files a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/ChatChannelViewDateOverlay_Tests/test_chatChannelView_snapshot.1.png and b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/ChatChannelViewDateOverlay_Tests/test_chatChannelView_snapshot.1.png differ diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/ChatChannelView_Tests/test_chatChannelView_snapshot.1.png b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/ChatChannelView_Tests/test_chatChannelView_snapshot.1.png index 788ab8b2..bc206a58 100644 Binary files a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/ChatChannelView_Tests/test_chatChannelView_snapshot.1.png and b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/ChatChannelView_Tests/test_chatChannelView_snapshot.1.png differ diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/ChatChannelView_Tests/test_chatChannelView_snapshotEmpty.1.png b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/ChatChannelView_Tests/test_chatChannelView_snapshotEmpty.1.png index 8ab789ab..1987ea8c 100644 Binary files a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/ChatChannelView_Tests/test_chatChannelView_snapshotEmpty.1.png and b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/ChatChannelView_Tests/test_chatChannelView_snapshotEmpty.1.png differ diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/ChatChannelView_Tests/test_chatChannelView_snapshotLoading.1.png b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/ChatChannelView_Tests/test_chatChannelView_snapshotLoading.1.png index a2aa1100..c1eb554f 100644 Binary files a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/ChatChannelView_Tests/test_chatChannelView_snapshotLoading.1.png and b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/ChatChannelView_Tests/test_chatChannelView_snapshotLoading.1.png differ diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/ChatChannelView_Tests/test_defaultChannelHeader_snapshot.1.png b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/ChatChannelView_Tests/test_defaultChannelHeader_snapshot.1.png index b4998a83..499f4066 100644 Binary files a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/ChatChannelView_Tests/test_defaultChannelHeader_snapshot.1.png and b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/ChatChannelView_Tests/test_defaultChannelHeader_snapshot.1.png differ diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/GalleryView_Tests/test_galleryHeader_snapshot.1.png b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/GalleryView_Tests/test_galleryHeader_snapshot.1.png index ccd9881b..4fb69b6c 100644 Binary files a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/GalleryView_Tests/test_galleryHeader_snapshot.1.png and b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/GalleryView_Tests/test_galleryHeader_snapshot.1.png differ diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/GalleryView_Tests/test_galleryView_snapshotLoading.1.png b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/GalleryView_Tests/test_galleryView_snapshotLoading.1.png index fe09d4ca..4dfd6c72 100644 Binary files a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/GalleryView_Tests/test_galleryView_snapshotLoading.1.png and b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/GalleryView_Tests/test_galleryView_snapshotLoading.1.png differ diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/GalleryView_Tests/test_gridView_snapshotLoading.1.png b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/GalleryView_Tests/test_gridView_snapshotLoading.1.png index 7fe65e47..93e38635 100644 Binary files a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/GalleryView_Tests/test_gridView_snapshotLoading.1.png and b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/GalleryView_Tests/test_gridView_snapshotLoading.1.png differ diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/LazyImageExtensions_Tests/test_imageRequest_emptyURL.1.png b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/LazyImageExtensions_Tests/test_imageRequest_emptyURL.1.png index a6eaa3d4..89e69624 100644 Binary files a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/LazyImageExtensions_Tests/test_imageRequest_emptyURL.1.png and b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/LazyImageExtensions_Tests/test_imageRequest_emptyURL.1.png differ diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/LazyImageExtensions_Tests/test_imageURL_empty.1.png b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/LazyImageExtensions_Tests/test_imageURL_empty.1.png index f0b2ea3c..be253e6b 100644 Binary files a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/LazyImageExtensions_Tests/test_imageURL_empty.1.png and b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/LazyImageExtensions_Tests/test_imageURL_empty.1.png differ diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/LazyImageExtensions_Tests/test_imageURL_nonEmpty.1.png b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/LazyImageExtensions_Tests/test_imageURL_nonEmpty.1.png index f0b2ea3c..be253e6b 100644 Binary files a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/LazyImageExtensions_Tests/test_imageURL_nonEmpty.1.png and b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/LazyImageExtensions_Tests/test_imageURL_nonEmpty.1.png differ diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageComposerView_Tests/test_composerInputView_composerInputTextView.1.png b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageComposerView_Tests/test_composerInputView_composerInputTextView.1.png index fa06a99b..c7995886 100644 Binary files a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageComposerView_Tests/test_composerInputView_composerInputTextView.1.png and b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageComposerView_Tests/test_composerInputView_composerInputTextView.1.png differ diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageComposerView_Tests/test_composerInputView_inputTextView.1.png b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageComposerView_Tests/test_composerInputView_inputTextView.1.png index 76804bcc..6c216b0c 100644 Binary files a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageComposerView_Tests/test_composerInputView_inputTextView.1.png and b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageComposerView_Tests/test_composerInputView_inputTextView.1.png differ diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageComposerView_Tests/test_composerInputView_slowMode.1.png b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageComposerView_Tests/test_composerInputView_slowMode.1.png index 19bc462a..1af32349 100644 Binary files a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageComposerView_Tests/test_composerInputView_slowMode.1.png and b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageComposerView_Tests/test_composerInputView_slowMode.1.png differ diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageComposerView_Tests/test_composerInputView_snapshot.1.png b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageComposerView_Tests/test_composerInputView_snapshot.1.png index e2efa707..7deadb0c 100644 Binary files a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageComposerView_Tests/test_composerInputView_snapshot.1.png and b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageComposerView_Tests/test_composerInputView_snapshot.1.png differ diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageComposerView_Tests/test_messageComposerView_snapshot.1.png b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageComposerView_Tests/test_messageComposerView_snapshot.1.png index 4429f435..ef3c8963 100644 Binary files a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageComposerView_Tests/test_messageComposerView_snapshot.1.png and b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageComposerView_Tests/test_messageComposerView_snapshot.1.png differ diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageComposerView_Tests/test_photosPickerView_snapshot.1.png b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageComposerView_Tests/test_photosPickerView_snapshot.1.png index 522ca4cb..234d19d4 100644 Binary files a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageComposerView_Tests/test_photosPickerView_snapshot.1.png and b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageComposerView_Tests/test_photosPickerView_snapshot.1.png differ diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageComposerView_Tests/test_quotedMessageHeaderView_snapshot.1.png b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageComposerView_Tests/test_quotedMessageHeaderView_snapshot.1.png index 837abd7c..549a0bf7 100644 Binary files a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageComposerView_Tests/test_quotedMessageHeaderView_snapshot.1.png and b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageComposerView_Tests/test_quotedMessageHeaderView_snapshot.1.png differ diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageComposerView_Tests/test_trailingComposerView_slowMode.1.png b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageComposerView_Tests/test_trailingComposerView_slowMode.1.png index a2bb8c17..ce6af381 100644 Binary files a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageComposerView_Tests/test_trailingComposerView_slowMode.1.png and b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageComposerView_Tests/test_trailingComposerView_slowMode.1.png differ diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageComposerView_Tests/test_trailingComposerView_snapshot.1.png b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageComposerView_Tests/test_trailingComposerView_snapshot.1.png index d35f16e8..948e225c 100644 Binary files a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageComposerView_Tests/test_trailingComposerView_snapshot.1.png and b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageComposerView_Tests/test_trailingComposerView_snapshot.1.png differ diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageComposerView_Tests/test_videoDurationIndicatorView_snapshot.1.png b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageComposerView_Tests/test_videoDurationIndicatorView_snapshot.1.png index 99f71a83..58782245 100644 Binary files a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageComposerView_Tests/test_videoDurationIndicatorView_snapshot.1.png and b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageComposerView_Tests/test_videoDurationIndicatorView_snapshot.1.png differ diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageComposerView_Tests/test_videoIndicatorView_snapshot.1.png b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageComposerView_Tests/test_videoIndicatorView_snapshot.1.png index ba31b55f..c49b5878 100644 Binary files a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageComposerView_Tests/test_videoIndicatorView_snapshot.1.png and b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageComposerView_Tests/test_videoIndicatorView_snapshot.1.png differ diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageContainerView_Tests/test_imageAttachments_snapshot.1.png b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageContainerView_Tests/test_imageAttachments_snapshot.1.png index 8186e7a0..fbdf36b0 100644 Binary files a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageContainerView_Tests/test_imageAttachments_snapshot.1.png and b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageContainerView_Tests/test_imageAttachments_snapshot.1.png differ diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageContainerView_Tests/test_imageAttachments_snapshotFiveImages.1.png b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageContainerView_Tests/test_imageAttachments_snapshotFiveImages.1.png index 969e87f8..09a32252 100644 Binary files a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageContainerView_Tests/test_imageAttachments_snapshotFiveImages.1.png and b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageContainerView_Tests/test_imageAttachments_snapshotFiveImages.1.png differ diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageContainerView_Tests/test_messageContainerViewPinned_snapshot.1.png b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageContainerView_Tests/test_messageContainerViewPinned_snapshot.1.png index 4ef7ab67..42c5c7b0 100644 Binary files a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageContainerView_Tests/test_messageContainerViewPinned_snapshot.1.png and b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageContainerView_Tests/test_messageContainerViewPinned_snapshot.1.png differ diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageContainerView_Tests/test_messageContainerViewSentOtherUser_snapshot.1.png b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageContainerView_Tests/test_messageContainerViewSentOtherUser_snapshot.1.png index 8d0685c5..de9f3ef3 100644 Binary files a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageContainerView_Tests/test_messageContainerViewSentOtherUser_snapshot.1.png and b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageContainerView_Tests/test_messageContainerViewSentOtherUser_snapshot.1.png differ diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageContainerView_Tests/test_messageContainerViewSentThisUser_snapshot.1.png b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageContainerView_Tests/test_messageContainerViewSentThisUser_snapshot.1.png index 3e27cf66..2c1d7fe6 100644 Binary files a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageContainerView_Tests/test_messageContainerViewSentThisUser_snapshot.1.png and b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageContainerView_Tests/test_messageContainerViewSentThisUser_snapshot.1.png differ diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageContainerView_Tests/test_videoAttachment_snapshotNoText.1.png b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageContainerView_Tests/test_videoAttachment_snapshotNoText.1.png index b901b460..16885442 100644 Binary files a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageContainerView_Tests/test_videoAttachment_snapshotNoText.1.png and b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageContainerView_Tests/test_videoAttachment_snapshotNoText.1.png differ diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageContainerView_Tests/test_videoAttachment_snapshotText.1.png b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageContainerView_Tests/test_videoAttachment_snapshotText.1.png index dee89c32..7f4e961e 100644 Binary files a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageContainerView_Tests/test_videoAttachment_snapshotText.1.png and b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageContainerView_Tests/test_videoAttachment_snapshotText.1.png differ diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageListViewAvatars_Tests/test_messageListView_defaultDMChannel.1.png b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageListViewAvatars_Tests/test_messageListView_defaultDMChannel.1.png index 7093771d..e04d4442 100644 Binary files a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageListViewAvatars_Tests/test_messageListView_defaultDMChannel.1.png and b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageListViewAvatars_Tests/test_messageListView_defaultDMChannel.1.png differ diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageListViewAvatars_Tests/test_messageListView_defaultGroupsChannel.1.png b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageListViewAvatars_Tests/test_messageListView_defaultGroupsChannel.1.png index 7093771d..e04d4442 100644 Binary files a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageListViewAvatars_Tests/test_messageListView_defaultGroupsChannel.1.png and b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageListViewAvatars_Tests/test_messageListView_defaultGroupsChannel.1.png differ diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageListViewAvatars_Tests/test_messageListView_dmChannelAvatarsOff.1.png b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageListViewAvatars_Tests/test_messageListView_dmChannelAvatarsOff.1.png index 97f57142..6280f04c 100644 Binary files a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageListViewAvatars_Tests/test_messageListView_dmChannelAvatarsOff.1.png and b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageListViewAvatars_Tests/test_messageListView_dmChannelAvatarsOff.1.png differ diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageListViewAvatars_Tests/test_messageListView_groupsChannelAvatarsOff.1.png b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageListViewAvatars_Tests/test_messageListView_groupsChannelAvatarsOff.1.png index 97f57142..6280f04c 100644 Binary files a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageListViewAvatars_Tests/test_messageListView_groupsChannelAvatarsOff.1.png and b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageListViewAvatars_Tests/test_messageListView_groupsChannelAvatarsOff.1.png differ diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageListViewLastGroupHeader_Tests/test_messageListView_headerOnTop.1.png b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageListViewLastGroupHeader_Tests/test_messageListView_headerOnTop.1.png index b401293c..57e7056e 100644 Binary files a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageListViewLastGroupHeader_Tests/test_messageListView_headerOnTop.1.png and b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageListViewLastGroupHeader_Tests/test_messageListView_headerOnTop.1.png differ diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageListViewNewMessages_Tests/test_messageListViewNewMessages_moreMessages.1.png b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageListViewNewMessages_Tests/test_messageListViewNewMessages_moreMessages.1.png index 26d1840f..92eac22d 100644 Binary files a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageListViewNewMessages_Tests/test_messageListViewNewMessages_moreMessages.1.png and b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageListViewNewMessages_Tests/test_messageListViewNewMessages_moreMessages.1.png differ diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageListViewNewMessages_Tests/test_messageListViewNewMessages_moreMessagesInBetween.1.png b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageListViewNewMessages_Tests/test_messageListViewNewMessages_moreMessagesInBetween.1.png index cbed8bbc..9fbf8e1e 100644 Binary files a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageListViewNewMessages_Tests/test_messageListViewNewMessages_moreMessagesInBetween.1.png and b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageListViewNewMessages_Tests/test_messageListViewNewMessages_moreMessagesInBetween.1.png differ diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageListViewNewMessages_Tests/test_messageListViewNewMessages_noMessages.1.png b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageListViewNewMessages_Tests/test_messageListViewNewMessages_noMessages.1.png index fb67b980..6866acb5 100644 Binary files a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageListViewNewMessages_Tests/test_messageListViewNewMessages_noMessages.1.png and b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageListViewNewMessages_Tests/test_messageListViewNewMessages_noMessages.1.png differ diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageListViewNewMessages_Tests/test_messageListViewNewMessages_singleMessage.1.png b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageListViewNewMessages_Tests/test_messageListViewNewMessages_singleMessage.1.png index cab8f212..0559d7e1 100644 Binary files a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageListViewNewMessages_Tests/test_messageListViewNewMessages_singleMessage.1.png and b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageListViewNewMessages_Tests/test_messageListViewNewMessages_singleMessage.1.png differ diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageListView_Tests/test_messageListView_noReactions.1.png b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageListView_Tests/test_messageListView_noReactions.1.png index 7093771d..e04d4442 100644 Binary files a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageListView_Tests/test_messageListView_noReactions.1.png and b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageListView_Tests/test_messageListView_noReactions.1.png differ diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageListView_Tests/test_messageListView_snapshot.1.png b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageListView_Tests/test_messageListView_snapshot.1.png index b8507aaa..d29f3631 100644 Binary files a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageListView_Tests/test_messageListView_snapshot.1.png and b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageListView_Tests/test_messageListView_snapshot.1.png differ diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageListView_Tests/test_messageListView_snapshotFallback.1.png b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageListView_Tests/test_messageListView_snapshotFallback.1.png index b8507aaa..eade1b68 100644 Binary files a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageListView_Tests/test_messageListView_snapshotFallback.1.png and b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageListView_Tests/test_messageListView_snapshotFallback.1.png differ diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageListView_Tests/test_messageListView_typingIndicator.1.png b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageListView_Tests/test_messageListView_typingIndicator.1.png index 58f3a619..b14b34ce 100644 Binary files a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageListView_Tests/test_messageListView_typingIndicator.1.png and b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageListView_Tests/test_messageListView_typingIndicator.1.png differ diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageListView_Tests/test_messageListView_withReactions.1.png b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageListView_Tests/test_messageListView_withReactions.1.png index 3f541c46..d29f3631 100644 Binary files a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageListView_Tests/test_messageListView_withReactions.1.png and b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageListView_Tests/test_messageListView_withReactions.1.png differ diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageListView_Tests/test_scrollToBottomButton_snapshotEmptyCount.1.png b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageListView_Tests/test_scrollToBottomButton_snapshotEmptyCount.1.png index 2532a506..ed7d1092 100644 Binary files a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageListView_Tests/test_scrollToBottomButton_snapshotEmptyCount.1.png and b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageListView_Tests/test_scrollToBottomButton_snapshotEmptyCount.1.png differ diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageListView_Tests/test_scrollToBottomButton_snapshotUnreadCount.1.png b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageListView_Tests/test_scrollToBottomButton_snapshotUnreadCount.1.png index b86bb59d..9c2f68d1 100644 Binary files a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageListView_Tests/test_scrollToBottomButton_snapshotUnreadCount.1.png and b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageListView_Tests/test_scrollToBottomButton_snapshotUnreadCount.1.png differ diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageReadIndicatorView_Tests/test_messageReadIndicatorView_snapshotMessageReadDirect.1.png b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageReadIndicatorView_Tests/test_messageReadIndicatorView_snapshotMessageReadDirect.1.png index 65f61cc6..4d081c70 100644 Binary files a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageReadIndicatorView_Tests/test_messageReadIndicatorView_snapshotMessageReadDirect.1.png and b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageReadIndicatorView_Tests/test_messageReadIndicatorView_snapshotMessageReadDirect.1.png differ diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageReadIndicatorView_Tests/test_messageReadIndicatorView_snapshotMessageReadGroup.1.png b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageReadIndicatorView_Tests/test_messageReadIndicatorView_snapshotMessageReadGroup.1.png index c82f377a..12250b61 100644 Binary files a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageReadIndicatorView_Tests/test_messageReadIndicatorView_snapshotMessageReadGroup.1.png and b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageReadIndicatorView_Tests/test_messageReadIndicatorView_snapshotMessageReadGroup.1.png differ diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageReadIndicatorView_Tests/test_messageReadIndicatorView_snapshotMessageSent.1.png b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageReadIndicatorView_Tests/test_messageReadIndicatorView_snapshotMessageSent.1.png index 5def5f14..edd60072 100644 Binary files a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageReadIndicatorView_Tests/test_messageReadIndicatorView_snapshotMessageSent.1.png and b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageReadIndicatorView_Tests/test_messageReadIndicatorView_snapshotMessageSent.1.png differ diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageReadIndicatorView_Tests/test_messageReadIndicatorView_snapshotPendingSend.1.png b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageReadIndicatorView_Tests/test_messageReadIndicatorView_snapshotPendingSend.1.png index 4ceda289..567c1164 100644 Binary files a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageReadIndicatorView_Tests/test_messageReadIndicatorView_snapshotPendingSend.1.png and b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageReadIndicatorView_Tests/test_messageReadIndicatorView_snapshotPendingSend.1.png differ diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageViewMultiRowReactions_Tests/test_messageViewMultiRowReactions_snapshot.1.png b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageViewMultiRowReactions_Tests/test_messageViewMultiRowReactions_snapshot.1.png index aa9d1e18..a16e1aba 100644 Binary files a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageViewMultiRowReactions_Tests/test_messageViewMultiRowReactions_snapshot.1.png and b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageViewMultiRowReactions_Tests/test_messageViewMultiRowReactions_snapshot.1.png differ diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageView_Tests/test_deletedMessageViewContainer_snapshot.1.png b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageView_Tests/test_deletedMessageViewContainer_snapshot.1.png index 1edde268..99e689d0 100644 Binary files a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageView_Tests/test_deletedMessageViewContainer_snapshot.1.png and b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageView_Tests/test_deletedMessageViewContainer_snapshot.1.png differ diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageView_Tests/test_deletedMessageView_snapshot.1.png b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageView_Tests/test_deletedMessageView_snapshot.1.png index 1fb43ada..96871c25 100644 Binary files a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageView_Tests/test_deletedMessageView_snapshot.1.png and b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageView_Tests/test_deletedMessageView_snapshot.1.png differ diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageView_Tests/test_linkAttachmentView_snapshot.1.png b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageView_Tests/test_linkAttachmentView_snapshot.1.png index 7a4ec6b9..a58d6cbe 100644 Binary files a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageView_Tests/test_linkAttachmentView_snapshot.1.png and b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageView_Tests/test_linkAttachmentView_snapshot.1.png differ diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageView_Tests/test_messageRepliesView_snapshot.1.png b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageView_Tests/test_messageRepliesView_snapshot.1.png index e0139131..98a32c5b 100644 Binary files a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageView_Tests/test_messageRepliesView_snapshot.1.png and b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageView_Tests/test_messageRepliesView_snapshot.1.png differ diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageView_Tests/test_messageViewFileText_snapshot.1.png b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageView_Tests/test_messageViewFileText_snapshot.1.png index 1080122b..03e31c97 100644 Binary files a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageView_Tests/test_messageViewFileText_snapshot.1.png and b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageView_Tests/test_messageViewFileText_snapshot.1.png differ diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageView_Tests/test_messageViewFile_snapshot.1.png b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageView_Tests/test_messageViewFile_snapshot.1.png index dab55a5a..c560402f 100644 Binary files a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageView_Tests/test_messageViewFile_snapshot.1.png and b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageView_Tests/test_messageViewFile_snapshot.1.png differ diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageView_Tests/test_messageViewGiphy_snapshot.1.png b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageView_Tests/test_messageViewGiphy_snapshot.1.png index a090f173..838ad96e 100644 Binary files a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageView_Tests/test_messageViewGiphy_snapshot.1.png and b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageView_Tests/test_messageViewGiphy_snapshot.1.png differ diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageView_Tests/test_messageViewImage_snapshot.1.png b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageView_Tests/test_messageViewImage_snapshot.1.png index 40be7276..df39e372 100644 Binary files a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageView_Tests/test_messageViewImage_snapshot.1.png and b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageView_Tests/test_messageViewImage_snapshot.1.png differ diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageView_Tests/test_messageViewImage_snapshot2Images.1.png b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageView_Tests/test_messageViewImage_snapshot2Images.1.png index 4e94e5c6..8aac970f 100644 Binary files a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageView_Tests/test_messageViewImage_snapshot2Images.1.png and b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageView_Tests/test_messageViewImage_snapshot2Images.1.png differ diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageView_Tests/test_messageViewImage_snapshot3Images.1.png b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageView_Tests/test_messageViewImage_snapshot3Images.1.png index 20070ddf..f248b190 100644 Binary files a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageView_Tests/test_messageViewImage_snapshot3Images.1.png and b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageView_Tests/test_messageViewImage_snapshot3Images.1.png differ diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageView_Tests/test_messageViewImage_snapshotQuoted.1.png b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageView_Tests/test_messageViewImage_snapshotQuoted.1.png index 1b4623ab..077f945f 100644 Binary files a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageView_Tests/test_messageViewImage_snapshotQuoted.1.png and b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageView_Tests/test_messageViewImage_snapshotQuoted.1.png differ diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageView_Tests/test_messageViewJumboEmoji_snapshot.1.png b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageView_Tests/test_messageViewJumboEmoji_snapshot.1.png index f6f60372..d507e3a5 100644 Binary files a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageView_Tests/test_messageViewJumboEmoji_snapshot.1.png and b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageView_Tests/test_messageViewJumboEmoji_snapshot.1.png differ diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageView_Tests/test_messageViewText_snapshot.1.png b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageView_Tests/test_messageViewText_snapshot.1.png index f79bafb2..8bc5e280 100644 Binary files a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageView_Tests/test_messageViewText_snapshot.1.png and b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageView_Tests/test_messageViewText_snapshot.1.png differ diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageView_Tests/test_messageViewVideo_snapshot.1.png b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageView_Tests/test_messageViewVideo_snapshot.1.png index 5dba6227..cc00d301 100644 Binary files a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageView_Tests/test_messageViewVideo_snapshot.1.png and b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageView_Tests/test_messageViewVideo_snapshot.1.png differ diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageView_Tests/test_topLeftView_snapshot.1.png b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageView_Tests/test_topLeftView_snapshot.1.png index b9c7055c..08bb3759 100644 Binary files a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageView_Tests/test_topLeftView_snapshot.1.png and b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/MessageView_Tests/test_topLeftView_snapshot.1.png differ diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/QuotedMessageView_Tests/test_quotedMessageViewContainer_snapshot.1.png b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/QuotedMessageView_Tests/test_quotedMessageViewContainer_snapshot.1.png index 1b6846d5..00f8e329 100644 Binary files a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/QuotedMessageView_Tests/test_quotedMessageViewContainer_snapshot.1.png and b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/QuotedMessageView_Tests/test_quotedMessageViewContainer_snapshot.1.png differ diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/QuotedMessageView_Tests/test_quotedMessageView_snapshot.1.png b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/QuotedMessageView_Tests/test_quotedMessageView_snapshot.1.png index 453b2380..c27c64a2 100644 Binary files a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/QuotedMessageView_Tests/test_quotedMessageView_snapshot.1.png and b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/QuotedMessageView_Tests/test_quotedMessageView_snapshot.1.png differ diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/ReactionsOverlayView_Tests/test_reactionAnimatableView_snapshot.1.png b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/ReactionsOverlayView_Tests/test_reactionAnimatableView_snapshot.1.png index 7866fe87..03998d27 100644 Binary files a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/ReactionsOverlayView_Tests/test_reactionAnimatableView_snapshot.1.png and b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/ReactionsOverlayView_Tests/test_reactionAnimatableView_snapshot.1.png differ diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/ReactionsOverlayView_Tests/test_reactionsAnimatableView_snapshot.1.png b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/ReactionsOverlayView_Tests/test_reactionsAnimatableView_snapshot.1.png index cfe47ba1..f9e5bcf1 100644 Binary files a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/ReactionsOverlayView_Tests/test_reactionsAnimatableView_snapshot.1.png and b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/ReactionsOverlayView_Tests/test_reactionsAnimatableView_snapshot.1.png differ diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/ReactionsOverlayView_Tests/test_reactionsOverlayContainer_snapshot.1.png b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/ReactionsOverlayView_Tests/test_reactionsOverlayContainer_snapshot.1.png index ac173ab6..443335d5 100644 Binary files a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/ReactionsOverlayView_Tests/test_reactionsOverlayContainer_snapshot.1.png and b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/ReactionsOverlayView_Tests/test_reactionsOverlayContainer_snapshot.1.png differ diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/ReactionsOverlayView_Tests/test_reactionsOverlayView_noReactions.1.png b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/ReactionsOverlayView_Tests/test_reactionsOverlayView_noReactions.1.png index 3406ce6e..5e935e76 100644 Binary files a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/ReactionsOverlayView_Tests/test_reactionsOverlayView_noReactions.1.png and b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/ReactionsOverlayView_Tests/test_reactionsOverlayView_noReactions.1.png differ diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/ReactionsOverlayView_Tests/test_reactionsOverlayView_snapshot.1.png b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/ReactionsOverlayView_Tests/test_reactionsOverlayView_snapshot.1.png index 3406ce6e..5e935e76 100644 Binary files a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/ReactionsOverlayView_Tests/test_reactionsOverlayView_snapshot.1.png and b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/ReactionsOverlayView_Tests/test_reactionsOverlayView_snapshot.1.png differ diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/ReactionsOverlayView_Tests/test_reactionsOverlayView_usersReactions.1.png b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/ReactionsOverlayView_Tests/test_reactionsOverlayView_usersReactions.1.png index 3406ce6e..5e935e76 100644 Binary files a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/ReactionsOverlayView_Tests/test_reactionsOverlayView_usersReactions.1.png and b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/ReactionsOverlayView_Tests/test_reactionsOverlayView_usersReactions.1.png differ diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/ReactionsOverlayView_Tests/test_reactionsOverlay_veryLongMessage.1.png b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/ReactionsOverlayView_Tests/test_reactionsOverlay_veryLongMessage.1.png index ea360bf0..4fc3df7f 100644 Binary files a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/ReactionsOverlayView_Tests/test_reactionsOverlay_veryLongMessage.1.png and b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/ReactionsOverlayView_Tests/test_reactionsOverlay_veryLongMessage.1.png differ diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/ReactionsUsersView_Tests/test_reactionsUsersView_snapshotOneRow.1.png b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/ReactionsUsersView_Tests/test_reactionsUsersView_snapshotOneRow.1.png index c18583b7..bd15560f 100644 Binary files a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/ReactionsUsersView_Tests/test_reactionsUsersView_snapshotOneRow.1.png and b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/ReactionsUsersView_Tests/test_reactionsUsersView_snapshotOneRow.1.png differ diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/ReactionsUsersView_Tests/test_reactionsUsersView_snapshotTwoRows.1.png b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/ReactionsUsersView_Tests/test_reactionsUsersView_snapshotTwoRows.1.png index e8e5015b..86c844ad 100644 Binary files a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/ReactionsUsersView_Tests/test_reactionsUsersView_snapshotTwoRows.1.png and b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/ReactionsUsersView_Tests/test_reactionsUsersView_snapshotTwoRows.1.png differ diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/TypingIndicatorView_Tests/test_typingIndicatorView_snapshot.1.png b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/TypingIndicatorView_Tests/test_typingIndicatorView_snapshot.1.png index b35c5ae4..4484f222 100644 Binary files a/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/TypingIndicatorView_Tests/test_typingIndicatorView_snapshot.1.png and b/StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/TypingIndicatorView_Tests/test_typingIndicatorView_snapshot.1.png differ diff --git a/StreamChatSwiftUITests/Tests/ChatChannelList/ChannelHeaderLoader_Tests.swift b/StreamChatSwiftUITests/Tests/ChatChannelList/ChannelHeaderLoader_Tests.swift index b4319ad4..18f813f4 100644 --- a/StreamChatSwiftUITests/Tests/ChatChannelList/ChannelHeaderLoader_Tests.swift +++ b/StreamChatSwiftUITests/Tests/ChatChannelList/ChannelHeaderLoader_Tests.swift @@ -120,7 +120,7 @@ class ChannelHeaderLoader_Tests: StreamChatTestCase { expectation.fulfill() } - waitForExpectations(timeout: 1, handler: nil) + waitForExpectations(timeout: defaultTimeout, handler: nil) // Then XCTAssert(firstImage == expectedInitialImage) diff --git a/StreamChatSwiftUITests/Tests/ChatChannelList/ChatChannelListView_Tests.swift b/StreamChatSwiftUITests/Tests/ChatChannelList/ChatChannelListView_Tests.swift index 02bc8732..5132466d 100644 --- a/StreamChatSwiftUITests/Tests/ChatChannelList/ChatChannelListView_Tests.swift +++ b/StreamChatSwiftUITests/Tests/ChatChannelList/ChatChannelListView_Tests.swift @@ -19,7 +19,7 @@ class ChatChannelListView_Tests: StreamChatTestCase { .applyDefaultSize() // Then - assertSnapshot(matching: view, as: .image(perceptualPrecision: 0.98)) + assertSnapshot(matching: view, as: .image(perceptualPrecision: snapshotPrecision)) } func test_chatChannelListView_snapshot() { @@ -34,7 +34,7 @@ class ChatChannelListView_Tests: StreamChatTestCase { .applyDefaultSize() // Then - assertSnapshot(matching: view, as: .image(perceptualPrecision: 0.98)) + assertSnapshot(matching: view, as: .image(perceptualPrecision: snapshotPrecision)) } func test_chatChannelListViewSansNavigation_snapshot() { @@ -52,7 +52,7 @@ class ChatChannelListView_Tests: StreamChatTestCase { .applyDefaultSize() // Then - assertSnapshot(matching: view, as: .image(perceptualPrecision: 0.98)) + assertSnapshot(matching: view, as: .image(perceptualPrecision: snapshotPrecision)) } func test_trailingSwipeActionsView_snapshot() { @@ -67,7 +67,7 @@ class ChatChannelListView_Tests: StreamChatTestCase { .applyDefaultSize() // Then - assertSnapshot(matching: view, as: .image(perceptualPrecision: 0.98)) + assertSnapshot(matching: view, as: .image(perceptualPrecision: snapshotPrecision)) } private func makeChannelListController() -> ChatChannelListController_Mock { diff --git a/StreamChatSwiftUITests/Tests/ChatChannelList/LoadingView_Tests.swift b/StreamChatSwiftUITests/Tests/ChatChannelList/LoadingView_Tests.swift index 469b3736..7e9e7ac7 100644 --- a/StreamChatSwiftUITests/Tests/ChatChannelList/LoadingView_Tests.swift +++ b/StreamChatSwiftUITests/Tests/ChatChannelList/LoadingView_Tests.swift @@ -18,7 +18,7 @@ class LoadingView_Tests: StreamChatTestCase { .applyDefaultSize() // Then - assertSnapshot(matching: view, as: .image(perceptualPrecision: 0.98)) + assertSnapshot(matching: view, as: .image(perceptualPrecision: snapshotPrecision)) } func test_loadingView_snapshot() { @@ -27,6 +27,6 @@ class LoadingView_Tests: StreamChatTestCase { .applyDefaultSize() // Then - assertSnapshot(matching: view, as: .image(perceptualPrecision: 0.98)) + assertSnapshot(matching: view, as: .image(perceptualPrecision: snapshotPrecision)) } } diff --git a/StreamChatSwiftUITests/Tests/ChatChannelList/__Snapshots__/ChatChannelListView_Tests/test_chatChannelListViewSansNavigation_snapshot.1.png b/StreamChatSwiftUITests/Tests/ChatChannelList/__Snapshots__/ChatChannelListView_Tests/test_chatChannelListViewSansNavigation_snapshot.1.png index 923b8975..510cb6d0 100644 Binary files a/StreamChatSwiftUITests/Tests/ChatChannelList/__Snapshots__/ChatChannelListView_Tests/test_chatChannelListViewSansNavigation_snapshot.1.png and b/StreamChatSwiftUITests/Tests/ChatChannelList/__Snapshots__/ChatChannelListView_Tests/test_chatChannelListViewSansNavigation_snapshot.1.png differ diff --git a/StreamChatSwiftUITests/Tests/ChatChannelList/__Snapshots__/ChatChannelListView_Tests/test_chatChannelListView_snapshot.1.png b/StreamChatSwiftUITests/Tests/ChatChannelList/__Snapshots__/ChatChannelListView_Tests/test_chatChannelListView_snapshot.1.png index 923b8975..510cb6d0 100644 Binary files a/StreamChatSwiftUITests/Tests/ChatChannelList/__Snapshots__/ChatChannelListView_Tests/test_chatChannelListView_snapshot.1.png and b/StreamChatSwiftUITests/Tests/ChatChannelList/__Snapshots__/ChatChannelListView_Tests/test_chatChannelListView_snapshot.1.png differ diff --git a/StreamChatSwiftUITests/Tests/ChatChannelList/__Snapshots__/ChatChannelListView_Tests/test_chatChannelScreen_snapshot.1.png b/StreamChatSwiftUITests/Tests/ChatChannelList/__Snapshots__/ChatChannelListView_Tests/test_chatChannelScreen_snapshot.1.png index 923b8975..510cb6d0 100644 Binary files a/StreamChatSwiftUITests/Tests/ChatChannelList/__Snapshots__/ChatChannelListView_Tests/test_chatChannelScreen_snapshot.1.png and b/StreamChatSwiftUITests/Tests/ChatChannelList/__Snapshots__/ChatChannelListView_Tests/test_chatChannelScreen_snapshot.1.png differ diff --git a/StreamChatSwiftUITests/Tests/ChatChannelList/__Snapshots__/ChatChannelListView_Tests/test_trailingSwipeActionsView_snapshot.1.png b/StreamChatSwiftUITests/Tests/ChatChannelList/__Snapshots__/ChatChannelListView_Tests/test_trailingSwipeActionsView_snapshot.1.png index 522ca4cb..234d19d4 100644 Binary files a/StreamChatSwiftUITests/Tests/ChatChannelList/__Snapshots__/ChatChannelListView_Tests/test_trailingSwipeActionsView_snapshot.1.png and b/StreamChatSwiftUITests/Tests/ChatChannelList/__Snapshots__/ChatChannelListView_Tests/test_trailingSwipeActionsView_snapshot.1.png differ diff --git a/StreamChatSwiftUITests/Tests/ChatChannelList/__Snapshots__/LoadingView_Tests/test_loadingView_snapshot.1.png b/StreamChatSwiftUITests/Tests/ChatChannelList/__Snapshots__/LoadingView_Tests/test_loadingView_snapshot.1.png index a6eaa3d4..89e69624 100644 Binary files a/StreamChatSwiftUITests/Tests/ChatChannelList/__Snapshots__/LoadingView_Tests/test_loadingView_snapshot.1.png and b/StreamChatSwiftUITests/Tests/ChatChannelList/__Snapshots__/LoadingView_Tests/test_loadingView_snapshot.1.png differ diff --git a/StreamChatSwiftUITests/Tests/ChatChannelList/__Snapshots__/LoadingView_Tests/test_redactedLoadingView_snapshot.1.png b/StreamChatSwiftUITests/Tests/ChatChannelList/__Snapshots__/LoadingView_Tests/test_redactedLoadingView_snapshot.1.png index 70b36490..9c2ba800 100644 Binary files a/StreamChatSwiftUITests/Tests/ChatChannelList/__Snapshots__/LoadingView_Tests/test_redactedLoadingView_snapshot.1.png and b/StreamChatSwiftUITests/Tests/ChatChannelList/__Snapshots__/LoadingView_Tests/test_redactedLoadingView_snapshot.1.png differ diff --git a/StreamChatSwiftUITests/Tests/ChatChannelList/__Snapshots__/MoreChannelActionsFullScreenWrappingView_Tests/test_moreChannelActionsFullScreenWrappingView_snapshot.1.png b/StreamChatSwiftUITests/Tests/ChatChannelList/__Snapshots__/MoreChannelActionsFullScreenWrappingView_Tests/test_moreChannelActionsFullScreenWrappingView_snapshot.1.png index 4760e161..797674cd 100644 Binary files a/StreamChatSwiftUITests/Tests/ChatChannelList/__Snapshots__/MoreChannelActionsFullScreenWrappingView_Tests/test_moreChannelActionsFullScreenWrappingView_snapshot.1.png and b/StreamChatSwiftUITests/Tests/ChatChannelList/__Snapshots__/MoreChannelActionsFullScreenWrappingView_Tests/test_moreChannelActionsFullScreenWrappingView_snapshot.1.png differ diff --git a/StreamChatSwiftUITests/Tests/ChatChannelList/__Snapshots__/MoreChannelActionsView_Tests/test_moreChannelActionsView_snapshot.1.png b/StreamChatSwiftUITests/Tests/ChatChannelList/__Snapshots__/MoreChannelActionsView_Tests/test_moreChannelActionsView_snapshot.1.png index 6f606283..3037e8e6 100644 Binary files a/StreamChatSwiftUITests/Tests/ChatChannelList/__Snapshots__/MoreChannelActionsView_Tests/test_moreChannelActionsView_snapshot.1.png and b/StreamChatSwiftUITests/Tests/ChatChannelList/__Snapshots__/MoreChannelActionsView_Tests/test_moreChannelActionsView_snapshot.1.png differ diff --git a/StreamChatSwiftUITests/Tests/ChatChannelList/__Snapshots__/NoChannelsView_Tests/test_noChannelsView_snapshot.1.png b/StreamChatSwiftUITests/Tests/ChatChannelList/__Snapshots__/NoChannelsView_Tests/test_noChannelsView_snapshot.1.png index 1549ac6c..62c7d0c5 100644 Binary files a/StreamChatSwiftUITests/Tests/ChatChannelList/__Snapshots__/NoChannelsView_Tests/test_noChannelsView_snapshot.1.png and b/StreamChatSwiftUITests/Tests/ChatChannelList/__Snapshots__/NoChannelsView_Tests/test_noChannelsView_snapshot.1.png differ diff --git a/StreamChatSwiftUITests/Tests/ChatChannelList/__Snapshots__/SearchResultsView_Tests/test_searchResultsView_snapshotLoading.1.png b/StreamChatSwiftUITests/Tests/ChatChannelList/__Snapshots__/SearchResultsView_Tests/test_searchResultsView_snapshotLoading.1.png index dec91344..d618a284 100644 Binary files a/StreamChatSwiftUITests/Tests/ChatChannelList/__Snapshots__/SearchResultsView_Tests/test_searchResultsView_snapshotLoading.1.png and b/StreamChatSwiftUITests/Tests/ChatChannelList/__Snapshots__/SearchResultsView_Tests/test_searchResultsView_snapshotLoading.1.png differ diff --git a/StreamChatSwiftUITests/Tests/ChatChannelList/__Snapshots__/SearchResultsView_Tests/test_searchResultsView_snapshotNoResults.1.png b/StreamChatSwiftUITests/Tests/ChatChannelList/__Snapshots__/SearchResultsView_Tests/test_searchResultsView_snapshotNoResults.1.png index 0f89c07b..639d55c2 100644 Binary files a/StreamChatSwiftUITests/Tests/ChatChannelList/__Snapshots__/SearchResultsView_Tests/test_searchResultsView_snapshotNoResults.1.png and b/StreamChatSwiftUITests/Tests/ChatChannelList/__Snapshots__/SearchResultsView_Tests/test_searchResultsView_snapshotNoResults.1.png differ diff --git a/StreamChatSwiftUITests/Tests/ChatChannelList/__Snapshots__/SearchResultsView_Tests/test_searchResultsView_snapshotResults.1.png b/StreamChatSwiftUITests/Tests/ChatChannelList/__Snapshots__/SearchResultsView_Tests/test_searchResultsView_snapshotResults.1.png index a28725df..32eee257 100644 Binary files a/StreamChatSwiftUITests/Tests/ChatChannelList/__Snapshots__/SearchResultsView_Tests/test_searchResultsView_snapshotResults.1.png and b/StreamChatSwiftUITests/Tests/ChatChannelList/__Snapshots__/SearchResultsView_Tests/test_searchResultsView_snapshotResults.1.png differ diff --git a/StreamChatSwiftUITests/Tests/StreamChatTestCase.swift b/StreamChatSwiftUITests/Tests/StreamChatTestCase.swift index bf522345..88a5487a 100644 --- a/StreamChatSwiftUITests/Tests/StreamChatTestCase.swift +++ b/StreamChatSwiftUITests/Tests/StreamChatTestCase.swift @@ -12,6 +12,7 @@ import XCTest open class StreamChatTestCase: XCTestCase { public static var currentUserId: String = .unique + public let snapshotPrecision: Float = 0.97 public var chatClient: ChatClient = { let client = ChatClient.mock(isLocalStorageEnabled: false) diff --git a/fastlane/Fastfile b/fastlane/Fastfile index e653714c..3d181749 100644 --- a/fastlane/Fastfile +++ b/fastlane/Fastfile @@ -7,7 +7,7 @@ require 'xcodeproj' import 'Sonarfile' import 'Allurefile' -xcode_version = ENV['XCODE_VERSION'] || '14.3.1' +xcode_version = ENV['XCODE_VERSION'] || '15.0' xcode_project = 'StreamChatSwiftUI.xcodeproj' sdk_names = ['StreamChatSwiftUI'] github_repo = ENV['GITHUB_REPOSITORY'] || 'GetStream/stream-chat-swiftui'