Commit graph

132 commits

Author SHA1 Message Date
38d4414dec PR#128 Fix typo in Compose Test setup 2022-09-29 15:12:04 +03:00
e3720ff3f6 PR#128 Fix Compose UI sync issue
Sometimes the emptyPasswordShowsProperErrorMessage failed because while waiting for Idling Resources/Coroutines to run the clock has been updated and the Snackbar got dismissed.
autoAdvance=off, waitForIdle, autoAdvance=on pattern ensures this doesnt happen
2022-09-29 15:06:04 +03:00
a4b1e50f0f Issue#41 Remove waitForIdle since onNode already calls it 2022-09-28 19:01:38 +03:00
f03c9f7bf2 Issue#41 Attempt to fix failing tests with compose + update test paths for artifact 2022-09-28 18:53:40 +03:00
52a99a82fc Issue#41 Copy full example into separate module with Hilt Integration 2022-09-27 18:17:12 +03:00
fb411a6b71 Issue#125 Attampt to fix Compose Flakiness 2022-09-26 21:53:14 +03:00
e6349363d7 Issue#106 Update SharedTest instruction.set 2022-09-26 18:35:11 +03:00
9752d1643b Issue#106 Move SharedTest Folder into it's separate Android Module as suggested 2022-09-26 17:43:25 +03:00
3617ab96ac Issue#56 Create Example Description on how to start with Test First 2022-09-23 18:30:17 +03:00
00e7a806eb Issue#5 Shows basic example of testing NavController usage 2022-09-23 13:55:11 +03:00
d057c357a3 issue#103 Close DB to clean up logs 2022-07-20 15:25:24 +03:00
00c222b461 issue#103 Removing item animations 2022-07-20 15:16:44 +03:00
c10b674333 Issue#107 Fix issue with auth screen state restoration 2022-07-18 21:54:49 +03:00
9807caa5ae Issue#107 Update Restoration tests so it points out error all the time 2022-07-18 21:50:44 +03:00
d39405fda0
Merge pull request #110 from fknives/issue#99-system-dialog-crash-test
Issue#99 Create TestRule working around System ANRs on Emulators
2022-07-18 13:04:02 +03:00
e6e2434c81 Issue#99 Create TestRule working around System ANRs on Emulators 2022-07-18 12:38:23 +03:00
a2d018efbf Issue#97 Attempt to fix flakiness in Compose
The flakiness is caused by timeout when waiting for idling resources.
To circumvent this, we will always await the idling resources, and at the start we will only wait for compose-time, to navigate away from Splash.
2022-07-14 11:20:07 +03:00
3d787b37aa Issue#104 Setup ReloadKointIfNecessary for ScreenshotTest 2022-07-14 01:17:09 +03:00
b7e3cc493a Issue#104 Change to Manual trigger and revert back temporary changes 2022-07-14 00:42:29 +03:00
bae8c0fc96 Issue#104 Create Test verifying screenshot pulling works 2022-07-13 23:59:59 +03:00
cc2b745d2e Issue#100 Add itentional error 2022-07-13 19:50:48 +03:00
ca2dff2304 Issue#100 Create TestRule Saving Screenshots on UI Test failure 2022-07-13 11:55:13 +03:00
ca9c813121 Issue#67 Update Readme with test util module releases 2022-07-12 14:38:53 +03:00
fad19ffee7 Issue#67 Test published dependencies 2022-07-12 14:21:13 +03:00
8ec369f3e7 PR#98 Fix code analysis errors 2022-07-12 11:58:02 +03:00
7e019973e8 Issue#67 Extract JUnit5 MainDispatcher 2022-07-12 11:47:22 +03:00
3b96a5d9eb Issue#67 Extract InstantExecutorExtension 2022-07-12 11:31:06 +03:00
8d60a37b16 Issue#67 Fix Code Analysis errors 2022-07-12 11:08:27 +03:00
99141c0f17 Issue#67 Extract ViewActions into Library 2022-07-12 11:08:26 +03:00
a27f19302a Issue#67 Extract MainDispatcherTestRule into Library 2022-07-12 11:08:26 +03:00
2c01fbba20 Issue#67 Extract IdlingResources helpers into a separate module 2022-07-12 11:08:26 +03:00
756c74e174 Issue#67 Extract OkHttp IdlingResources into a separate module 2022-07-12 11:08:26 +03:00
bbe077dde8 Issue#67 Extract MainThread synchronization into a separate module 2022-07-12 11:08:26 +03:00
1c0153db75 Issue#67 Extract ActivityScenario.safeClose into separate module 2022-07-12 11:08:26 +03:00
689aee9702 Issue#67 Extract runOnUIAwaitOnCurrent into separate module 2022-07-12 11:08:26 +03:00
4932b4b2e0 Issue#67 Extract MigrationTestHelper into separate module 2022-07-12 11:08:26 +03:00
f35fe810e0 Move dependencies into a single file so it's easier to copy 2022-07-12 11:08:26 +03:00
24bef1ba3e Issue#90 Update documentation of TestDatabaseInitialization 2022-06-30 15:42:08 +03:00
27f1276cc1 Issue#84 Ensure BackgroundThread work is synced for DiffUtil 2022-05-17 15:19:49 +03:00
6b657391ba Update images by using Android Studio tool 2022-04-20 16:42:32 +03:00
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