mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-14 21:07:04 +05:30
feat(android): add a screenshot test for NetworkPosts
This commit is contained in:
parent
cc5b95e9c8
commit
784dcf16f8
4 changed files with 47 additions and 0 deletions
|
@ -26,6 +26,7 @@ plugins {
|
|||
alias(libs.plugins.kotlin.composeCompiler)
|
||||
alias(libs.plugins.kotlin.serialization)
|
||||
alias(libs.plugins.navigation.safeargs)
|
||||
alias(libs.plugins.screenshot)
|
||||
}
|
||||
|
||||
android {
|
||||
|
@ -40,6 +41,7 @@ android {
|
|||
applicationIdSuffix = ".internal"
|
||||
debuggable(true)
|
||||
}
|
||||
experimentalProperties["android.experimental.enableScreenshotTest"] = true
|
||||
}
|
||||
|
||||
baselineProfile {
|
||||
|
@ -119,6 +121,8 @@ dependencies {
|
|||
|
||||
kapt(libs.dagger.compiler)
|
||||
|
||||
screenshotTestImplementation(libs.androidx.compose.ui.tooling)
|
||||
|
||||
addTestDependencies(project)
|
||||
androidTestImplementation(libs.androidx.test.espresso.core)
|
||||
androidTestImplementation(libs.androidx.test.uiautomator)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue