import { AppPage } from './app.po' ; describe ( 'new App' , ( ) => { let page ; beforeEach ( ( ) => { page = new AppPage ( ) ; } ) ; it ( 'should display the menu' , ( ) => { page . navigateTo ( ) ; expect ( page . getMenu ( ) ) . toBeTruthy ( ) ; } ) ; it ( 'should get the slides text' , ( ) => { page . navigateTo ( ) ; expect ( page . getFirstSlide ( ) ) . toBe ( 'ion-slide' ) ; } ) ; it ( 'should create a router outlet' , ( ) => { page . navigateTo ( ) ; expect ( page . getRouter ( ) ) . toBeTruthy ( ) ; } ) ; } ) ;