Successfully modified file: /home/Messier82/projects/service-book/app/src/test/java/com/servicebook/ui/navigation/SetupScreenshotTest.kt (1 replacements). Here is the updated code: ... } composeTestRule.onRoot().captureScreen("SetupScreen_step2_sentry_on") } @Test fun setup_step2_sentry_privacy_dialog() { composeTestRule.setContent { ServiceBookTheme(dynamicColor = false) { SetupStepSentry(enabled = true, onEnabledChange = {}, onComplete = {}) } } composeTestRule.waitForIdle() composeTestRule.onNodeWithTag(TestTags.PRIVACY_LEARN_MORE, useUnmergedTree = true).performClick() composeTestRule.waitForIdle() captureFull("SetupScreen_step2_sentry_privacy_dialog") } }