Commit graph

217 commits

Author SHA1 Message Date
dependabot[bot]
93a346392b
Bump gradle from 7.2.2 to 7.3.1 (#7364)
* Bump gradle from 7.2.2 to 7.3.1

Bumps gradle from 7.2.2 to 7.3.1.

---
updated-dependencies:
- dependency-name: com.android.tools.build:gradle
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Try to fix build issue caused by KSP workaround

* Add missing dependency

* Suppress false positive in linter

* Suppress more false positives, fix 2 possible leaks

* Fix tests

* Ignore flaky test

* Use namespaces instead of packagenames in AndroidManifest files

* Reorder dependency groups

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
2022-10-17 09:14:28 +02:00
Jorge Martín
ed545c7e2b Try to fix flaky RoomMemberListControllerTest 2022-10-05 08:50:12 +02:00
Jorge Martín
0b7e52e60b Fix EventHtmlRendererTest 2022-10-05 07:46:05 +02:00
Jorge Martín
8d54a0d759 Remove Robolectric, make Robolectric test an instrumentation test 2022-10-04 14:15:54 +02:00
Jorge Martín
90e4760ee7 Fix VoiceRecorderLTests by faking OggOpusEncoder 2022-09-26 11:32:29 +02:00
Benoit Marty
97b3b2363b Disable not passing VoiceRecorderLTests, for the time we are investigating the issue. 2022-09-23 14:09:44 +02:00
Benoit Marty
3600e374f2 Avoid code duplication 2022-09-22 16:34:07 +02:00
Benoit Marty
0559911f39 Fix non passing tests 2022-09-22 16:34:07 +02:00
Benoit Marty
832a472b57 Add @ChecksSdkIntAtLeast annotation, to be able to remove AndroidVersionTestOverrider 2022-09-22 16:32:14 +02:00
Adam Brown
60b164a447 using fully qualified path to test activity, fixes missing reference 2022-09-15 15:17:11 +01:00
Adam Brown
1d50bbdbda fixing manifest imports and giving androidTest its own dedicated manifest 2022-09-15 14:50:08 +01:00
Jorge Martín
273999ee88 Fix voice recording tests 2022-09-06 20:08:29 +02:00
Adam Brown
18a9846071 moving application based tests to the vector-app module
- they require the VectorApplication to trigger
2022-08-31 09:16:01 +01:00
Adam Brown
cfe5a4d212 using entry point instead of manually fetching fields from application 2022-08-31 09:16:00 +01:00
Nikita Fedrunov
657796c8b5
new app layout is enabled (#6959) 2022-08-31 10:06:01 +02:00
Florian Renaud
66092cfa25 Fix broken unit test on emoji search 2022-08-18 09:48:51 +02:00
Benoit Marty
ea465a1b86 Fix false positive on string template suspicious usage. 2022-08-16 16:06:08 +02:00
Jorge Martín
cc59b9e695 Address review comments. 2022-08-09 14:03:39 +02:00
Jorge Martín
dfc8526b47 Refactor lockscreen implementation.
Try to fix issues and simplify flow.
2022-08-09 14:03:39 +02:00
Adam Brown
20b3dbc6e6 documenting the rule and reflection helper 2022-08-05 17:55:12 +01:00
Adam Brown
2683e9209b resetting the analytics datastore via reflection 2022-08-05 14:24:53 +01:00
Adam Brown
5864ce4348 adding rule to force a new session to be started for instrumentation tests 2022-08-05 13:08:21 +01:00
Jorge Martin Espinosa
c848615636
Disable 'Enable biometrics' option if there are not biometric authenticators enrolled. (#6714)
* Disable 'Enable biometrics' option if there are not biometric authenticators enrolled.

* Improve biometric pref enabled check

* Fix changelog issue

* Address review comments. Add extra catch clauses to key migrations.

* Add tests for key migrators
2022-08-02 15:31:08 +02:00
Adam Brown
01bc275311
Merge pull request #6651 from vector-im/feature/adm/enable-ftue
FTUE - Enable onboarding FTUE flows
2022-07-27 16:38:35 +01:00
Adam Brown
64c875e017
add ticket reference for TODO 2022-07-27 14:05:39 +01:00
Adam Brown
8639b69e73 removing unused imports 2022-07-27 13:21:17 +01:00
Jorge Martín
58ea816cae Ignore tests with broken mocks in APIs < 30. It looks like a mockk issue. 2022-07-27 14:02:18 +02:00
Jorge Martín
b468a9da33 Improve lock screen implementation. 2022-07-27 14:02:18 +02:00
Adam Brown
fe0c2fc57f adding UI test support for the ftue onboarding feature flags 2022-07-27 12:17:59 +01:00
Adam Brown
746191163a updating test verification interaction, there's no skip and we can press back instead 2022-07-27 12:17:03 +01:00
Adam Brown
5cc96850af updating font scale access as the activity wait no longer works with the latest changes 2022-07-27 11:50:14 +01:00
Valere
9f3c8b6e5f Handle case when device cannot be verified 2022-07-21 12:05:33 +02:00
Nikita Fedrunov
79762d9133
font scale setting screen (#6453) 2022-07-18 09:49:57 +02:00
Adam Brown
2c843985ca updating variable to include name (as it's holding the space name 2022-07-13 09:17:50 +01:00
Adam Brown
46ed9a87e4 removing unused imports 2022-07-12 13:28:19 +01:00
Adam Brown
f3e0ae0819 selecting the space with the empty room before attempt to interact with it 2022-07-12 13:28:19 +01:00
Adam Brown
f501555ff9 adding extra waits for the threads list to appear as it seems to be inconsistent 2022-07-12 13:28:19 +01:00
Adam Brown
c7efd8a6f6 always attempting to close the keyboard to help avoid can't inject events error 2022-07-12 13:28:19 +01:00
Adam Brown
8db704f3b9 naming the threads room creation to avoid multiple rooms with empty room as the name, causing ambiguous assertion errors 2022-07-12 13:28:19 +01:00
Benoit Marty
a806991e88
Merge pull request #6489 from vector-im/feature/bma/lib_opusencoder
Add dependency to opusencoder and remove module from this project
2022-07-11 22:39:53 +02:00
Benoit Marty
9a059ead44 Add a VectorFeatures to force usage of the library OpusEncoder 2022-07-07 18:29:02 +02:00
Adam Brown
ead8cec4a6 adding test case for showing html entities are processed 2022-07-07 13:54:42 +01:00
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