Commit Graph

19298 Commits

Author SHA1 Message Date
Onuray Sahin
41643ffb53 Add unit test for iOS user agents. 2022-09-28 15:00:16 +03:00
Onuray Sahin
2bcf0c307d Add unit test for Android user agents. 2022-09-28 14:59:56 +03:00
Onuray Sahin
04a305b403 Refactor user agent parsing. 2022-09-28 14:32:20 +03:00
Adam Brown
5f778fff01 re-enabling the jetifier, it's required by the autocomplete library
- the upstream library source doesn't require the jetifier however it hasn't been released
2022-09-28 10:09:13 +01:00
Benoit Marty
0c4510250b
Merge pull request #7241 from vector-im/feature/bma/gradle_doctor
Set up Gradle doctor
2022-09-27 18:48:05 +02:00
dependabot[bot]
8ca390a2a8
Bump google-services from 4.3.13 to 4.3.14 (#7150)
Bumps google-services from 4.3.13 to 4.3.14.

---
updated-dependencies:
- dependency-name: com.google.gms:google-services
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-27 17:40:13 +01:00
Benoit Marty
a381f9fc52
Merge pull request #7216 from vector-im/dependabot/gradle/com.googlecode.libphonenumber-libphonenumber-8.12.56
Bump libphonenumber from 8.12.55 to 8.12.56
2022-09-27 18:10:14 +02:00
Nikita Fedrunov
337dce7d9e
tests workflow will now update gradle cache when run against develop (#7238) 2022-09-27 17:45:50 +02:00
dependabot[bot]
d44ad6c351
Bump libphonenumber from 8.12.55 to 8.12.56
Bumps [libphonenumber](https://github.com/google/libphonenumber) from 8.12.55 to 8.12.56.
- [Release notes](https://github.com/google/libphonenumber/releases)
- [Changelog](https://github.com/google/libphonenumber/blob/master/making-metadata-changes.md)
- [Commits](https://github.com/google/libphonenumber/compare/v8.12.55...v8.12.56)

---
updated-dependencies:
- dependency-name: com.googlecode.libphonenumber:libphonenumber
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-27 14:25:35 +00:00
Maxime NATUREL
68d9f672c5 Unit tests for after reAuth 2022-09-27 15:04:34 +02:00
Maxime NATUREL
dafa98eb77 Unit tests for signout error cases 2022-09-27 15:04:34 +02:00
Maxime NATUREL
89cf8ee8ec Unit test for signout success 2022-09-27 15:04:34 +02:00
Maxime NATUREL
da3d3308b4 Fix unit tests in ViewModel 2022-09-27 15:04:34 +02:00
Maxime NATUREL
68bee65e97 Confirm signout when it is current session 2022-09-27 15:04:34 +02:00
Maxime NATUREL
0fe5ee68f2 Unit tests for interception of signout process result 2022-09-27 15:04:34 +02:00
Maxime NATUREL
8d870b8220 Replace IsCurrentSessionUseCase by using DeviceFullInfo field 2022-09-27 15:04:34 +02:00
Maxime NATUREL
04ad2daa80 Unit tests for signout use case 2022-09-27 15:04:34 +02:00
Maxime NATUREL
bf42220422 Unit tests for view navigator 2022-09-27 15:04:34 +02:00
Maxime NATUREL
0c708c0ad4 Fix after rebase property qualifier 2022-09-27 15:04:34 +02:00
Maxime NATUREL
d6bb6efb1d Loading dialog during signout process 2022-09-27 15:04:34 +02:00
Maxime NATUREL
b2b3ee1fe5 Adding button to trigger sign out 2022-09-27 15:04:33 +02:00
Maxime NATUREL
7e81aa6193 ReAuth process 2022-09-27 15:04:33 +02:00
Maxime NATUREL
5380c30780 Adding signout action and corresponding use cases 2022-09-27 15:04:33 +02:00
Maxime NATUREL
320e9eac39 Adding changelog entry 2022-09-27 15:04:33 +02:00
Onuray Sahin
3e66a6538e Implement use case to parse user agent. 2022-09-27 15:45:34 +03:00
Adam Brown
fad02062d8
Instrumentation test coroutines (#7207)
Converting SDK instrumentation tests from CountdownLatch to suspending functions
2022-09-27 13:37:23 +01:00
Benoit Marty
67d899dce4 Deactivate some gradle doctor checks on the CI. 2022-09-27 14:34:51 +02:00
Adam Brown
a422361872
Merge pull request #7073 from vector-im/dependabot/gradle/moshi-1.14.0
Bump moshi from 1.13.0 to 1.14.0
2022-09-27 13:07:08 +01:00
dependabot[bot]
5666786635
Bump moshi from 1.13.0 to 1.14.0
Bumps `moshi` from 1.13.0 to 1.14.0.

Updates `moshi` from 1.13.0 to 1.14.0
- [Release notes](https://github.com/square/moshi/releases)
- [Changelog](https://github.com/square/moshi/blob/master/CHANGELOG.md)
- [Commits](https://github.com/square/moshi/compare/moshi-parent-1.13.0...1.14.0)

Updates `moshi-kotlin` from 1.13.0 to 1.14.0
- [Release notes](https://github.com/square/moshi/releases)
- [Changelog](https://github.com/square/moshi/blob/master/CHANGELOG.md)
- [Commits](https://github.com/square/moshi/compare/moshi-parent-1.13.0...1.14.0)

Updates `moshi-kotlin-codegen` from 1.13.0 to 1.14.0
- [Release notes](https://github.com/square/moshi/releases)
- [Changelog](https://github.com/square/moshi/blob/master/CHANGELOG.md)
- [Commits](https://github.com/square/moshi/compare/moshi-parent-1.13.0...1.14.0)

Updates `moshi-adapters` from 1.13.0 to 1.14.0
- [Release notes](https://github.com/square/moshi/releases)
- [Changelog](https://github.com/square/moshi/blob/master/CHANGELOG.md)
- [Commits](https://github.com/square/moshi/compare/moshi-parent-1.13.0...1.14.0)

---
updated-dependencies:
- dependency-name: com.squareup.moshi:moshi
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: com.squareup.moshi:moshi-kotlin
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: com.squareup.moshi:moshi-kotlin-codegen
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: com.squareup.moshi:moshi-adapters
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-27 11:04:30 +00:00
Adam Brown
d308b72868
Merge pull request #7129 from vector-im/feature/adm/screenshot-testing-example-test
Example screenshot test
2022-09-27 12:02:38 +01:00
Adam Brown
2d2b2e9218 using latest upload-artifact action (should fix missing glob) 2022-09-27 11:03:44 +01:00
Adam Brown
28f4e79b43 attempting to use 0% difference for screenshot verification
- this may cause false errors with the navigation/status bar https://github.com/cashapp/paparazzi/issues/453#issuecomment-1254001714
2022-09-27 10:16:45 +01:00
Benoit Marty
4d09f0888d
Merge pull request #7231 from pt2121/pt/12-flip-table
Add support for `/tableflip` command (#12)
2022-09-27 11:11:08 +02:00
Benoit Marty
df0ce31f8f
Merge pull request #7240 from vector-im/dependabot/gradle/org.json-json-20220924
Bump json from 20220320 to 20220924
2022-09-27 10:52:10 +02:00
Adam Brown
189369da71
Merge pull request #6249 from vector-im/dependabot/bundler/jmespath-1.6.1
Update Fastlane dependencies
2022-09-27 09:29:38 +01:00
Benoit Marty
974ac49594 Add default configuration of Gradle Doctor to the project.
Will allow to tweak the configuration if necessary.
2022-09-27 10:20:02 +02:00
Benoit Marty
c6e1154744 Set up gradle doctor plugin 2022-09-27 10:20:02 +02:00
Nikita Fedrunov
e9d1a9e04e
app layout labs flag is enabled by default (#7237) 2022-09-27 09:54:24 +02:00
dependabot[bot]
5246035163
Bump json from 20220320 to 20220924
Bumps [json](https://github.com/douglascrockford/JSON-java) from 20220320 to 20220924.
- [Release notes](https://github.com/douglascrockford/JSON-java/releases)
- [Changelog](https://github.com/stleary/JSON-java/blob/master/docs/RELEASES.md)
- [Commits](https://github.com/douglascrockford/JSON-java/commits)

---
updated-dependencies:
- dependency-name: org.json:json
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-26 23:10:18 +00:00
ganfra
bf405394d8 Home room list: make some clean up 2022-09-26 19:36:50 +02:00
Adam Brown
08c79a798e
Merge pull request #7115 from vector-im/docs/unit-testing
[docs] Unit testing documentation
2022-09-26 16:51:42 +01:00
Prat T
3f9b9827bd
Add support for /tableflip command (#12)
Signed-off-by: Prat T <pt2121@users.noreply.github.com>
2022-09-26 07:25:34 -07:00
Adam Brown
4a81ee25ac manually including the paparazzi jar as the plugin is only applied when executing the screenshot tasks (which automatically included the jar previously) 2022-09-26 15:13:37 +01:00
Adam Brown
be1e8a8ef8 adding and recording example paparazzi test 2022-09-26 14:14:03 +01:00
Adam Brown
df752b9e58
Merge pull request #7210 from vector-im/feature/adm/emulator-network-access
Missing buildjet Emulator network
2022-09-26 13:39:12 +01:00
Onuray Sahin
c70b6206d0 Add user agent into device info. 2022-09-26 14:39:23 +03:00
Adam Brown
2e4ca1d6d9 ensuring build flags are applied to all test steps 2022-09-26 12:29:28 +01:00
Adam Brown
ac9333312a switching emulator image to the playstore variant to fix no network on the buildjet runner
- updates max workers to match available resources
- re-enables previously failing test
2022-09-26 12:28:50 +01:00
Adam Brown
59e7b70b03
Merge pull request #7128 from vector-im/feature/adm/screenshot-testing-setup
Paparazzi screenshot testing setup
2022-09-26 12:01:01 +01:00
Jorge Martín
90e4760ee7 Fix VoiceRecorderLTests by faking OggOpusEncoder 2022-09-26 11:32:29 +02:00