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
Doug
63f429ea4c
Use strings from Localazy ( #718 )
...
* Adopt strings from Localazy.
* Remove all old Android strings.
* Disable german snapshot tests for now.
* Rebase and add latest strings.
2023-03-27 17:18:59 +00:00
Doug
becbcc84e1
Automatic discovery of the sliding sync proxy. ( #535 )
...
* Automatic discovery of the sliding sync proxy.
* Handle homeserver detection from a MXID.
* Update sliding sync info link, SDK and bump patch.
Add a migration on the new version. The change in restoration token format requires the user to sign in again, but this will fail with the existing device ID.
2023-02-08 19:07:02 +00:00
Doug
af7005ce19
Hardcode the sliding sync proxy. ( #502 )
...
* Add support for migrating between versions.
* Rename InfoPlistReader property.
* Bump SDK version.
2023-01-31 17:48:24 +00:00
Stefan Ceriu
522dad5ff2
Resetting the app after deletion and cleanup settings ( #372 )
...
* Fixes #361 - Reset everything if the app has been deleted since the last run
* Cleaned up and renamed the ElementSettings to ApplicationSettings. Removed its singleton and moved it to the service locator.
* Moved the ApplicationSettings to the Application folder
* Merged together the BuildSettings and ApplicationSettings
* Reset the UserDefaults too when resetting the application state
* Rename ServiceLocator.applicationSettings to just settings
* Fix indentation
* Rename ApplicationSettings to AppSettings
* Various tweaks following code review
* Fix unit tests
2022-12-16 10:02:22 +02:00
Stefan Ceriu
9cf87d4166
Prevent the sliding sync proxy base URL value from being stored in the UserDefaults if it hasn't changed on homeserver confirmation
2022-12-07 09:44:10 +02:00
Stefan Ceriu
b470d80b3f
Remove unnecessary marks, they bring little value
2022-11-28 12:46:06 +02:00
Stefan Ceriu
a055341161
Expose sliding sync proxy URL on the server selection screen; make app more resilient to slidinc sync configuration errors, remove fatal errors
2022-11-17 14:04:24 +02: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
Stefan Ceriu
621a9a572f
Fix SwiftFormat errors
2022-07-22 14:48:15 +03: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
Doug
88ce67603e
#40 : Add basic AuthenticationService and missing UI tests.
...
* Add MockAuthenticationService and ServerSelectionUITests.
* Add tests covering the Authentication flow.
2022-07-04 10:00:27 +01:00
Doug
e140c83c19
#40 : Add server selection screen from EI.
2022-06-30 10:49:00 +01:00