Commit graph

18 commits

Author SHA1 Message Date
Jorge Martin Espinosa
556c793b8d
CI: yet another Maestro fix (#6505)
* Fix the `assertSessionVerificationDisplayed.yaml` check

* Previous 'Location' is now 'Share location'

* We don't have a GPS location, so the text is 'Share selected location'

* 'Create a new conversation' is now 'Create room'

* Try adding a background logcat process

* 'Sign out' is now 'Remove this device'

* Adjust the logcat filtering so it silences everything that's not our app, otherwise the logs can get quite large
2026-04-01 13:30:01 +02:00
Jorge Martin Espinosa
6bdb9c7c52
Fix Maestro tests again (#6167)
* Increase the timeout for asserting 'Be in your element' is visible

* Disable the chrome onboarding flow. This simplifies the code a lot and helps avoid corner cases.

* More delays with timeout!

* Add more info to the summary, specially when the tests fail, so we can quickly check what failed.

* Make sure Maestro tests can't run in parallel, but APK builds can
2026-02-12 16:24:19 +01:00
Benoit Marty
1a8e1a3e58 Fix Maestro test. 2024-08-29 12:52:51 +02:00
Jorge Martin Espinosa
d0f26777da
Remove Room moderation feature flag (#2678)
* Remove the feature flag

* Add changelog

* Increase login timeout for Maestro
2024-04-09 17:53:07 +02:00
Jorge Martin Espinosa
41287c5f59
Move session verification to FTUE flow, make it mandatory (#2594)
* Move session verification to the FTUE
* Allow session verification flow to be restarted
* Use `EncryptionService` to display session verification faster
* Remove session verification item from settings
* Remove session verification banner from room list
* Remove 'verification needed' variant from the `TimelineEncryptedHistoryBanner`
* Improve verification flow UI and UX
* Remove 'verification successful' snackbar message
* Only register push provider after the session has been verified
* Hide room list while the session hasn't been verified
* Prevent deep links from changing the navigation if the session isn't verified
* Update screenshots
* Renamed `FtueState` to `FtueService`, created an actual `FtueState`.

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-04-03 14:53:17 +00:00
Jorge Martín
cfbff78667 Fix Maestro 2024-03-21 16:27:03 +01:00
Benoit Marty
702e33dfdc Update Maestro test after wording change. 2024-02-23 15:28:47 +01:00
Benoit Marty
15728d6b58 Add prefix MAESTRO_ to Maestro env variable. 2024-02-22 09:29:05 +01:00
Benoit Marty
c6d68e8392 Maestro cli 1.32.0 does not like integer with this format :/ 2023-09-13 13:49:08 +02:00
Jorge Martin Espinosa
2488432805
Hide encryption history + FTUE flow (#839)
* First attempt at implementing encrypted history banner and removing old UTDs

* Get the right behavior in the timeline

* Implement the designs

* Extract post-processing logic, add tests

* Add encryption banner to timeline screenshots

* Create FTUE feature to handle welcome screen and analytics

* Move classes to their own packages, add tests for `DefaultFtueState`.

* Remove unnecessary private MutableStateFlow

* Move some FTUE related methods and classes back to the `impl` module

* Handle back press at each FTUE step

* Remove unneeded `TestScope` receiver for `createState` in tests.

* Use light & dark previews for the banner view.

* Move color customization from `TextStyle` to `Text` component.

* Rename `InfoList` design components, use them in `AnalyticsOptInView` too.

* Cleanup MatrixClient.

* Fix copy&paste error

Co-authored-by: Benoit Marty <benoit@matrix.org>

* Fix typo

* Fix Maestro tests

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
Co-authored-by: Benoit Marty <benoit@matrix.org>
2023-07-17 18:34:36 +02:00
Benoit Marty
000ef93dc5 Update Meastro test after iteration on OnBoarding screen. 2023-07-04 10:56:03 +02:00
Marco Romano
2f4dc2407e Change app name in maestro tests (#747)
App name has changed so now maestro tests fail.
2023-07-03 08:49:45 +00:00
Benoit Marty
4266faa204 Update maestro test regarding the new login flow. 2023-06-09 10:19:49 +02:00
Yoan Pintas
f534ecda96 Init analytics modules (#350) 2023-06-05 13:11:34 +00:00
Benoit Marty
13990cba7c Update maestro tests. 2023-06-01 10:57:36 +02:00
Chris Smith
92e9d3a127 Fix a few FFI leaks (#405)
Fix a few FFI leaks

These are instances where we obtain an FFIObject and don't call
Close on it to release the underlying reference on the Rust side.

The worst instance here was leaking an object per room member
every time we refreshed the member list
2023-05-12 10:50:39 +00:00
Benoit Marty
8e2a28f057 Fix wording issue 2023-01-17 18:12:40 +01:00
Benoit Marty
de6532e073 Setup Maestro and add first tests.
Also configure CI
2023-01-17 18:11:12 +01:00