2

I tried to do this but it doesn't work.

onNodeWithTag(TestTag.OPEN_DRAWER_BUTTON).performClick()
onNodeWithTag(TestTag.SYNCHRONIZE_BUTTON).performClick()
onNodeWithText(activity.getString(R.string.success_update)).assertExists()

I get it.

java.lang.AssertionError: Failed: assertExists.
Reason: Expected exactly '1' node but could not find any node that satisfies: (Text + EditableText contains 'Exchange rates have been updated!' (ignoreCase: false))

Drawer:

enter image description here

CalmPerson
  • 57
  • 5

0 Answers0