Skip to content

Conversation

@kikoso
Copy link
Collaborator

@kikoso kikoso commented Dec 23, 2025

This PR updates the screenshot verification system by aligning the project configuration and test structure with the latest Compose Preview Screenshot Testing documentation.

  • Dependency Scoping: Updated: maps-app/build.gradle.kts to use screenshotTestImplementation for screenshot-related dependencies, ensuring they are only available in the appropriate source set.
  • Test Refactoring: Moved @PreviewTest annotated functions in ScaleBarTest.kt to the top-level (outside of the class wrapper). This follows documentation guidelines and ensures the screenshot engine correctly identifies the test entry points.
  • Main Source Set Cleanup: Removed invalid @PreviewTest usages from ScaleBarActivity.kt and BasicMapActivity.kt within the main source set, which were causing build failures once the dependencies were correctly scoped.

@kikoso kikoso requested a review from a team as a code owner December 23, 2025 10:35
@googlemaps-bot
Copy link
Contributor

Code Coverage

There is no coverage information present for the Files changed

@dkhawk dkhawk merged commit 6f4b188 into main Dec 26, 2025
9 checks passed
@dkhawk dkhawk deleted the chore/updated-screenshot branch December 26, 2025 15:11
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

Successfully merging this pull request may close these issues.

3 participants