Adam Brown
cfb1e09d64
adding tests around the event html rendering
...
- the test helper is a little hacky in order to covert the spans to something human readable
2022-07-07 13:47:42 +01:00
Jorge Martín
b5aedd4626
Re-implement lock screen feature using our own implementation.
2022-06-20 17:38:05 +02:00
Jorge Martin Espinosa
65bc4acbab
Fix flaky tests for voice recording feature ( #6330 )
2022-06-20 09:23:02 +00:00
Benoit Marty
706e8e7627
Ensure the test is less flaky...
2022-06-17 16:54:18 +02:00
Benoit Marty
705b55c57a
Use handy kotlin.time.Duration.Companion and remove default value.
2022-06-17 16:53:33 +02:00
Benoit Marty
16ca26569f
Merge pull request #6228 from vector-im/feature/bma/unifiedPush2
...
UnifiedPush
2022-06-16 16:09:31 +02:00
Jorge Martín
c204f41bec
Try to fix tests, address review comments.
2022-06-15 11:37:50 +02:00
Jorge Martín
64334c3437
Add some tests
2022-06-15 11:34:23 +02:00
Benoit Marty
d1e2a903b4
Add test for the notification settings.
2022-06-13 16:36:32 +02:00
Benoit Marty
55bac9ba0f
Give time to the tests to perform
2022-06-13 16:29:45 +02:00
Michael Kaye
d1a3e02faf
Ignore all failing tests
2022-06-09 21:40:22 +01:00
Michael Kaye
38126c6b4f
Refactor test to be more lenient in timing
2022-06-09 21:39:43 +01:00
ericdecanini
6df88fba59
Merge remote-tracking branch 'origin/develop' into task/eric/when-arrow-alignment
...
# Conflicts:
# matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/session/sync/handler/GroupSyncHandler.kt
# matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/session/sync/handler/room/RoomSyncHandler.kt
# vector/src/main/java/im/vector/app/features/home/HomeActivity.kt
# vector/src/main/java/im/vector/app/features/home/HomeActivityViewModel.kt
# vector/src/main/java/im/vector/app/features/home/InitSyncStepFormatter.kt
# vector/src/main/java/im/vector/app/features/home/room/detail/timeline/factory/MessageItemFactory.kt
# vector/src/main/java/im/vector/app/features/home/room/detail/timeline/style/TimelineMessageLayoutFactory.kt
# vector/src/main/java/im/vector/app/features/sync/widget/SyncStateView.kt
2022-06-08 12:59:54 +02:00
Benoit Marty
f62d598b79
Create a SyncService and move some methods from Session there.
...
Merge SyncStatusService to SyncService, and rename some classes
2022-06-08 09:53:33 +02:00
Michael Kaye
93bacc98fe
Revert "Ignore tests."
...
This reverts commit 17d85840a7
.
2022-06-07 16:02:53 +01:00
Michael Kaye
49d1c1baee
Revert "Remove UI tests from connected android test run via @Ignore"
...
This reverts commit 5eac30d283
.
2022-06-07 16:02:52 +01:00
Michael Kaye
17d85840a7
Ignore tests.
...
All failing with
```
im.vector.app.SecurityBootstrapTest > testBasicBootstrap[Nexus_5X_API_28(AVD) - 9] FAILED
java.lang.IllegalStateException: Method addObserver must be called on the main thread
at androidx.lifecycle.LifecycleRegistry.enforceMainThreadIfNeeded(LifecycleRegistry.java:317)
im.vector.app.VerifySessionInteractiveTest > checkVerifyPopup[Nexus_5X_API_28(AVD) - 9] FAILED
java.lang.IllegalStateException: Method addObserver must be called on the main thread
at androidx.lifecycle.LifecycleRegistry.enforceMainThreadIfNeeded(LifecycleRegistry.java:317)
im.vector.app.VerifySessionPassphraseTest > checkVerifyWithPassphrase[Nexus_5X_API_28(AVD) - 9] FAILED
java.lang.IllegalStateException: Method addObserver must be called on the main thread
at androidx.lifecycle.LifecycleRegistry.enforceMainThreadIfNeeded(LifecycleRegistry.java:317)
```
2022-06-07 15:44:27 +01:00
Michael Kaye
5eac30d283
Remove UI tests from connected android test run via @Ignore
2022-06-07 15:42:58 +01:00
ericdecanini
5cc7deea4e
Merge remote-tracking branch 'origin/develop' into task/eric/when-arrow-alignment
...
# Conflicts:
# matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/auth/registration/DefaultRegistrationWizard.kt
# matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/crypto/keysbackup/DefaultKeysBackupService.kt
# matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/session/room/summary/RoomSummaryDataSource.kt
# matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/worker/MatrixWorkerFactory.kt
# vector/src/main/java/im/vector/app/core/ui/views/ReadReceiptsView.kt
# vector/src/main/java/im/vector/app/core/utils/TextUtils.kt
# vector/src/main/java/im/vector/app/features/crypto/recover/BootstrapSharedViewModel.kt
# vector/src/main/java/im/vector/app/features/crypto/verification/VerificationBottomSheetViewModel.kt
# vector/src/main/java/im/vector/app/features/home/HomeActivity.kt
# vector/src/main/java/im/vector/app/features/home/HomeActivityViewModel.kt
# vector/src/main/java/im/vector/app/features/home/HomeDetailFragment.kt
# vector/src/main/java/im/vector/app/features/home/room/detail/TimelineFragment.kt
# vector/src/main/java/im/vector/app/features/home/room/detail/timeline/factory/LiveLocationShareMessageItemFactory.kt
# vector/src/main/java/im/vector/app/features/home/room/list/RoomListFragment.kt
# vector/src/main/java/im/vector/app/features/home/room/list/RoomListSectionBuilderSpace.kt
# vector/src/main/java/im/vector/app/features/home/room/list/RoomSummaryItemFactory.kt
# vector/src/main/java/im/vector/app/features/onboarding/OnboardingViewModel.kt
# vector/src/main/java/im/vector/app/features/onboarding/ftueauth/FtueAuthVariant.kt
2022-06-03 12:06:23 +02:00
ericdecanini
e6e05317e1
Merge remote-tracking branch 'origin/develop' into task/eric/code-style-parenthesis
...
# Conflicts:
# matrix-sdk-android/src/androidTest/java/org/matrix/android/sdk/internal/crypto/verification/qrcode/VerificationTest.kt
# matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/crypto/keysbackup/DefaultKeysBackupService.kt
# matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/session/room/DefaultRoomService.kt
# matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/session/room/summary/RoomSummaryDataSource.kt
# vector/src/main/java/im/vector/app/features/home/room/list/RoomSummaryItemFactory.kt
# vector/src/main/java/im/vector/app/features/media/ImageContentRenderer.kt
2022-05-31 14:21:16 +02:00
ericdecanini
b3fdb5ed17
Changes code style when arrow alignment
2022-05-23 12:57:57 +02:00
ericdecanini
3f3662e605
Changes code style method parameters new line around parentheses to true
2022-05-23 12:30:42 +02:00
Benoit Marty
ede784684f
Change in KeysBackupService: isEnabled
and isStucked
are now fun, and state
has been renamed to getState
and is now a fun.
2022-05-20 21:14:42 +02:00
fedrunov
18842b5e3d
leaving space aligned with ios ( #5942 )
2022-05-19 11:49:08 +02:00
Michael Kaye
010be9184c
Fix threading UI test failure by adding a sleep 30s.
2022-05-16 15:59:41 +01:00
Benoit Marty
3fc4083aca
Make the constructor public
2022-05-16 12:23:10 +02:00
Benoit Marty
f54aa60803
Fix test compilation warning after bump kotlin-gradle-plugin from 1.6.0 to 1.6.21
2022-05-10 17:00:54 +02:00
ericdecanini
3fb03e2b2c
Reformats project based on editorconfig
2022-05-05 19:10:35 +02:00
Benoit Marty
3ecde755e0
Rename val
2022-05-04 17:51:14 +02:00
Benoit Marty
40d3203297
Use Clock interface app side
2022-05-03 15:02:34 +02:00
Benoit Marty
7fa1af3819
Looks like ktlint and Android Studio does not order imports with the same rules :/. Let's please ktlint for the CI :/
2022-04-29 10:05:51 +02:00
Benoit Marty
f48be229c8
Fix issue with ignored users. Preference Category and Preference title have the same value.
2022-04-28 16:39:59 +02:00
Benoit Marty
f6fa794a18
Restore voice call test (was fixed in #5847 )
2022-04-28 14:40:11 +02:00
Benoit Marty
0092a7057e
Access the various services with a getter
2022-04-25 09:49:51 +02:00
Benoit Marty
3ed6a90fde
Fix sanity test after #5773
2022-04-21 21:08:28 +02:00
ericdecanini
de899bbb18
Formats entire project
2022-04-21 11:50:15 +02:00
Benoit Marty
a3575fbc6b
Move PrivateKeysInfo
to api package
2022-04-12 15:38:20 +02:00
Benoit Marty
fd76db9616
Update test
2022-04-05 22:16:42 +02:00
Adam Brown
9d3d574d28
FTUE - Finalising personalisation journey ( #5519 )
...
* enabling the personalisation flow and promoting the strings for translation
* delegating the fake vector features to the static defaults, the fake exists for allowing overrides when needed
* incorporating the personalisation screens into the UI test signup
* adding changelog entry
* removing unused import
* putting the personalisation UI test flow behind the feature flag so that we can keep it disabled
* disabling the personalisation flow, we'll batch enable with other parts of the FTUE flow
* enabling the personalisation feature for registration unit tests which expect it to be enabled
2022-03-30 09:09:46 +01:00
Adam Brown
5bbc9dc102
fixing the onboarding sanity test failing
...
- adds tapping the new take me home button within the sanity test
2022-03-23 09:02:37 +00:00
ariskotsomitopoulos
8b254212af
Merge branch 'develop' into feature/aris/thread_live_thread_list
2022-02-24 12:45:08 +02:00
ariskotsomitopoulos
8788fb974d
Add new use case about threads in the allScreensTest
2022-02-23 18:39:02 +02:00
Adam Brown
9a80ff7673
fixing space menu items not being clicked on during sanity test
...
- adds a separate clickOn helper for interacting with dialog bottom sheets, it seems the space menu sheet lives in a separte root to the rest of the suite (could be the fast switching of highlighting existing issues)
2022-02-23 12:01:47 +00:00
Michael Kaye
66b30c33c8
Improve reliability of sanity tests.
...
We add the permission so we can write to the external storage with the screenshots
We rename the screenshots so they can be uploaded via the github action correctly
We always do the upload even if the test build has failed.
2022-02-18 14:38:22 +00:00
Benoit Marty
ac9f138fc0
Merge pull request #5185 from vector-im/feature/adm/decouple-matrix-creation
...
Decoupling Matrix creation from Application
2022-02-17 15:35:09 +01:00
NIkita Fedrunov
ce3fd43389
Merge branch 'develop' into feature/nfe/spaces_screens_tests
...
# Conflicts:
# vector/src/androidTest/java/im/vector/app/EspressoExt.kt
# vector/src/androidTest/java/im/vector/app/ui/UiAllScreensSanityTest.kt
2022-02-16 13:42:39 +01:00
NIkita Fedrunov
29088acdb3
Code review fixes
2022-02-16 13:04:28 +01:00
Adam Brown
fd2d9287e7
creating separate creator for the matrix instance to avoid ambiguous non singleton/duplicated singleton usages
...
- also documents the static methods
2022-02-14 12:46:16 +00:00
ganfra
e72593304f
UITests: remove search menu item test case (not visible anymore in E2E room)
2022-02-08 19:35:33 +01:00
Adam Brown
0390994e14
removing unused import
2022-02-08 15:51:30 +00:00