question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Compose v1.3.0 stable, breaking snapshots from paparazzi v1.1.0

See original GitHub issue

Description We have just tried to upgrade from compose 1.2.1 to 1.3.0, when doing this all snapshot expected are returned blank.

Steps to Reproduce dep list

compose = 1.3.0
compose-compiler = "1.3.2"

compose-runtime = { module = "androidx.compose.runtime:runtime", version.ref = "compose" }
compose-ui = { module = "androidx.compose.ui:ui", version.ref = "compose" }
compose-ui-tooling = { module = "androidx.compose.ui:ui-tooling", version.ref = "compose" }
compose-ui-tooling-preview = { module = "androidx.compose.ui:ui-tooling-preview", version.ref = "compose" }
compose-foundation = { module = "androidx.compose.foundation:foundation", version.ref = "compose" }
compose-material = { module = "androidx.compose.material:material", version.ref = "compose" }
compose-activity = { module = "androidx.activity:activity-compose", version = "1.6.0" }
compose-viewmodel = { module = "androidx.lifecycle:lifecycle-viewmodel-compose", version = "2.5.1" }
compose-ui-test = { module = "androidx.compose.ui:ui-test-junit4", version = "compose" }
compose-navigation = { module = "androidx.navigation:navigation-compose", version = "2.5.2" }
compose-navigation-test = { module = "androidx.navigation:navigation-testing", version = "2.5.2" }
compose-hilt-navigation = { module = "androidx.hilt:hilt-navigation-compose", version = "1.0.0" }
compose-coil = { module = "io.coil-kt:coil-compose-base", version = "2.2.2" }

Expected behavior Snapshots pass when using compose 1.3.0

To confirm, everything is working as expected with Compose 1.2.1 and Papparazi 1.1.0.

Additional information:

  • Paparazzi Version: 1.1.0
  • OS: MacOS
  • Compile SDK: 33 but pap set to 32
  • Gradle Version: 7.5.1
  • Android Gradle Plugin Version: 7.3.1

Screenshots delta

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:1
  • Comments:6

github_iconTop GitHub Comments

2reactions
luis-cortescommented, Oct 27, 2022

Tracked in #604

0reactions
wezley98commented, Oct 25, 2022

@luis-cortes I’ve fixed it locally for us, It must be API 33 which is required by Compose 1.3.0.

For anybody else that comes across this issue please see #605 and https://github.com/chrisbanes/paparazzi/pull/2 for a workaround.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Fix incompatibility when used with compileSdk 33 projects #605
This is caused by Paparazzi Gradle plugin passing through the compileSdkVersion ... Compose v1.3.0 stable, breaking snapshots from paparazzi v1.1.0 #624.
Read more >
na__sos - Nasos Loukas
NEWS! "Road to effective snapshot testing" is now "Android screenshot testing playground" Contains same tests with: - Paparazzi - Shot - Dropshots And...
Read more >
Untitled
Partisan rancor definition, E30 kelleners k 3, Jc 2 won't launch, Odrc email, Roc emmeloord vacatures, Vallsta sk skidor, Gnupg v1.4.9, Associazione calcio ......
Read more >
Untitled
Taking pictures of things we'll likely never spend much time looking at, ... src="http://res-3.cloudinary.com/dr0wbrf7o/image/upload/q_auto/v1/blog-images/ ...
Read more >
Recent Papers Related To Fuzzing | FuzzingPaper
SNPSFuzzer: A Fast Greybox Fuzzer for Stateful Network Protocols using Snapshots (2022); SnapFuzz: An Efficient Fuzzing Framework for Network Applications ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found