Daniel Zlotin 8 年之前
父節點
當前提交
e2d771f6d9
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      e2e/ScreenStyleStatic.test.js

+ 1
- 1
e2e/ScreenStyleStatic.test.js 查看文件

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
 });