mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-16 10:01:59 +08:00
refactor(demo): move the demo app
This commit is contained in:
19
packages/demos/angular/e2e/home.e2e-spec.ts
Normal file
19
packages/demos/angular/e2e/home.e2e-spec.ts
Normal file
@ -0,0 +1,19 @@
|
||||
import { HomePage } from './home.po';
|
||||
|
||||
describe('Demo Home Page', () => {
|
||||
let page: HomePage;
|
||||
|
||||
beforeEach(() => {
|
||||
page = new HomePage();
|
||||
});
|
||||
|
||||
it('should display title', () => {
|
||||
page.navigateTo();
|
||||
expect(page.getTitleText()).toEqual('Ionic Core Angular Demo Application');
|
||||
});
|
||||
|
||||
it('should navigate to home for root', () => {
|
||||
page.navigateToRoot();
|
||||
expect(page.getTitleText()).toEqual('Ionic Core Angular Demo Application');
|
||||
});
|
||||
});
|
Reference in New Issue
Block a user