Skip to content
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

[IDE Plugin] Loading Image File Paths from the Report File #485

Open
takahirom opened this issue Sep 14, 2024 · 0 comments
Open

[IDE Plugin] Loading Image File Paths from the Report File #485

takahirom opened this issue Sep 14, 2024 · 0 comments

Comments

@takahirom
Copy link
Owner

We have a report file located in build/test-results/roborazzi, but we are only using images from build/output/roborazzi, and the report contains image paths. We would like to load these images. I don't think we can use the roborazzi-core module to load JSON because it is very difficult to manage the dependencies in the IDE Plugin. I believe we could use KotlinX Serialization in the plugin, but we might have to copy the CaptureResults class and other related classes.

We can run the IDE Plugin using ./gradlew runIde.

  "results": [
    {
      "golden_file_path": "xxx/git/conference-app-2024/feature/profilecard/build/outputs/roborazzi/ProfileCardScreenTest[ProfileCardScreen - when profile card is not found - input nickname - input occupation - click create button - click edit button - it should show edit screen].png",
      "timestamp": 839363151954000,
      "context_data": {
        "roborazzi_description_class": "io.github.droidkaigi.confsched.profilecard.ProfileCardScreenTest"
      },
      "type": "recorded"
    },
    {
      "golden_file_path": "xxx/git/conference-app-2024/feature/profilecard/build/outputs/roborazzi/ProfileCardScreenTest[ProfileCardScreen - when profile card is not found - input nickname - input occupation - click create button - click edit button - it should show edit screen].png",
      "timestamp": 839363091096916,
      "context_data": {
        "roborazzi_description_class": "io.github.droidkaigi.confsched.profilecard.ProfileCardScreenTest"
      },
      "type": "recorded"
    }
  ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant