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,6 +8,6 @@ describe('screen style - static', () => {
8 8
 
9 9
   it('declare a navigationOptions on container component', async () => {
10 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
 });