test(ivy): i18n - reenable ivy i18n runtime integration test (#33462)

PR Close #33462
This commit is contained in:
Pete Bacon Darwin 2019-10-29 15:04:21 +00:00 committed by Andrew Kushnir
parent f4160b5d5d
commit d1246a1d10
2 changed files with 2 additions and 1 deletions

View File

@ -177,7 +177,7 @@
}, },
"runtime-translations": { "runtime-translations": {
"devServerTarget": "cli-hello-world-ivy-i18n:serve:runtime-translations", "devServerTarget": "cli-hello-world-ivy-i18n:serve:runtime-translations",
"protractorConfig": "e2e/fr/protractor.conf.js" "protractorConfig": "e2e/runtime/protractor.conf.js"
}, },
"translated-legacy": { "translated-legacy": {
"devServerTarget": "", "devServerTarget": "",

View File

@ -13,6 +13,7 @@
"pretest": "ng version", "pretest": "ng version",
"test": "ng test && yarn e2e --configuration=ci && yarn e2e --configuration=ci-production && yarn translated:test && yarn translated:legacy-xlf:test && yarn translated:legacy-xmb:test", "test": "ng test && yarn e2e --configuration=ci && yarn e2e --configuration=ci-production && yarn translated:test && yarn translated:legacy-xlf:test && yarn translated:legacy-xmb:test",
"translate": "localize-translate -r \"dist/\" -s \"**/*\" -l \"en-US\" -t \"src/locales/messages.de.json\" \"src/locales/messages.fr.json\" -o \"../tmp/translations/{{LOCALE}}\"", "translate": "localize-translate -r \"dist/\" -s \"**/*\" -l \"en-US\" -t \"src/locales/messages.de.json\" \"src/locales/messages.fr.json\" -o \"../tmp/translations/{{LOCALE}}\"",
"runtime:test": "yarn e2e --configuration=runtime-translations",
"translated:test": "yarn build && yarn translate && yarn translated:fr:e2e && yarn translated:de:e2e && yarn translated:en:e2e", "translated:test": "yarn build && yarn translate && yarn translated:fr:e2e && yarn translated:de:e2e && yarn translated:en:e2e",
"translated:fr:serve": "serve ../tmp/translations/fr --listen 4200", "translated:fr:serve": "serve ../tmp/translations/fr --listen 4200",
"translated:fr:e2e": "npm-run-all -p -r translated:fr:serve \"ng e2e --configuration=translated-fr\"", "translated:fr:e2e": "npm-run-all -p -r translated:fr:serve \"ng e2e --configuration=translated-fr\"",