File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
assets/15.0-project/src/app Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 341
341
</ g >
342
342
</ svg >
343
343
344
- < span > {{ title }} app is running! </ span >
344
+ < h1 > Hello, {{ title }}</ h1 >
345
345
346
346
< svg id ="rocket-smoke " xmlns ="http://www.w3.org/2000/svg " width ="516.119 " height ="1083.632 " viewBox ="0 0 516.119 1083.632 ">
347
347
< title > Rocket Ship Smoke</ title >
Original file line number Diff line number Diff line change @@ -30,6 +30,6 @@ describe('AppComponent', () => {
30
30
const fixture = TestBed . createComponent ( AppComponent ) ;
31
31
fixture . detectChanges ( ) ;
32
32
const compiled = fixture . nativeElement as HTMLElement ;
33
- expect ( compiled . querySelector ( '.content span ' ) ?. textContent ) . toContain ( 'fifteen-project app is running! ' ) ;
33
+ expect ( compiled . querySelector ( 'h1 ' ) ?. textContent ) . toContain ( 'Hello, fifteen-project' ) ;
34
34
} ) ;
35
35
} ) ;
Original file line number Diff line number Diff line change @@ -56,9 +56,6 @@ export default async function () {
56
56
// Update Angular current build
57
57
const extraUpdateArgs = isPrereleaseCli ( ) ? [ '--next' , '--force' ] : [ ] ;
58
58
59
- // Generate e2e test prior to `ng update` as the asserted content changed in v17.
60
- await ng ( 'generate' , 'e2e' , '--related-app-name=fifteen-project' ) ;
61
-
62
59
// For the latest/next release we purposely don't run `ng update @angular/core`.
63
60
64
61
// During a major release when the branch version is bumped from `12.0.0-rc.x` to `12.0.0` there would be a period were in
@@ -74,6 +71,9 @@ export default async function () {
74
71
75
72
await ng ( 'update' , '@angular/cli' , ...extraUpdateArgs ) ;
76
73
74
+ // Generate E2E setup
75
+ await ng ( 'generate' , 'e2e' , '--related-app-name=fifteen-project' ) ;
76
+
77
77
// Setup testing to use CI Chrome.
78
78
await useCIChrome ( 'fifteen-project' , './' ) ;
79
79
await useCIChrome ( 'fifteen-project' , './e2e/' ) ;
You can’t perform that action at this time.
0 commit comments