Updated Screenshot Tests and fixed an issue with the MockMediaProvider (#554)

* updated the tests

* updated ui tests

* removed unused files

* fixed a bug that prevented the image to be added in the avatar of the rooms from the mock, and improved some UI tests

* swiftformat

* fixed an issue where the room Id was not matching the real room id coming from the timelineController, also updated some tests, and added a test for the case where the RoomAvatar is available.

* added some waitForExistence checks to allow the CI to find the UI elements

* this should make the loading bar always match at the HStack size

* code improvement for the tests

* fix for the max frame of the loading screen

* updated tests

* regenerated and improved some tests

* sonarcloud improvements

* changelog
This commit is contained in:
Mauro
2023-02-09 14:57:55 +01:00
committed by GitHub
parent a02b461c37
commit 910a8e2067
137 changed files with 293 additions and 260 deletions
@@ -40,7 +40,8 @@ struct UserNotificationModalView: View {
}
}
.padding()
.frame(minWidth: 150.0, maxWidth: 250.0)
.frame(minWidth: 150.0)
.fixedSize(horizontal: true, vertical: false)
.background(Color.element.quinaryContent)
.clipShape(RoundedCornerShape(radius: 12.0, corners: .allCorners))
.shadow(color: .black.opacity(0.1), radius: 10.0, y: 4.0)