From 66969197777adee43e72332e862318214e03bcae Mon Sep 17 00:00:00 2001 From: takahirom Date: Fri, 7 Jun 2024 09:48:08 +0900 Subject: [PATCH] Change settings name --- .../com/github/takahirom/roborazzi/sample/ComposeTest.kt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sample-android/src/test/java/com/github/takahirom/roborazzi/sample/ComposeTest.kt b/sample-android/src/test/java/com/github/takahirom/roborazzi/sample/ComposeTest.kt index d862b2801..0e9a743a1 100644 --- a/sample-android/src/test/java/com/github/takahirom/roborazzi/sample/ComposeTest.kt +++ b/sample-android/src/test/java/com/github/takahirom/roborazzi/sample/ComposeTest.kt @@ -83,7 +83,7 @@ class ComposeTest { modifier = Modifier .clip(shape = RoundedCornerShape(16.dp)) .background(Color.Gray) - .testTag("SettingsDialog") + .testTag("Settings") .size(100.dp) ) { Text("Settings") @@ -92,7 +92,7 @@ class ComposeTest { } composeTestRule - .onNodeWithTag("SettingsDialog") + .onNodeWithTag("Settings") .captureRoboImage( roborazziOptions = RoborazziOptions( recordOptions = RoborazziOptions.RecordOptions( @@ -110,7 +110,7 @@ class ComposeTest { modifier = Modifier .clip(shape = RoundedCornerShape(16.dp)) .background(Color.Gray) - .testTag("SettingsDialog") + .testTag("Settings") .size(100.dp) ) { Text("Settings") @@ -119,7 +119,7 @@ class ComposeTest { } composeTestRule - .onNodeWithTag("SettingsDialog") + .onNodeWithTag("Settings") .captureRoboImage() }