Browse Source

trigger build

Daniel Zlotin 8 years ago
parent
commit
883875e731
1 changed files with 1 additions and 2 deletions
  1. 1
    2
      e2e/app.test.js

+ 1
- 2
e2e/app.test.js View File

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