Daniel Zlotin 8 лет назад
Родитель
Сommit
9feb880897
1 измененных файлов: 1 добавлений и 5 удалений
  1. 1
    5
      playground/e2e/app.test.js

+ 1
- 5
playground/e2e/app.test.js Просмотреть файл

7
     expect(elementByLabel('React Native Navigation!')).toBeVisible();
7
     expect(elementByLabel('React Native Navigation!')).toBeVisible();
8
   });
8
   });
9
 
9
 
10
-  it('switch to tab based app', () => {
10
+  it('switch to tab based app, passProps and functions', () => {
11
     elementByLabel('Switch to tab based app').tap();
11
     elementByLabel('Switch to tab based app').tap();
12
     expect(elementByLabel('This is tab 1')).toBeVisible();
12
     expect(elementByLabel('This is tab 1')).toBeVisible();
13
-  });
14
-
15
-  it('passing props and functions', () => {
16
-    elementByLabel('Switch to tab based app').tap();
17
     expect(elementByLabel('Hello from a function!')).toBeVisible();
13
     expect(elementByLabel('Hello from a function!')).toBeVisible();
18
   });
14
   });
19
 
15