Created
September 2, 2017 16:31
-
-
Save leifwells/266bbd53503eaf2f0d1b9675e8610ef3 to your computer and use it in GitHub Desktop.
Starter End-to-end Test for a Page of an Ionic Project
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Page } from './app.po'; | |
describe('App', () => { | |
let page: Page; | |
beforeEach(() => { | |
page = new Page(); | |
}); | |
describe('default screen', () => { | |
beforeEach(() => { | |
page.navigateTo('/'); | |
}); | |
it('should have a title saying Page One', () => { | |
page.getTitle().then(title => { | |
expect(title).toEqual('Page One'); | |
}); | |
}); | |
}) | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment