Integration test improvements (#3330)

* Send a message from integration tests and check that it doesn't show up in the app logs
* Increase photo library timeout

* Wait for image tapping to process

* Send a message using the rich text editor too

* Wait for the various pickers to finish loading

* Set all logs to `trace` in integration tests

* Close formatting options after sending the second message

* Make sure logs are actually sent to tracing and get redirected to the right file

* Switch from using a custom `trace` log configuration to the lowest level `TracingConfiguration` we support
This commit is contained in:
Stefan Ceriu
2024-09-26 10:15:09 +03:00
committed by GitHub
parent a8dbda90d9
commit dc6d7f2985
8 changed files with 101 additions and 16 deletions
+6
View File
@@ -37,6 +37,12 @@ jobs:
INTEGRATION_TESTS_USERNAME: ${{ secrets.INTEGRATION_TESTS_USERNAME }}
INTEGRATION_TESTS_PASSWORD: ${{ secrets.INTEGRATION_TESTS_PASSWORD }}
- name: Check logs are set to the `trace` level
run: (grep ' TRACE ' /Users/Shared -qR)
- name: Check logs don't contain private messages
run: (! grep 'Go down in flames' /Users/Shared -qR)
- name: Zip results # for faster upload
if: failure()
working-directory: fastlane/test_output