|
@@ -193,8 +193,7 @@ describe('screen style - static', () => {
|
193
|
193
|
|
194
|
194
|
it('declare a navigationStyle on container component', async () => {
|
195
|
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
|
|