Doug
3eae3b8f86
Add UnitTestsAppCoordinator.
2023-04-25 21:17:03 +03:00
Stefan Ceriu
b9cd938756
Rename screens ( #826 )
...
* Rename: AnalyticsPrompt -> AnalyticsPromptScreen
* Rename: AnalyticsSettings -> AnalyticsSettingsScreen
* Rename: Settings -> SettingsScreen
* Rename: SessionVerification -> SessionVerificationScreen
* Rename: BugReport -> BugReportScreen
* Rename: FilePreview -> FilePreviewScreen
* Rename: AnalyticsPrompt -> AnalyticsPromptScreen
* Rename: Invites -> InvitesScreen
* Rename: InviteUsers -> InviteUsersScreen
* Rename: MediaPicker -> MediaPickerScreen
* Delete unused UIActivityViewControllerWrapper
* Rename: ReportContent -> ReportContentScreen
* Rename: RoomDetails -> RoomDetailsScreen
* Rename: RoomMemberDetails -> RoomMemberDetailsScreen
* Rename: RoomMemberList -> RoomMemberListScreen
* Rename: Cleanup
* Renaming missed items
* Low effort attempt at fixing the flakey unit tests
2023-04-24 18:48:07 +03:00
Alfonso Grillo
155fcbbf6e
Improve tests' reliability ( #763 )
...
* Create publisher extension into the unit test target
* Add ViewModelContext test extension
* Refactor BugReportViewModelTests
* Fix failing UTs
* Idea PublishedClosure
* Refactor RoomDetailsViewModelTests
* Replace more Task.yield/Task.sleep
* Move leaveRoom/ignore/unignore under the @MainActor
* Revert "Idea PublishedClosure"
This reverts commit 4ab25291041f0dbd99083baf9d95bc6647f1fd97.
* Make process(viewAction:) sync
* Refactor BugReportViewModel callback to a publisher
* Fix UTs
* Refactor ReportContentViewModel
* Fix ui test build error
* Try make sonar happy
* Empty commit
* Revert "Try make sonar happy"
This reverts commit 97804b19373a8f55f12174ccbf27f1fd8db583b7.
* Rename ui test identifier
* Cleanup
* Callback -> actions refactor
* Update template
* Add publisher in TemplateCoordinator
* Add env variable in IntegrationTests.xctestplan
* Add async sequence extension
* Amend integration test plan
* Remove env variable from target.yml
* Cleanup
* Fix failing UI tests
2023-04-05 17:07:12 +02:00
Mauro
fe881fbea7
Auto-Mocking with Sourcery ( #597 )
...
* work in progress, was able to generate a mock for the RoomProxyProtocol, I'll try if I can swap the mock we have with this one
* removing swiftformat from generated
* added the disable of swiftlint directly into the .stencil
* testing if danger still complains
* improved the stencil
* session verification controller proxy using auto mockable
* BugReport mocks and tests added
* changelog
* fixing a typo
Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com >
* fix typo in the test
Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com >
* removing the Protocol word from the type if present
* using extension in place of a subclass
* removed unused imports
* improved the yielding code
* moved Sourcery files
* stencil master
---------
Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com >
2023-03-08 17:04:31 +01:00
Stefan Ceriu
0aca8c25c1
Fixes #614 - Add the user and device identifiers to rageshakes ( #620 )
...
* Fixes #614 - Add the user and device identifiers to rageshakes
* Add `base_bundle_identifier` to rageshakes
2023-02-24 14:51:36 +02:00
Mauro
9515977c6a
Attach Screenshot in Bug Report Screen ( #578 )
...
* 127 Attach Screenshot in Bug Report Screen
* #127 code improvement
* #127 Code improvements, and changed the loading... label to sending...
* using a statically defined identifier for the new defined ui element
* added the RowLabelStyle and improved the design of the view
* code improvement
* code improvement
* making alignment private
* synthesised init
2023-02-15 16:46:53 +00:00
Gil Eluard
ac48420850
Design review for first public TestFlight ( #492 )
...
* 430 - Design review for first public TestFlight
2023-01-26 15:32:39 +00:00
Stefan Ceriu
8d2e30c0b6
SwiftUI NavigationController and UserNotificationControllers ( #309 )
...
* Fixes #286 - Adopted the new SwiftUI NavigationStack based NavigationController throughout the application
* Fixes #315 - Implemented new user notification components on top of SwiftUI and the new navigation flows
* Add home screen fade animation between skeletons and real rooms
* Bump the danger-swift version used on the CI and swiftlint with it
* Renamed Splash to Onboarding, Empty to Splash
2022-11-16 13:37:34 +00:00
ismailgulek
fdbaa16c38
Screenshot tests ( #130 )
...
* #9 Add snapshot testing library
* #9 Create script to boot test simulators
* #9 Create the UI test plan
* #9 Create shared schemes for test targets
* #9 Disable split view for UI tests
* #9 Fix fastlane dependencies
* #9 Add snapshot testing to the application
* #9 assert screenshots
* #9 fix swipe gestures on iPad
* #9 Fix accessing items in session verification screen
* #9 Workaround for flaky unit test
* #9 Specify scheme for alpha build
* #9 Add reference screenshots
* Update python script path and check assets for png check
* Update script path
* Use static timezone for simulator time
* Fix build after SwiftFormat
* Add changelog
* Upload failed screenshots artifact
* Always upload artifacts
* Update boot simulator script
* Update simulator overridden time
* Install pytz before tests
* Get time from Ruby script
* Disable SwiftUI animation when running UI tests
* Update screenshots after animation setting
* Include reference images in the artifact
* Update matching precision
* Update image matching precision & revert artifact content
* Include Xcode result in the artifact
* Update test output directory
* Disable gradient on splash screen for tests
* Tap next button explicitly
* Wait a bit before checking alert
* Wait 1 second
* Run SwiftFormat on project
* Ignore temporary screenshots
* Fix most of the PR remarks
* Fix conflicts
* Bump Python version to 3
* Update reference screenshots for authentication screens
* Update SwiftFormat
* Fix flakey session verification test.
* Update scheme.
Co-authored-by: Doug <douglase@element.io >
2022-08-11 15:02:47 +03:00
Doug
f20cf598a9
#150 : Use standard file headers everywhere.
...
* Add default header in IDETemplateMacros.plist.
* Use the standard header everywhere.
2022-08-11 08:54:24 +01:00
Doug
c125189b89
Enable blank line rules. ( #132 )
2022-07-06 16:01:50 +01:00
Doug
a272980b62
Add SwiftFormat to the project. ( #129 )
...
* Run swiftformat for whitespace.
* Run swiftformat with some rules.
2022-07-06 14:49:05 +01:00
ismailgulek
cecf9f9cf5
Rageshake Service ( #70 )
2022-06-06 12:38:07 +03:00