-
Notifications
You must be signed in to change notification settings - Fork 15
kaspresso integration tests #119
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -52,6 +52,7 @@ import io.mockk.mockk | |||||
| import org.junit.After | ||||||
| import org.junit.Assert.assertEquals | ||||||
| import org.junit.Before | ||||||
| import org.junit.Ignore | ||||||
| import org.junit.Test | ||||||
| import org.koin.androidx.viewmodel.dsl.viewModel | ||||||
| import org.koin.core.context.startKoin | ||||||
|
|
@@ -217,6 +218,7 @@ class PassCodeActivityTest { | |||||
| R.id.error.isDisplayed(false) | ||||||
| } | ||||||
|
|
||||||
| @Ignore | ||||||
|
||||||
| @Ignore | |
| @Ignore("Disabled because biometric lock dialog interaction is flaky on CI; re-enable after stabilizing PassCodeActivity biometric flow.") |
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -60,6 +60,7 @@ import org.junit.Assert.assertNotNull | |||||
| import org.junit.Assert.assertNull | ||||||
| import org.junit.Assert.assertTrue | ||||||
| import org.junit.Before | ||||||
| import org.junit.Ignore | ||||||
| import org.junit.Test | ||||||
| import org.koin.androidx.viewmodel.dsl.viewModel | ||||||
| import org.koin.core.context.startKoin | ||||||
|
|
@@ -200,6 +201,7 @@ class SettingsSecurityFragmentTest { | |||||
| assertNull(prefBiometric) | ||||||
| } | ||||||
|
|
||||||
| @Ignore | ||||||
|
||||||
| @Ignore | |
| @Ignore("Requires interactive passcode entry; flaky in automated instrumentation tests. TODO: link tracking issue.") |
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -51,13 +51,15 @@ import io.mockk.every | |||||
| import io.mockk.mockk | ||||||
| import org.hamcrest.CoreMatchers | ||||||
| import org.junit.Before | ||||||
| import org.junit.Ignore | ||||||
| import org.junit.Test | ||||||
| import org.koin.android.ext.koin.androidContext | ||||||
| import org.koin.androidx.viewmodel.dsl.viewModel | ||||||
| import org.koin.core.context.startKoin | ||||||
| import org.koin.core.context.stopKoin | ||||||
| import org.koin.dsl.module | ||||||
|
|
||||||
| @Ignore | ||||||
|
||||||
| @Ignore | |
| @Ignore("Disabled pending stabilization of ShareFileFragment instrumentation tests; re-enable once tests are reliable on CI.") |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -36,6 +36,7 @@ import io.mockk.every | |
| import io.mockk.mockk | ||
| import org.junit.Assert.assertEquals | ||
| import org.junit.Before | ||
| import org.junit.Ignore | ||
| import org.junit.Test | ||
| import org.koin.androidx.viewmodel.dsl.viewModel | ||
| import org.koin.core.context.startKoin | ||
|
|
@@ -100,13 +101,15 @@ class ReleaseNotesActivityTest { | |
| R.id.btnProceed.isDisplayed(true) | ||
| } | ||
|
|
||
| @Ignore | ||
| @Test | ||
| fun releaseNotesProceedButton() { | ||
| R.id.btnProceed.click() | ||
|
|
||
| assertEquals(activityScenario.result.resultCode, Activity.RESULT_OK) | ||
| } | ||
|
|
||
| @Ignore | ||
| @Test | ||
| fun test_childCount() { | ||
|
Comment on lines
+104
to
114
|
||
| R.id.releaseNotes.assertChildCount(3) | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.