mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-10-31 16:24:11 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user