Repository navigation
[openvino-notes][TEST] add UI testing environment and AppNavigationTest - #1183
Open
strelkovkm wants to merge 2 commits into
Open
strelkovkm wants to merge 2 commits into
strelkovkm wants to merge 2 commits into
Conversation
strelkovkm
marked this pull request as draft
October 14, 2026 14:33
strelkovkm
force-pushed
the
on-013-01-test-compose
branch
from
October 14, 2026 14:35
9f7ab38 to
503c0ac
Compare
strelkovkm
marked this pull request as ready for review
October 14, 2026 14:37
Contributor
|
please resolve conflicts |
Author
resolved |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ON-013: Add UI testing environment for the :view module
Description of Changes
As part of task ON-013, configured a headless UI testing environment for the
:viewmodule screens using Robolectric and Jetpack Compose Test Rule (ui-test-junit4).Build System & Dependencies:
gradle/libs.versions.toml: Added catalog entries forandroidx.compose.ui:ui-test-junit4andui-test-manifest.view/build.gradle.kts: EnabledisIncludeAndroidResources = trueand added test dependencies forrobolectric,androidx.test.core,androidx.test.ext.junit,ui-test-junit4, andui-test-manifest.Test Fixtures:
FakeNotes.kt: UpdatedFakeNotesServiceandFakeFolderServiceto persist created items in memory and emit updates throughFlow, allowing UI components to observe note mutations.Tests:
AppCompositionTest.kt: Added a test verifying thatAppCompositioninitializes without network access or Google OAuth configuration.AppNavigationTest.kt(new file): Implemented Compose UI tests usingcreateComposeRule()and@RunWith(RobolectricTestRunner::class):Notes,Folders,Sync,Settings,Assistant).FakeNotesService.create(...)exactly once.SignedOutstate rendering andLaunchGoogleSignIneffect emission on sign-in action.Verification Commands & Results
Result: BUILD SUCCESSFUL (All tests in :app and :view passed).