diff --git a/docs/src/content/docs/en/issue-solutions/solution-of-e2e-timed-issue.mdx b/docs/src/content/docs/en/issue-solutions/solution-of-e2e-timed-issue.mdx index f019f3f63..f54998fe7 100644 --- a/docs/src/content/docs/en/issue-solutions/solution-of-e2e-timed-issue.mdx +++ b/docs/src/content/docs/en/issue-solutions/solution-of-e2e-timed-issue.mdx @@ -62,16 +62,16 @@ When running the e2e tests, all e2e tests failed because we can't get build data
import from config file
, change the config file name to the e2e test config file name, and replace origin input-files/*.template.json
fileinput-files/*.template.json
file to repo rather than input-files/*.json
, so we must modify the *.template.json
fileimport from config file
, change the config file name to the e2e test config file name, and replace origin input-files/*.template.json
fileinput-files/*.template.json
file to repo rather than input-files/*.json
, so we must modify the *.template.json
file*.template.json
file, for data security, we must replace token with placeholder of <E2E_TOKEN_JIRA>
, <E2E_TOKEN_BUILD_KITE>
,<E2E_TOKEN_GITHUB>
like the previous file*.template.json
file, for data security, we must replace token with placeholder of <E2E_TOKEN_JIRA>
, <E2E_TOKEN_BUILD_KITE>
,<E2E_TOKEN_GITHUB>
like the previous filepnpm e2e:local
, the generate-config-files.sh
file will replace the placeholder with the real token. Tips: there is an e2e test to test the pipeline that is no organization in the unhappy path, and the placeholder is <E2E_TOKEN_PIPELINE_NO_ORG_CONFIG_BUILDKITE>
, maybe you need to check if the token is correct.env.local
file to ensure that the e2e test can be passed locally*.template.json
file will be replaced with the token in the .env.local
file. And the generate-config-files.sh
file will create a new json file with the same name by *.template.json
file.*.template.json
file will be replaced with the token in the .env.local
file. And the generate-config-files.sh
file will create a new json file with the same name by *.template.json
file.pnpm e2e:local
to re-test the e2e test*.template.json
will not be hot replacement, however, when we run the pnpm e2e:local
command, the json file will be generated by generate-config-files.sh
file*.template.json
will not be hot replacement, however, when we run the pnpm e2e:local
command, the json file will be generated by generate-config-files.sh
file