Daniel Zlotin 7 years ago
parent
commit
e2d771f6d9
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      e2e/ScreenStyleStatic.test.js

+ 1
- 1
e2e/ScreenStyleStatic.test.js View File

8
 
8
 
9
   it('declare a navigationOptions on container component', async () => {
9
   it('declare a navigationOptions on container component', async () => {
10
     await elementByLabel('Push Options Screen').tap();
10
     await elementByLabel('Push Options Screen').tap();
11
-    await expect(elementByLabel('Static Title').and(by.type('UILabel'))).toBeVisible();
11
+    await expect(element(by.label('Static Title').and(by.type('UILabel')))).toBeVisible();
12
   });
12
   });
13
 });
13
 });