diff --git a/aio/content/examples/i18n/example-config.json b/aio/content/examples/i18n/example-config.json index 1188a704a3..99b45f2c49 100644 --- a/aio/content/examples/i18n/example-config.json +++ b/aio/content/examples/i18n/example-config.json @@ -1,3 +1,12 @@ { - "projectType": "i18n" -} + "projectType": "i18n", + "e2e": [ + { + "cmd": "yarn", + "args": [ + "e2e", + "--no-webdriver-update" + ] + } + ] +} \ No newline at end of file diff --git a/aio/tools/examples/run-example-e2e.js b/aio/tools/examples/run-example-e2e.js index f63ca4968d..720551cedc 100644 --- a/aio/tools/examples/run-example-e2e.js +++ b/aio/tools/examples/run-example-e2e.js @@ -16,8 +16,7 @@ const SJS_SPEC_FILENAME = 'e2e-spec.ts'; const CLI_SPEC_FILENAME = 'e2e/src/app.e2e-spec.ts'; const EXAMPLE_CONFIG_FILENAME = 'example-config.json'; const IGNORED_EXAMPLES = [ // temporary ignores - 'quickstart', - 'setup', + ]; /** @@ -206,7 +205,7 @@ function runE2eTestsCLI(appDir, outputFile) { console.log(`\n\n=========== Running aio example tests for: ${appDir}`); // `--no-webdriver-update` is needed to preserve the ChromeDriver version already installed. const config = loadExampleConfig(appDir); - const commands = config.e2e || [{ cmd: 'yarn', args: ['e2e', '--no-webdriver-update'] }]; + const commands = config.e2e || [{ cmd: 'yarn', args: ['e2e', '--prod', '--no-webdriver-update'] }]; const e2eSpawnPromise = commands.reduce((prevSpawnPromise, { cmd, args }) => { return prevSpawnPromise.then(() => {