Commit graph

25 commits

Author SHA1 Message Date
Benoit Marty
1013fe04e1 Fix Maestro 2023-12-26 16:55:58 +01:00
Benoit Marty
d67d29283e Replace test of server without sliding sync with test of homeserver resolution. 2023-12-14 15:34:57 +01:00
Benoit Marty
806525d4ed Fix Maestro (do not rely on text) 2023-11-02 11:57:11 +01:00
Benoit Marty
d05f94e574 Fix maestro test: chat backup is disabled by default. 2023-11-02 11:23:10 +01:00
Benoit Marty
323765c3bc Fix maestro test. 2023-11-02 09:23:07 +01:00
Benoit Marty
72e46b259a Fix Maestro test 2023-10-30 12:41:16 +01:00
Benoit Marty
bb55a5676c Secure backup 2023-10-27 12:18:40 +02:00
Benoit Marty
ced5cb0278 Maestro test: change server to test (one of our) server which does not support sliding sync. (#1066) 2023-10-03 10:39:59 +02:00
Benoit Marty
46296997f6 Maestro test: change server (again) to test server which does not support sliding sync. (#1066) 2023-10-02 17:39:23 +02:00
Benoit Marty
7be1b8cc12 Maestro cli 1.32.0 does not like integer with this format :/ 2023-09-13 13:49:08 +02:00
Benoit Marty
80df78bd7c Maestro test: add assertion for server with no sliding sync error. 2023-08-17 16:18:37 +02:00
Benoit Marty
07689092a9 Maestro test: change server to test server which does not support sliding sync. (#1066) 2023-08-17 16:18:37 +02:00
Jorge Martin Espinosa
280b7e32e0 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
b3fc984a91 Update Meastro test after iteration on OnBoarding screen. 2023-07-04 10:56:03 +02:00
Benoit Marty
4c214db5c4 Update maestro test regarding the new login flow. 2023-06-09 10:19:49 +02:00
Yoan Pintas
d2263372d2 Init analytics modules (#350) 2023-06-05 13:11:34 +00:00
Benoit Marty
3fe9f02560 Update maestro tests. 2023-06-01 10:57:36 +02:00
Jorge Martin Espinosa
27824a279a Fix: Maestro tests fail when using settings (#358)
* Fix Maestro tests using 'Settings' to open the settings screen.

* Try to allow manually running Maestro tests.

* Also adjust logout flow.
2023-04-25 18:01:54 +02:00
Jorge Martin Espinosa
ec66ed0a68 Use user friendly error messages in login following iOS logic (#174)
* Use user friendly error messages in login following iOS logic, fix dialog colors.

* Use `AlertDialogDefaults` for the default properties of dialogs

* Improve Maestro tests with wrong password dialog

* Add tests for error messages
2023-03-07 17:55:48 +01:00
Jorge Martin Espinosa
33b88b8026 Refine sign in flow to match designs and iOS flow (#100)
* Fix dark theme

* First attempt at replicating iOS' UI & flows.

* Try to fix Maestro tests

* Add error dialogs and tests

* Remove unused modifiers

* Try to fix detekt issues

* Tidy up maestro login flow a bit

* Add `CompoundColorPalette` with some needed colors

* Fixes to designs

* Fix detekt issues

* More design fixes

* Some other minor design fixes

* Add changelog

* Minor tweaks.

* Remove legacy dark material theme as it's no longer needed.

* Move sliding sync 'learn more' url to constants object

* Remove unused focusManager

* Change how the displayed homeserver works

* Keep user input as homeserver if it's valid

* Remove `CompoundColorPalette`, try to fix issue when toggling dark mode.

* Add `@Stable` to the theme, adjust how it toggles in dark mode

* Remove unused strings

* Update screenshots

* Re-organize components in LoginRootScreen

* Bump min coverage to 55, max to 60

* Always replace the snapshots contents when running `recordPaparazzi`

* Fix dark theme preview of components using content colors

* Add `BackButton` component

* Handle errors with dialogs in a generic way

* Align our Dialog components with the designs, use them were needed

* Use a `MatrixHomeserverDetails` data class instead of just an URL.

* `AuthenticationService.getHomeserverDetails()` now returns a `StateFlow`.

Also, try to fix coverage issues in tests.
2023-03-06 09:30:16 +01:00
Benoit Marty
f65ac02f50 Add another test: cancel sign out. 2023-01-17 18:12:40 +01:00
Benoit Marty
2b64285edf Fix wording issue 2023-01-17 18:12:40 +01:00
Benoit Marty
5f5ec78e78 Add comments for iOS 2023-01-17 18:12:40 +01:00
Benoit Marty
2e42234971 Fix wording issue 2023-01-17 18:12:40 +01:00
Benoit Marty
1333ab6643 Setup Maestro and add first tests.
Also configure CI
2023-01-17 18:11:12 +01:00