Skip to content

Commit df2c8e8

Browse files
committed
fixup! build: migrate integration tests to manual Protractor setup
1 parent 72305b9 commit df2c8e8

7 files changed

Lines changed: 691 additions & 12 deletions

File tree

integration/cli-hello-world-ivy-i18n/angular.json

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,14 @@
1212
"i18n": {
1313
"sourceLocale": "en-US",
1414
"locales": {
15-
"fr": "src/locale/messages.fr.xlf",
16-
"de": "src/locale/messages.de.xlf"
15+
"fr": {
16+
"translation": "src/locale/messages.fr.xlf",
17+
"baseHref": ""
18+
},
19+
"de": {
20+
"translation": "src/locale/messages.de.xlf",
21+
"baseHref": ""
22+
}
1723
}
1824
},
1925
"architect": {

integration/cli-hello-world-ivy-i18n/package.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,9 @@
44
"license": "MIT",
55
"scripts": {
66
"build": "ng build --configuration production",
7-
"e2e": "concurrently \"ng serve --port 4203\" \"protractor e2e/protractor.conf.js --baseUrl=http://localhost:4203 --specs='e2e/en/*.e2e-spec.ts'\" --kill-others --success first",
8-
"e2e:production": "concurrently \"ng serve --configuration production --port 4203\" \"protractor e2e/protractor.conf.js --baseUrl=http://localhost:4203 --specs='e2e/en/*.e2e-spec.ts'\" --kill-others --success first",
9-
"e2e:fr": "concurrently \"ng serve --configuration fr --port 4204\" \"protractor e2e/protractor.conf.js --baseUrl=http://localhost:4204 --specs='e2e/fr/*.e2e-spec.ts'\" --kill-others --success first",
10-
"e2e:de": "concurrently \"ng serve --configuration de --port 4207\" \"protractor e2e/protractor.conf.js --baseUrl=http://localhost:4207 --specs='e2e/de/*.e2e-spec.ts'\" --kill-others --success first",
7+
"e2e:production": "ng build --configuration production && concurrently \"serve dist -l 4203 --no-clipboard --single\" \"protractor e2e/protractor.conf.js --baseUrl=http://localhost:4203 --specs='e2e/en/*.e2e-spec.ts'\" --kill-others --success first",
8+
"e2e:fr": "ng build --configuration fr && concurrently \"serve dist/fr -l 4204 --no-clipboard --single\" \"protractor e2e/protractor.conf.js --baseUrl=http://localhost:4204 --specs='e2e/fr/*.e2e-spec.ts'\" --kill-others --success first",
9+
"e2e:de": "ng build --configuration de && concurrently \"serve dist/de -l 4207 --no-clipboard --single\" \"protractor e2e/protractor.conf.js --baseUrl=http://localhost:4207 --specs='e2e/de/*.e2e-spec.ts'\" --kill-others --success first",
1110
"lint": "ng lint",
1211
"ng": "ng",
1312
"start": "ng serve",

integration/cli-signal-inputs/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"pretest": "ng version",
99
"test": "ng test && pnpm run e2e && ng build --configuration=production",
1010
"lint": "ng lint",
11-
"e2e": "concurrently \"ng serve --port 4210\" \"protractor e2e/protractor.conf.js --baseUrl=http://localhost:4210\" --kill-others --success first"
11+
"e2e": "ng build --configuration production && concurrently \"serve dist/browser -l 4210 --no-clipboard --single\" \"protractor e2e/protractor.conf.js --baseUrl=http://localhost:4210\" --kill-others --success first"
1212
},
1313
"packageManager": "pnpm@10.29.1",
1414
"private": true,
@@ -33,6 +33,7 @@
3333
"@types/node": "^20.14.8",
3434
"concurrently": "9.2.1",
3535
"jasmine-core": "6.0.0",
36+
"serve": "^14.2.5",
3637
"jasmine-spec-reporter": "~7.0.0",
3738
"karma": "~6.4.0",
3839
"karma-chrome-launcher": "^3.1.0",

0 commit comments

Comments
 (0)