File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
.github/actions/paparazzi-golden-images
spark-screenshot-testing/src/test/kotlin/com/adevinta/spark/textfields Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change 27
27
- run : ./gradlew recordPaparazziRelease
28
28
shell : bash
29
29
- run : |
30
+ # Record all snapshots to the index, to be able to detect untracked ones
31
+ git add --intent-to-add -- **/src/test/snapshots/**/*.png
30
32
if ! git diff --quiet --exit-code -- **/src/test/snapshots/**/*.png ;
31
33
then
32
34
git config user.name 'spark-ui-bot'
Original file line number Diff line number Diff line change @@ -40,6 +40,7 @@ import com.adevinta.spark.patchedEnvironment
40
40
import com.adevinta.spark.sparkSnapshot
41
41
import com.android.ide.common.rendering.api.SessionParams
42
42
import com.google.testing.junit.testparameterinjector.TestParameterInjector
43
+ import org.junit.Ignore
43
44
import org.junit.Rule
44
45
import org.junit.Test
45
46
import org.junit.runner.RunWith
@@ -66,6 +67,7 @@ internal class TextFieldScreenshot {
66
67
)
67
68
68
69
@Test
70
+ @Ignore(" This needs to be re-worked to avoid generating 48 PNGs that are almost identical." )
69
71
fun test () {
70
72
values.forEach { value ->
71
73
leadingIcons.forEach { leadingIcon ->
You can’t perform that action at this time.
0 commit comments