Commit graph

11411 commits

Author SHA1 Message Date
Adam Brown
3add33eb0d removing unused imports 2021-11-08 15:11:03 +00:00
Adam Brown
579963733b moving verification dismissing to the robot 2021-11-08 15:03:34 +00:00
Adam Brown
2d1aed1839 separating the stopping of in-flight tasks form the cleaning up of the session state
- by stopping the session tasks before invalidating the current session we're able to avoid any extra token failures which retrigger the signout flow
2021-11-08 14:50:58 +00:00
Adam Brown
52731cf59d double checking the sync state in order to avoid redundant invalid token events 2021-11-08 14:50:58 +00:00
Adam Brown
f61d20a7f8 adding sign out + re-sign in flows to the robots
- the verification popup if flaky so we're attempting both exit flows if needed
2021-11-08 14:50:58 +00:00
Adam Brown
9b4cd3c3c4 resetting the session access token after releasing the current session, fixes missing session sign out error
- the sign out step was invaliding the in flight access token which causes the global error handler to trigger an extra sign out
2021-11-08 14:50:58 +00:00
Florian Renaud
8140d90826 Fix potential NPE on Optional objects 2021-11-08 15:48:33 +01:00
Benoit Marty
2b58c0e5ab ktlint 2021-11-08 15:06:23 +01:00
Benoit Marty
cea2206e97
Merge pull request #4420 from vector-im/feature/adm/sanity-check-robot
Sanity tests robot pattern and reliability refactor
2021-11-08 14:54:27 +01:00
Benoit Marty
04c7a300b9 Add an explicit reason when shortcut are disabled.
Also prefer using ShortcutManagerCompat to disable shortcuts
2021-11-08 12:47:32 +01:00
Benoit Marty
b6e5d2cadf
Merge pull request #4339 from vector-im/feature/adm/invite-by-email
Missing ability to invite users by email
2021-11-08 11:05:27 +01:00
David Teresi
3837f8e2e3 Add changelog.d item 2021-11-06 13:11:38 -04:00
David Teresi
4b57761d02 Remove broken room shortcut recreation 2021-11-06 13:05:23 -04:00
Adam Brown
78675d4aa1 fixing formatting 2021-11-05 15:48:45 +00:00
Adam Brown
657a613374 ensuring we wait for the create room fragment to be ready 2021-11-05 15:47:21 +00:00
Adam Brown
b1397aee51 relying on createRoom to close itself rather than the newRoom flow 2021-11-05 15:35:57 +00:00
Adam Brown
0405c2df8d adding missing activity wait whilst navigating to the room members 2021-11-05 15:01:06 +00:00
Benoit Marty
be932a8a03
Merge pull request #4373 from vector-im/dependabot/gradle/io.realm-realm-gradle-plugin-10.8.1
Bump realm-gradle-plugin from 10.8.0 to 10.8.1
2021-11-05 16:00:02 +01:00
Adam Brown
803929ea45 using static imports for the espresso helpers and reusing existing wait for view 2021-11-05 14:56:29 +00:00
Adam Brown
7b6773f90e removing no longer needed sleeps 2021-11-05 14:44:22 +00:00
Adam Brown
264f49b02c moving settings robots to their own pacakge 2021-11-05 14:41:01 +00:00
Benoit Marty
e8fb408579 Limit the number of pushed shortcuts 2021-11-05 15:38:52 +01:00
Adam Brown
32f5893798 moving the signout to the robot but commenting out whilst a bug is fixed
- also makes waitForActivity stronger by also waiting for child views
2021-11-05 14:38:20 +00:00
Adam Brown
0f1c9f4af5 porting ui base to be a onboarding robot and providing via the element robot 2021-11-05 13:56:51 +00:00
Adam Brown
17789f00bb ensuring we end up back where we started via the root robot helpers 2021-11-05 13:29:45 +00:00
Adam Brown
d2aec09b5b making all waitForViews have an initial 100ms wait this completely removed the flakyness when running the tests on my emulator 2021-11-05 13:29:16 +00:00
Adam Brown
f08d3965c1 replacing sleeps with view waits where possible 2021-11-05 11:26:30 +00:00
Adam Brown
e0544a677d removing sleeps in favour of waiting for the views to become ready
- improves the flakyness around the bottom sheets and dialogs
2021-11-05 11:16:00 +00:00
Adam Brown
5284765149 adding helper for waiting until view is ready 2021-11-05 10:33:19 +00:00
Benoit Marty
f3655d4664
Merge pull request #4363 from vector-im/feature/fga/rx_flow_migration
Feature/fga/rx flow migration
2021-11-04 18:44:48 +01:00
Benoit Marty
bcffbbefd7 Version++ 2021-11-04 18:42:52 +01:00
Benoit Marty
0a0ad6d073 Merge branch 'release/1.3.7' into develop 2021-11-04 18:41:03 +01:00
Benoit Marty
cd5a0f4c3c Merge branch 'release/1.3.7' into develop 2021-11-04 18:39:04 +01:00
Adam Brown
557609c175 porting the room flows to the robot pattern 2021-11-04 16:14:51 +00:00
Benoit Marty
b773aa213a Fastlane 2021-11-04 16:49:55 +01:00
Benoit Marty
6c8513d65a Towncrier 2021-11-04 16:48:35 +01:00
Benoit Marty
78e0109301 Fix crash when filtering the room member list
A Holder as to be uniquely linked to the layout id declared in @EpoxyModelClass, see https://github.com/airbnb/epoxy/issues/854
Fixes https://github.com/matrix-org/element-android-rageshakes/issues/27784
2021-11-04 16:39:20 +01:00
Benoit Marty
21e1766e3e Better code 2021-11-04 16:19:26 +01:00
Benoit Marty
41ab117182 Fix a problem with filtering 3pid invite.
We were using the whole 3pid invite if they were not all filtered.
Also double filtering on RoomThirdPartyInviteContent type is not necessary
2021-11-04 16:19:26 +01:00
Adam Brown
e800c59f57 porting the new direct message checks to the robot pattern 2021-11-04 15:00:15 +00:00
Adam Brown
67fe07a385 porting settings crawling to the robot pattern 2021-11-04 14:46:01 +00:00
Benoit Marty
345dac4a3b rename fun 2021-11-04 15:43:03 +01:00
Adam Brown
2f3716d9b9 using robot pattern to navigate the settings
- will allow reuse of navigating around the app (eg enabling develop options and go back to previous locations)
2021-11-04 12:55:54 +00:00
Adam Brown
ed4f26de81 adding login timeouts to reduce flakyness during login 2021-11-04 12:35:03 +00:00
Benoit Marty
8f854d725d ./fastlane/metadata/android/vi/full_description.txt now exists 2021-11-04 13:01:40 +01:00
Adam Brown
85f8f217b5 updating invite copy 2021-11-04 11:55:09 +00:00
Adam Tomaja
e167db2bb7
Feature/4292 fix capitalisation on initial sync screen (#4410)
#4292 - Fix Capitalisation On Initial Sync Screen

Co-authored-by: Adam Tomaja <cydercode@gmail.com>
2021-11-04 11:39:50 +00:00
Benoit Marty
6f58cbd6c5
Merge pull request #4314 from vector-im/feature/adm/fdroid-notification-reliability
F-Droid variant permanent notification to fix missing notifications
2021-11-04 12:28:20 +01:00
Benoit Marty
97089e4394 Fix lint issue 2021-11-04 12:20:39 +01:00
Benoit Marty
3ffd41d36f
Merge pull request #4411 from RiotTranslateBot/weblate-element-android-element-app
Translations update from Weblate
2021-11-04 12:10:31 +01:00