Commit graph

286 commits

Author SHA1 Message Date
40e486ff7e Fix back navigation in Compose implementation
Back navigation was kept, so could navigate back to Splash, or Logged in state from Logged out.
2022-04-14 18:00:50 +03:00
ce4e9eca09 Update Robolectric Config to run test on both API 28 and API 22 2022-04-13 20:19:25 +03:00
f9a24b164a
Merge pull request #75 from fknives/issue#74-emulator-on-ci
Issue#74 Attempt to integrate testing on emulator
2022-04-13 20:18:29 +03:00
757da9da55 Fix detekt report path on CI 2022-04-13 20:06:19 +03:00
78e88b5418 Fix Resource loading above API 25 on SplashScreen Compose 2022-04-13 20:06:06 +03:00
bdc3f1560f Issue#74 Attempt to integrate testing on emulator
Using [AndroidEmulator Runner Action](https://github.com/ReactiveCircus/android-emulator-runner)
2022-04-13 19:49:00 +03:00
e05d2feb0c
Merge pull request #76 from fknives/fix-database-swapping-on-older-api-levels
Fix swapping out Database in tests
2022-04-13 19:45:30 +03:00
95db24bc0a Fix compose SplashScreen crash below API 24 2022-04-13 19:40:23 +03:00
58a76a3d28 Fix code analysis errors
With that updated Mockito, so `verifyZeroInteractions` is now `verifyNoInteractions`
2022-04-13 19:40:21 +03:00
1d2ca90203 Fix swapping out Database in tests
Previously overwrote the object itself for a quick swap of DatabaseInitialization, but that only works over API 24.
So now we will use loadKoinModules instead, which resolves the issue on ani API level
2022-04-13 19:13:34 +03:00
78a877b0c9 Adjust robolectrictest instructionset 2022-04-12 16:11:34 +03:00
423249f326 Adjust sharedtest instructionset 2022-04-12 16:02:26 +03:00
0c426797d0
Merge pull request #66 from fknives/dependabot/gradle/develop/io.reactivex.rxjava3-rxjava-3.1.4
Bump rxjava from 3.1.3 to 3.1.4
2022-04-12 11:20:30 +03:00
fbbc0c9ea4
Merge pull request #73 from fknives/dependabot/gradle/develop/com.android.tools.build-gradle-7.1.3
Bump gradle from 7.1.2 to 7.1.3
2022-04-12 11:20:22 +03:00
dependabot[bot]
6142ff26f4
Bump gradle from 7.1.2 to 7.1.3
Bumps gradle from 7.1.2 to 7.1.3.

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-11 12:22:06 +00:00
1abd50468f
Merge pull request #68 from fknives/compose
Compose
2022-04-11 13:06:56 +03:00
Alex Gabor
5f960880de Fix lint warning 2022-04-11 11:29:40 +03:00
Alex Gabor
d83cc23ee9 Improve ComposeLoginRobot and specify the test class that we are following 2022-04-11 11:19:17 +03:00
694d1bf0e7
Merge pull request #70 from fknives/issue#14-android-tests
issue#14 Write shared test instructionset
2022-04-11 11:10:26 +03:00
8659488b6a
Merge pull request #72 from fknives/core-again-fixes
Fixing missing code snippet and wrong DisplayName
2022-04-11 10:19:43 +03:00
964df92ce9 Fix typos in DisplayName 2022-04-10 14:22:25 +03:00
3ec4d8147b Fixing missing code snippet and wrong DisplayName 2022-04-10 14:20:51 +03:00
38b915db51
Merge pull request #71 from fknives/fixes-in-viewmodel-instructionset
Fixes in ViewModel Instruction set
2022-04-10 13:51:27 +03:00
3ae9e0724a Fix missing description of loginUnexpectedErrorResultsInErrorState and some typos in ViewModel instruction set 2022-04-10 13:26:59 +03:00
c1bdf22e69 issue#14 Review of instruction set 2022-04-08 13:05:16 +03:00
6db460ad47 issue#14 Fix type of the instructionset 2022-04-06 22:59:29 +03:00
aed9e6bd09 issue#14 Write shared test instructionset 2022-04-06 22:42:50 +03:00
Alex Gabor
c11d3e96d3 Fix lint issues 2022-04-05 10:28:07 +03:00
Alex Gabor
f738a59c23 Revert changes to Event 2022-04-05 09:47:06 +03:00
Alex Gabor
47037d4bcd Add a test for restoring compose content 2022-04-04 18:16:06 +03:00
Alex Gabor
2e97716b48 Add suffix version 2022-04-04 12:39:32 +03:00
Alex Gabor
3034717c11 Extract constraintlayout-compose version 2022-04-04 12:37:28 +03:00
Alex Gabor
1ce0cee3e9 Remove unused ComposeNetworkSynchronizationTestRule 2022-04-04 12:35:44 +03:00
Alex Gabor
908ab50553 Add link to compose.instructionset.md 2022-04-04 12:32:37 +03:00
Alex Gabor
95dc76f7f1 Add instructions for testing compose 2022-04-04 12:29:44 +03:00
Alex Gabor
61b82f1ba7 Refactor navigation event 2022-04-02 11:37:35 +03:00
Alex Gabor
586c811e10 Isolate AuthTest to navigation scope and inject fake user storage 2022-04-01 16:17:25 +03:00
Alex Gabor
d9725e31e6 Cover all auth tests 2022-04-01 16:06:35 +03:00
Alex Gabor
d948d06378 Assert navigation 2022-04-01 14:59:36 +03:00
Alex Gabor
225fbed849 Assert loading is displayed 2022-04-01 10:36:31 +03:00
Alex Gabor
b003e23305 Add password visibility toggle 2022-04-01 10:36:31 +03:00
Alex Gabor
e4ac3f78b6 Move compose package up 2022-04-01 10:36:31 +03:00
Alex Gabor
6ddd057e66 Wait for idling resources 2022-04-01 10:36:31 +03:00
Alex Gabor
4feb92d4ed Add first compose test 2022-04-01 10:36:31 +03:00
Alex Gabor
d74534d96b Show error on home screen 2022-04-01 10:36:31 +03:00
Alex Gabor
0ca6ac9c9a Improve auth screen 2022-04-01 10:36:31 +03:00
Alexandru Gabor
b6e4d282b7 Add home screen 2022-04-01 10:36:31 +03:00
Alex Gabor
a9dc65d0b6 Add compose UI 2022-04-01 10:36:31 +03:00
dependabot[bot]
994d925e77
Bump rxjava from 3.1.3 to 3.1.4
Bumps [rxjava](https://github.com/ReactiveX/RxJava) from 3.1.3 to 3.1.4.
- [Release notes](https://github.com/ReactiveX/RxJava/releases)
- [Commits](https://github.com/ReactiveX/RxJava/compare/v3.1.3...v3.1.4)

---
updated-dependencies:
- dependency-name: io.reactivex.rxjava3:rxjava
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-28 12:13:14 +00:00
8866ac8477
Merge pull request #65 from fknives/issue#64-fix-issue-with-idling-resources
issue#64 Fix issue with idling resources
2022-03-08 17:18:46 +02:00