Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 16 commits into from
Feb 9, 2023

Conversation

Velin92
Copy link
Member

@Velin92 Velin92 commented Feb 8, 2023

Updated all the screenshots to adapt to the new designs.

Also fixed an issue that did not fetch an image for the MockMediaProvider to render mocked avatar rooms, and an issue where the roomID was incorrectly using the id of the proxy and not the roomId coming from the timeline

@github-actions
Copy link

github-actions bot commented Feb 8, 2023

Warnings
⚠️ Some of the commits are missing ticket numbers. Please consinder using them for better tracking.
⚠️ Please add a sign-off to either the PR description or to the commits themselves.
⚠️ You seem to have made changes to views. Please consider adding screenshots.

Generated by 🚫 Danger Swift against 89db6ad

@codecov
Copy link

codecov bot commented Feb 8, 2023

Codecov Report

Base: 40.50% // Head: 40.50% // Decreases project coverage by -0.01% ⚠️

Coverage data is based on head (89db6ad) compared to base (a02b461).
Patch coverage: 0.00% of modified lines in pull request are covered.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #554      +/-   ##
===========================================
- Coverage    40.50%   40.50%   -0.01%     
===========================================
  Files          295      295              
  Lines        17153    17151       -2     
  Branches     11441    11433       -8     
===========================================
- Hits          6948     6947       -1     
+ Misses        9886     9885       -1     
  Partials       319      319              
Flag Coverage Δ
unittests 21.22% <0.00%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
.../UserNotifications/UserNotificationModalView.swift 43.39% <0.00%> (-2.76%) ⬇️
...s/Screens/RoomDetails/View/RoomDetailsScreen.swift 0.00% <0.00%> (ø)
.../Sources/Services/BugReport/BugReportService.swift 67.28% <0.00%> (ø)
...ntX/Sources/Services/Media/MockMediaProvider.swift 12.82% <ø> (+0.32%) ⬆️
ElementX/Sources/Services/Room/MockRoomProxy.swift 0.00% <ø> (ø)
...ces/Screens/RoomDetails/RoomDetailsViewModel.swift 0.00% <0.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

…ming from the timelineController, also updated some tests, and added a test for the case where the RoomAvatar is available.
@Velin92 Velin92 requested a review from pixlwave February 9, 2023 08:58
Copy link
Member

@pixlwave pixlwave left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for all these updates 👏

ElementX/Sources/UITests/UITestsAppCoordinator.swift Outdated Show resolved Hide resolved
UITests/Sources/RoomDetailsScreenUITests.swift Outdated Show resolved Hide resolved
@sonarqubecloud
Copy link

sonarqubecloud bot commented Feb 9, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@Velin92 Velin92 merged commit 910a8e2 into develop Feb 9, 2023
@Velin92 Velin92 deleted the mauroromito/update_ui_tests branch February 9, 2023 13:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants