Commit graph

92 commits

Author SHA1 Message Date
Alex Gabor
46389aea77 Add taskAffinity 2022-04-20 16:39:01 +03:00
e6c82af3d7 Differentiate compose launcher
Added a quickly created rough icon.
Modified label for the Compose Version Launcher
2022-04-20 16:19:08 +03:00
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
78e88b5418 Fix Resource loading above API 25 on SplashScreen Compose 2022-04-13 20:06:06 +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
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
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
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
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
359904b5c3 issue#64 Fix issue with idling resources
reference: https://github.com/JakeWharton/okhttp-idling-resource/pull/16
Espresso expects callback when a resource is released. However since our OkHttp Dispatchers were reused and 2 compiting IdlingResource was registered, one overwrote the other's callback and this crashed the Espresso tests.
To resolve this I made sure when one is registeres, it's respects the current callback and wraps around it instead of overwriting it.
2022-03-07 17:09:56 +02:00
f8226368f0 Issue#48 Update readme 2022-02-07 12:57:59 +02:00
02ac524dd3 PR#57 Remove unnecessary TestCoroutineScheduler creation 2022-02-07 11:14:20 +02:00
9d3f72d1fa PR#57 Fix codeAnalysis errors 2022-02-07 10:54:40 +02:00
Alex Gabor
b6ff7abdd9 Proof read robolectric instruction set 2022-02-04 15:32:27 +02:00
833636ac69 Issue#13 Fix more codeAnalysis errors 2022-01-29 00:39:04 +02:00
c952f4f34d Issue#13 Fix codeAnalysis errors 2022-01-29 00:33:59 +02:00
03e413fba6 Issue#13 Add CodeKata for Robolectric Tests 2022-01-29 00:30:35 +02:00
c38e608c8c Issue#13 Finish Robolectric SharedPreferences test description 2022-01-28 22:37:33 +02:00
85faee64ea Fix code analysis errors 2022-01-28 00:33:48 +02:00
9a63cdba38 Fix file location 2022-01-27 22:46:46 +02:00
3f4d22528c Issue#8 Take use of TestFixtures to keep MockWebServer TLS setup in the network module, while still being able to use it in Android Tests 2022-01-27 22:46:03 +02:00
c4c2ea7c26 Issue#13 Add separate task for robolectric tests 2022-01-27 03:21:55 +02:00
f248ab1081 Issue#13 Fix codeAnalysis errors 2022-01-27 02:10:03 +02:00
5d89e62356 Issue#13 Remove unnecessary configurations and use TestDispatcher on both side
Additionally added workaround for progressbar testing
2022-01-27 02:08:15 +02:00
b9644512d5 Issue#13 Remove reference to SpecificConfiguration 2022-01-27 00:43:08 +02:00