Update UI tests (#730)

* Update snapshots.

* Fix timeline grouping and UI tests.

* Remove German UI tests with double-length pseudolanguage.

Avoids tests breaking when translations are updated.
This commit is contained in:
Doug
2023-03-28 14:06:53 +01:00
committed by GitHub
parent e1df5310b7
commit d7622ea731
230 changed files with 536 additions and 384 deletions
@@ -23,14 +23,10 @@ struct MockMediaProvider: MediaProviderProtocol {
return nil
}
#warning("Fix me. this is stupid!")
if let size {
if size == AvatarSize.room(on: .details).scaledSize
|| size == AvatarSize.room(on: .home).scaledSize
|| size == AvatarSize.room(on: .timeline).scaledSize {
return Asset.Images.appLogo.image
}
if source?.url == .picturesDirectory {
return Asset.Images.appLogo.image
}
return UIImage(systemName: "photo")
}