소스 검색

trigger build

Daniel Zlotin 8 년 전
부모
커밋
883875e731
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 1
    2
      e2e/app.test.js

+ 1
- 2
e2e/app.test.js 파일 보기

193
 
193
 
194
   it('declare a navigationStyle on container component', async () => {
194
   it('declare a navigationStyle on container component', async () => {
195
     await elementByLabel('Push').tap();
195
     await elementByLabel('Push').tap();
196
-    // TODO make this pass by attaching testId in native, or make detox be able to handle multiple matches
197
-    // await expect(elementByLabel('Static Title')).toBeVisible();
196
+    await expect(element(by.label('Static Title').and.by.type('UILabel'))).toBeVisible();
198
   });
197
   });
199
 });
198
 });
200
 
199