Fix how we compute screenshot files.
`AttachmentsPreviewViewPreview` was wrongly converted to `AttachmentsView` instead of `AttachmentsPreviewView`
This commit is contained in:
parent
5c4d11c21f
commit
0e6a0c7f2f
1 changed files with 1 additions and 1 deletions
|
|
@ -83,7 +83,7 @@ private fun Paparazzi.fixScreenshotName(preview: ComposablePreview<AndroidPrevie
|
|||
.joinToString(".")
|
||||
val testName = TestName(
|
||||
packageName = packageName,
|
||||
className = preview.methodName.replace("Preview", ""),
|
||||
className = preview.methodName.removeSuffix("Preview"),
|
||||
methodName = id
|
||||
)
|
||||
testNameField.set(this, testName)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue