Commit Graph

43 Commits

Author SHA1 Message Date
Benoit Marty
72eb1dca0a Maestro No need to close the keyboard after fix from #1593 2023-10-20 12:08:59 +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
6702dc6895 Maestro: ensure the Rich Text Editor can be clicked by Maestro.
We cannot click on the hint "Message" anymore, since it's now a separate Text.
2023-09-13 14:33:32 +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
Marco Romano
e271d7818b Poll: Maestro tests 2023-08-31 14:49:50 +02:00
Benoit Marty
4843e9819f Maestro test: fix test failing locally 2023-08-17 16:18:37 +02:00
Benoit Marty
23e7245981 Add check for all env variables (fail fast). 2023-08-17 16:18:37 +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
Benoit Marty
262084a38b fix typo 2023-08-17 16:18:37 +02:00
Benoit Marty
e07b664108 [doc] Element X can now create room. 2023-07-27 23:14:32 +02:00
Benoit Marty
32bf308b42 ElementX -> Element X 2023-07-27 23:12:54 +02:00
Marco Romano
de2980bec7 Add maestro test for send location (#914)
Originally part of https://github.com/vector-im/element-x-android/pull/770
It's been extracted out since it's currently blocked by our lack of maestro cloud credits.

- https://github.com/vector-im/element-meta/issues/1682
2023-07-19 14:46:56 +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
Marco Romano
3bc5dfa2dc Add Maestro tests for create & join rooms (#472)
I created 2 additional test users to use them as MXID we lookup during room creation.

I.e. we will not login as those users, it's just 2 known MXIDs that we know exist so we can look them up.

- https://github.com/vector-im/element-x-android/issues/409
2023-07-04 13:33:59 +02:00
Benoit Marty
b3fc984a91 Update Meastro test after iteration on OnBoarding screen. 2023-07-04 10:56:03 +02:00
Benoit Marty
bad9d7e12c Update Maestro test regarding settings. 2023-07-03 17:09:04 +02:00
Marco Romano
a1aa891345 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
ef7ddb8d0f Merge pull request #549 from vector-im/feature/bma/onboardingServer
Onboarding iteration
2023-06-13 09:21:50 +02:00
Benoit Marty
4c214db5c4 Update maestro test regarding the new login flow. 2023-06-09 10:19:49 +02:00
Jorge Martin Espinosa
595fbda220 [Message actions] New UI for message composer and editing (#526)
* Add UI for edit composer mode

* Remove leftover code from the RTE implementation

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-06-07 13:06:19 +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
Chris Smith
ebac9ef4b4 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
e8049f81a4 Move the button to open the Showkase browser to the developer settings screen. (#389) 2023-05-04 17:29:03 +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
Benoit Marty
166151a6e8 [Strings] Update test after string change 2023-03-27 14:44:24 +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
ganfra
68db4f1be7 Update maestro readme 2023-02-27 12:19:56 +01:00
Benoit Marty
f6e2e2fa90 Fix typo 2023-01-18 16:40:53 +01:00
Benoit Marty
f65ac02f50 Add another test: cancel sign out. 2023-01-17 18:12:40 +01:00
Benoit Marty
02417a4f72 Update doc. 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
e6da460619 clearKeychain (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
3ea27c40d3 Fix wording issue 2023-01-17 18:12:40 +01:00
Benoit Marty
ac97671950 Add doc for future 2023-01-17 18:11:12 +01:00
Benoit Marty
b484c9e2e7 Typo in doc 2023-01-17 18:11:12 +01:00
Benoit Marty
369f520344 Rename job, add missing parameter ROOM_NAME and update TOC 2023-01-17 18:11:12 +01:00
Benoit Marty
1333ab6643 Setup Maestro and add first tests.
Also configure CI
2023-01-17 18:11:12 +01:00