Skip to content

Commit

Permalink
forcing the screenshot test to fail
Browse files Browse the repository at this point in the history
  • Loading branch information
ouchadam committed Sep 27, 2022
1 parent 28f4e79 commit bc5db68
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit bc5db68

Please sign in to comment.