forcing the screenshot test to fail

This commit is contained in:
Adam Brown 2022-09-15 09:35:27 +01:00
parent 2d2b2e9218
commit f299615b02
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ class PaparazziExampleScreenshotTest {
fun `example paparazzi test`() {
val view = paparazzi.inflate<ConstraintLayout>(R.layout.item_radio)
view.findViewById<TextView>(R.id.actionTitle).text = paparazzi.resources.getString(R.string.room_settings_all_messages)
view.findViewById<TextView>(R.id.actionTitle).text = "fail"
view.findViewById<ImageView>(R.id.radioIcon).setImageResource(R.drawable.ic_radio_on)
paparazzi.snapshot(view)