mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 20:33:32 +08:00
feat(demo): add demo Angular application
This commit is contained in:
19
packages/angular/demo/e2e/home.e2e-spec.ts
Normal file
19
packages/angular/demo/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.getTitle()).toEqual('Ionic Core Angular Demo Application');
|
||||
});
|
||||
|
||||
it('should navigate to home for root', () => {
|
||||
page.navigateToRoot();
|
||||
expect(page.getTitle()).toEqual('Ionic Core Angular Demo Application');
|
||||
});
|
||||
});
|
Reference in New Issue
Block a user