Slide 7
Slide 7 text
<Button
testID=’test’
accssible
accessibilityLabel=’test’
/>
↓
・Android
Record Espresso Test
・iOS
UI Recording
両OS共デバイス操作をコードにしてくれる
targetElement = onView(allOf(withContentDescription(‘test’), isDisplayed()));
targetElement.perform((click()));