forcing the screenshot test to fail
This commit is contained in:
parent
2d2b2e9218
commit
f299615b02
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue