* Hardcode Xcode 15.2 as there are multiple versions available on the performance runner
* Remove the derived data caching step as it's not necessary on the performance runner.
* Stop running the UI tests on the double localized pseudolanguage
* Fix UI tests signalling comms problem because the json key ordering wasn't defined and the messages wouldn't match.
* Remove UI tests that are now the same as preview tests (i.e. non flow based, only screen based), fixed the rest so they run on iOS 17.2, the iPhone 15 and iPad 10th gen simulators.
* Remove unnecessary gitignore instructions, change UI test snapshot naming convention to be more similar to the unit test ones
* Enable derived data and spm checkout caching for UI tests
* Switch UI tests back to the perf-only runner, moved the integration tests to the iPhone 15 Pro simulator.
* Address PR comments
* Update Prefire, setup multiple snapshot devices and languages
Squashed commits:
[28cb4ae6d] Switch to macos-14, iOS 17 and the iPhone 15 simulator
[080fc82cb] Update snapshots
[c874ca9c7] Bump Compound and Prefire, reduce perceptual precission to 0.98
[a59b8a54c] Update snapshots after adding iPad and pseudolanguage snapshotting
[f30cc3277] Setup multi-language snapshotting
[aeb11c7e7] Update prefire template, setup multiple snapshot devices
* Update ruby dependencies and fastlane plugins
* Bump Compound, switch back to the original prefire - version 2.0.4
* Remove preview test simulator version specifiers
* Use Xcode 15 in GitHub actions.
Use iOS 16.4 simulators from Xcode 14 as iOS 17.0.1 simulators are **super** slow.
* Fix failing preview snapshots.
Snapshot fix.
* Improve setup
* Regenerate snapshots that had a conflict.
---------
Co-authored-by: Alfonso Grillo <alfogrillo@gmail.com>
* prefire basic implementation
force the unit tests to run on iPhone 14
skipping plugin validation
archive artifacts
better workflow
removed the OS restriction
lfs
custom stencil
new test file
deleting
* git lfs
* lfs
* test
* customised the stencil to support our internal protocol
* for now we can remove the OS check from the stencil
* added a delay
* tests have been moved
* improvement
* recommit
* perceptual precision lowered
* updated snapshot testing and selected also iOS version
* added ios version control
* let's disable autocorrection
* waiting some more time in flaky tests and updated the content of a test that was failing
* controlled delay waited a bit moe for the timeline to settle
* try await
* trying with a bit more waiting time after the tap and a slow velocity for the swipe
* let's try waiting more time
* workflow for a single ui test
* las try
* slow swiping tests
* commenting out flaky CI tests, for now we'll just disable them
* better description
* flaky test improvement
* disabling animations that are not needed in UITests
* code that already prevents animations in UI tests
* code improv
* settting macOS to 13, and let's runa test of... the tests
* I want the artifacts of the test, might give me some more insight in Xcode
* archive artifact
* trying a thing with the xcode version
* push notifications alert makes this test fail
* test improvement
* let's try with a very long time
* let's disable autocorrection
* sleep
* 1 seconds fixed 90% of the issue, 2 should fix 100%
* waiting some more time in flaky tests and updated the content of a test that was failing
* updated a screenshot test that had a notification
* this integration test is a bit so flaky increased the timing
* controlled delay waited a bit moe for the timeline to settle
* try await
* MainActor everywhere
* milliseconds fix
* trying with a bit more waiting time after the tap and a slow velocity for the swipe
* let's try waiting more time
* Switch back to macos-12 and see if the tests work
* Fix unit tests, add default invited, joined and active member counts to the mock room proxy
* Try running UI tests on 14.3 but on an existing iPad simulator
* Revert "Try running UI tests on 14.3 but on an existing iPad simulator"
This reverts commit b075e7fa384330a9070dc35ed4dded57e0af26e1.
* MediaUploadingPreprocessor - Prevent images without any GPS metadata from being changed
* Add support for sending images
* Add support for sending video, audio and file attachments
* Rename MediaPickerPreview to MediaUploadPreview
* Move media uploading to the MediaUploadPreviewScreen, add waiting indicators and error handling
* Add support for pasting and drag&dropping in media for upload
* Adopt new media picker source UI, remove developer flag
* Set minimum heights for timeline loadable images
* Fix invalid camera picker file names
* Fix flakey MediaUploadingPreprocessor image tests, improve gps metadata stripping
* UITests: Update existing screenshots and add new step for the room attachment picker
* Switch all github action runners to macos-13
* Cleanup enter key and paste message composer handlers
* fixing locheck
* fixing locheck tool
* Revert "fixing locheck tool"
This reverts commit 9bb3dbcd70d1ecbc62b4289623b5f9e584929997.
* locheck install
* using the original code to get the directory
* setup project on ci
* removed unneeded code
* removed useless code
* fixing locheck
* fixing locheck tool
* Revert "fixing locheck tool"
This reverts commit 9bb3dbcd70d1ecbc62b4289623b5f9e584929997.
* locheck install
* using the original code to get the directory
* adding swiftgen to download strings
* setup project on ci
* added Strings.swift to the path
* adding String.swift
* Translations workflow and tools
* improved the name of the workflow
* need this commit to trigger the workflow for the first time
* swift tools can now run on CI
* only strings and stringsdict will be committed
* fixed a workflow issue
* starting the workflow to save it
* fixing downgrade issues
* fixing URL usage
* install localazy
* fixing add-paths typo
* downloaded strings
* removing on push trigger
* Update Tools/Sources/DownloadTranslations.swift
Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
* Added locheck for string verification
* code formatting improvement
* Update Tools/Sources/Locheck.swift
Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
* pr suggestion
---------
Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
* created the row in the view and the alert, and added the new function to the RoomProxy
* fixed an issue with the alert function
* handling the navigation
* fixed a bug with the detail coordinators being dismissed incorrectly when inside a stack
* implementation completed
* replaced UI screenshots
* added a test for the fixed bug of the coordinators
* trying to increase the wait time for the expectation
* improved the test
* improved the buttons UI
* uploading artifacts for unit tests
* added result bundle true
* improved the tests
* added a new test
* pr suggestions
* updating mock
* PR suggestions
* improved tests
* fixed UI tests
* pr should be ready now
* removed testing code
* reduced complexity
* fixed test
* added a an assert to the new test case
* more tests and messages cases
* pr comments addressed
* completed
* Deleted project file
* Add back SPM Package.resolved + .gitignore
* Generate project file on release builds
* Converge on single CI setup scripts within `ci_scripts/ci_common.sh`
* Fix unit tests
* Use new `ci_common/setup_github_actions_environment` setup script on all workflows
* Move lfs validation check to the pre-commit hooks. Remove validate-lfs github actions workflow
* Fix integration tests workflow
* Tweaks following code review