본문 바로가기

2. Automation/2.6 Detox

Detox iOS System Pop up Control

Detox에서 Inspector가 되지 않는 Button 컨트를을 하려면,


Xcode 에서 Debug View Hierarchy를 조회하여, 제어해야 한다.



이후 by.type 으로 제어하면 됨. 


특히나 React-navigation 등의 뒤로가기 버튼을 제어할 때도 해당 방법으로 적용해야 함.

await element(by.type('_UIButtonBarButton')).tap();


'2. Automation > 2.6 Detox' 카테고리의 다른 글

iOS typeText()  (0) 2018.08.14
Detox react-native automation testing framework  (0) 2018.05.28