|  | @@ -1,62 +0,0 @@
 | 
	
		
			
			| 1 |  | -describe('app', () => {
 | 
	
		
			
			| 2 |  | -  beforeEach((done) => {
 | 
	
		
			
			| 3 |  | -    global.simulator.relaunchApp(done);
 | 
	
		
			
			| 4 |  | -  });
 | 
	
		
			
			| 5 |  | -
 | 
	
		
			
			| 6 |  | -  it('shows welcome screen', () => {
 | 
	
		
			
			| 7 |  | -    expect(elementByLabel('React Native Navigation!')).toBeVisible();
 | 
	
		
			
			| 8 |  | -  });
 | 
	
		
			
			| 9 |  | -
 | 
	
		
			
			| 10 |  | -  it('switch to tab based app, passProps and functions', () => {
 | 
	
		
			
			| 11 |  | -    elementByLabel('Switch to tab based app').tap();
 | 
	
		
			
			| 12 |  | -    expect(elementByLabel('This is tab 1')).toBeVisible();
 | 
	
		
			
			| 13 |  | -    expect(elementByLabel('Hello from a function!')).toBeVisible();
 | 
	
		
			
			| 14 |  | -  });
 | 
	
		
			
			| 15 |  | -
 | 
	
		
			
			| 16 |  | -  it('push screen', () => {
 | 
	
		
			
			| 17 |  | -    elementByLabel('Push').tap();
 | 
	
		
			
			| 18 |  | -    expect(elementByLabel('Pushed screen')).toBeVisible();
 | 
	
		
			
			| 19 |  | -  });
 | 
	
		
			
			| 20 |  | -
 | 
	
		
			
			| 21 |  | -  it('switch to tabs with side menus', () => {
 | 
	
		
			
			| 22 |  | -    elementByLabel('Switch to app with side menus').tap();
 | 
	
		
			
			| 23 |  | -    elementByLabel('This is a side menu center screen').swipe('right');
 | 
	
		
			
			| 24 |  | -    expect(elementByLabel('This is a side menu screen')).toBeVisible();
 | 
	
		
			
			| 25 |  | -  });
 | 
	
		
			
			| 26 |  | -
 | 
	
		
			
			| 27 |  | -  it('screen lifecycle', () => {
 | 
	
		
			
			| 28 |  | -    elementByLabel('Switch to lifecycle screen').tap();
 | 
	
		
			
			| 29 |  | -    expect(elementByLabel('onStart!')).toBeVisible();
 | 
	
		
			
			| 30 |  | -    elementByLabel('Push to test onStop').tap();
 | 
	
		
			
			| 31 |  | -    expect(elementByLabel('Alert')).toBeVisible();
 | 
	
		
			
			| 32 |  | -    expect(elementByLabel('onStop!')).toBeVisible();
 | 
	
		
			
			| 33 |  | -  });
 | 
	
		
			
			| 34 |  | -
 | 
	
		
			
			| 35 |  | -  it('pop screen', () => {
 | 
	
		
			
			| 36 |  | -    elementByLabel('Push').tap();
 | 
	
		
			
			| 37 |  | -    expect(elementByLabel('Pushed screen')).toBeVisible();
 | 
	
		
			
			| 38 |  | -    elementByLabel('Pop').tap();
 | 
	
		
			
			| 39 |  | -    expect(elementByLabel('React Native Navigation!')).toBeVisible();
 | 
	
		
			
			| 40 |  | -  });
 | 
	
		
			
			| 41 |  | -<<<<<<< HEAD
 | 
	
		
			
			| 42 |  | -  
 | 
	
		
			
			| 43 |  | -});
 | 
	
		
			
			| 44 |  | -
 | 
	
		
			
			| 45 |  | -describe('reload app', () => {
 | 
	
		
			
			| 46 |  | -  before(function (done) {
 | 
	
		
			
			| 47 |  | -    simulator.reloadReactNativeApp(done);
 | 
	
		
			
			| 48 |  | -  });
 | 
	
		
			
			| 49 |  | -  it('shows welcome screen', () => {
 | 
	
		
			
			| 50 |  | -    expect(elementByLabel('React Native Navigation!')).toBeVisible();
 | 
	
		
			
			| 51 |  | -=======
 | 
	
		
			
			| 52 |  | -
 | 
	
		
			
			| 53 |  | -  xit('show modal', () => {
 | 
	
		
			
			| 54 |  | -    elementByLabel('Show Modal').tap();
 | 
	
		
			
			| 55 |  | -    expect(elementByLabel('Modal screen')).toBeVisible();
 | 
	
		
			
			| 56 |  | ->>>>>>> 886672b24c98bd44fe235b9f4a5084da85b45d8d
 | 
	
		
			
			| 57 |  | -  });
 | 
	
		
			
			| 58 |  | -});
 | 
	
		
			
			| 59 |  | -
 | 
	
		
			
			| 60 |  | -function elementByLabel(label) {
 | 
	
		
			
			| 61 |  | -  return element(by.label(label));
 | 
	
		
			
			| 62 |  | -}
 |