|
@@ -0,0 +1,19 @@
|
|
1
|
+describe('Example', () => {
|
|
2
|
+ beforeEach(async () => {
|
|
3
|
+ await device.reloadReactNative();
|
|
4
|
+ });
|
|
5
|
+
|
|
6
|
+ it('should have welcome screen', async () => {
|
|
7
|
+ await expect(element(by.id('welcome'))).toBeVisible();
|
|
8
|
+ });
|
|
9
|
+
|
|
10
|
+ it('should show hello screen after tap', async () => {
|
|
11
|
+ await element(by.id('hello_button')).tap();
|
|
12
|
+ await expect(element(by.text('Hello!!!'))).toBeVisible();
|
|
13
|
+ });
|
|
14
|
+
|
|
15
|
+ it('should show world screen after tap', async () => {
|
|
16
|
+ await element(by.id('world_button')).tap();
|
|
17
|
+ await expect(element(by.text('World!!!'))).toBeVisible();
|
|
18
|
+ });
|
|
19
|
+})
|