diff --git a/packages/schematics/angular/application/files/src/favicon.ico.template b/packages/schematics/angular/application/files/src/favicon.ico.template
index 8081c7ceaf2b..997406ad22c2 100644
Binary files a/packages/schematics/angular/application/files/src/favicon.ico.template and b/packages/schematics/angular/application/files/src/favicon.ico.template differ
diff --git a/packages/schematics/angular/application/files/src/index.html.template b/packages/schematics/angular/application/files/src/index.html.template
index 63b8497cace2..8a7c648e38c0 100644
--- a/packages/schematics/angular/application/files/src/index.html.template
+++ b/packages/schematics/angular/application/files/src/index.html.template
@@ -4,7 +4,6 @@
-
- Welcome to {{ title }}!
-
-

+
+
+
+
+
+
+
+
+
+
+
+
+
-
Here are some links to help you start:
-
+
+
+
+
+
+
+
+
+
{{ title }} app is running!
+
+
+
+
+
+
+
Resources
+
Here are some links to help you get started:
+
+
+
+
+
Next Steps
+
What do you want to do next with your app?
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Run and Watch Tests
+
+
+
+
+
+
Build for Production
+
+
+
+
+
+
ng generate component xyz
+
ng add @angular/material
+
ng add _____
+
ng test
+
ng build --prod
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
<% if (routing) { %>
-
<% } %>
+
<% } %>
\ No newline at end of file
diff --git a/packages/schematics/angular/application/other-files/app.component.spec.ts.template b/packages/schematics/angular/application/other-files/app.component.spec.ts.template
index 23a395040bf2..9ffbfc0a3127 100644
--- a/packages/schematics/angular/application/other-files/app.component.spec.ts.template
+++ b/packages/schematics/angular/application/other-files/app.component.spec.ts.template
@@ -26,10 +26,10 @@ describe('AppComponent', () => {
expect(app.title).toEqual('<%= name %>');
});
- it('should render title in a h1 tag', () => {
+ it('should render title', () => {
const fixture = TestBed.createComponent(AppComponent);
fixture.detectChanges();
const compiled = fixture.debugElement.nativeElement;
- expect(compiled.querySelector('h1').textContent).toContain('Welcome to <%= name %>!');
+ expect(compiled.querySelector('.content span').textContent).toContain('<%= name %> app is running!');
});
});
diff --git a/packages/schematics/angular/e2e/files/src/app.e2e-spec.ts.template b/packages/schematics/angular/e2e/files/src/app.e2e-spec.ts.template
index 1ff95e3adebe..06f874bf1328 100644
--- a/packages/schematics/angular/e2e/files/src/app.e2e-spec.ts.template
+++ b/packages/schematics/angular/e2e/files/src/app.e2e-spec.ts.template
@@ -10,7 +10,7 @@ describe('workspace-project App', () => {
it('should display welcome message', () => {
page.navigateTo();
- expect(page.getTitleText()).toEqual('Welcome to <%= relatedAppName %>!');
+ expect(page.getTitleText()).toEqual('<%= relatedAppName %> app is running!');
});
afterEach(async () => {
diff --git a/packages/schematics/angular/e2e/files/src/app.po.ts.template b/packages/schematics/angular/e2e/files/src/app.po.ts.template
index 4e1cf115d60f..33f865f96075 100644
--- a/packages/schematics/angular/e2e/files/src/app.po.ts.template
+++ b/packages/schematics/angular/e2e/files/src/app.po.ts.template
@@ -6,6 +6,6 @@ export class AppPage {
}
getTitleText() {
- return element(by.css('<%= rootSelector %> h1')).getText() as Promise
;
+ return element(by.css('<%= rootSelector %> .content span')).getText() as Promise;
}
}
diff --git a/tests/legacy-cli/e2e/tests/build/platform-server.ts b/tests/legacy-cli/e2e/tests/build/platform-server.ts
index 534884ea10c1..ff76d08627fe 100644
--- a/tests/legacy-cli/e2e/tests/build/platform-server.ts
+++ b/tests/legacy-cli/e2e/tests/build/platform-server.ts
@@ -153,7 +153,7 @@ export default function() {
.then(() =>
expectFileToMatch(
'dist/test-project-server/index.html',
- /Here are some links to help you start: <\/h2>/,
+ /Here are some links to help you get started:<\/p>/,
),
)
.then(() =>
diff --git a/tests/legacy-cli/e2e/tests/build/prod-build.ts b/tests/legacy-cli/e2e/tests/build/prod-build.ts
index 1fa929480d1f..ccbc92dcb65c 100644
--- a/tests/legacy-cli/e2e/tests/build/prod-build.ts
+++ b/tests/legacy-cli/e2e/tests/build/prod-build.ts
@@ -54,11 +54,11 @@ export default async function () {
// Size checks in bytes
if (ivyProject) {
- verifySize(mainES5Path, 147789);
- verifySize(mainES2015Path, 130153);
+ verifySize(mainES5Path, 167355);
+ verifySize(mainES2015Path, 149806);
} else {
- verifySize(mainES5Path, 155523);
- verifySize(mainES2015Path, 135394);
+ verifySize(mainES5Path, 184470);
+ verifySize(mainES2015Path, 163627);
}
// Check that the process didn't change local files.