[feat] add e2e tests using new tuistory package
#5085
Triggered via pull request
December 10, 2025 22:51
Status
Failure
Total duration
40m 38s
Artifacts
–
ci.yml
on: pull_request
build-and-check
2m 7s
Matrix: test-integration
Matrix: test
Annotations
10 errors and 1 warning
|
error: expect(received).toMatch(expected):
cli/src/__tests__/e2e/full-stack.test.ts#L380
Expected substring or pattern: /bash|shell/
Received: "\nusing environment: ***\nzoderror: [\n {\n \"origin\": \"string\",\n \"code\": \"too_small\",\n \"minimum\": 1,\n \"inclusive\": ***,\n \"path\": [\n \"next_public_posthog_api_key\"\n ],\n \"message\": \"too small: expected string to have >=1 characters\"\n }\n]\n\nbun v1.3.0 (linux x64 baseline)"
at <anonymous> (/home/runner/work/***/***/cli/src/__***s__/e2e/full-stack.***.ts:380:34)
|
|
error: expect(received).toMatch(expected):
cli/src/__tests__/e2e/full-stack.test.ts#L358
Expected substring or pattern: /init|project|configure|knowledge/
Received: "\nusing environment: ***\nzoderror: [\n {\n \"origin\": \"string\",\n \"code\": \"too_small\",\n \"minimum\": 1,\n \"inclusive\": ***,\n \"path\": [\n \"next_public_posthog_api_key\"\n ],\n \"message\": \"too small: expected string to have >=1 characters\"\n }\n]\n\nbun v1.3.0 (linux x64 baseline)"
at <anonymous> (/home/runner/work/***/***/cli/src/__***s__/e2e/full-stack.***.ts:358:34)
|
|
error: expect(received).toContain(expected):
cli/src/__tests__/e2e/full-stack.test.ts#L318
Expected to contain: "max"
Received: "\nusing environment: ***\nzoderror: [\n {\n \"origin\": \"string\",\n \"code\": \"too_small\",\n \"minimum\": 1,\n \"inclusive\": ***,\n \"path\": [\n \"next_public_posthog_api_key\"\n ],\n \"message\": \"too small: expected string to have >=1 characters\"\n }\n]\n\nbun v1.3.0 (linux x64 baseline)"
at <anonymous> (/home/runner/work/***/***/cli/src/__***s__/e2e/full-stack.***.ts:318:34)
|
|
error: expect(received).toContain(expected):
cli/src/__tests__/e2e/full-stack.test.ts#L296
Expected to contain: "lite"
Received: "\nusing environment: ***\nzoderror: [\n {\n \"origin\": \"string\",\n \"code\": \"too_small\",\n \"minimum\": 1,\n \"inclusive\": ***,\n \"path\": [\n \"next_public_posthog_api_key\"\n ],\n \"message\": \"too small: expected string to have >=1 characters\"\n }\n]\n\nbun v1.3.0 (linux x64 baseline)"
at <anonymous> (/home/runner/work/***/***/cli/src/__***s__/e2e/full-stack.***.ts:296:34)
|
|
error: expect(received).toContain(expected):
cli/src/__tests__/e2e/full-stack.test.ts#L229
Expected to contain: "directory"
Received: "\nusing environment: ***\nzoderror: [\n {\n \"origin\": \"string\",\n \"code\": \"too_small\",\n \"minimum\": 1,\n \"inclusive\": ***,\n \"path\": [\n \"next_public_posthog_api_key\"\n ],\n \"message\": \"too small: expected string to have >=1 characters\"\n }\n]\n\nbun v1.3.0 (linux x64 baseline)"
at <anonymous> (/home/runner/work/***/***/cli/src/__***s__/e2e/full-stack.***.ts:229:34)
|
|
error: expect(received).toMatch(expected):
cli/src/__tests__/e2e/full-stack.test.ts#L199
Expected substring or pattern: /new|exit|usage|init|logout/
Received: "\nusing environment: ***\nzoderror: [\n {\n \"origin\": \"string\",\n \"code\": \"too_small\",\n \"minimum\": 1,\n \"inclusive\": ***,\n \"path\": [\n \"next_public_posthog_api_key\"\n ],\n \"message\": \"too small: expected string to have >=1 characters\"\n }\n]\n\nbun v1.3.0 (linux x64 baseline)"
at <anonymous> (/home/runner/work/***/***/cli/src/__***s__/e2e/full-stack.***.ts:199:34)
|
|
error: expect(received).toMatch(expected):
cli/src/__tests__/e2e/full-stack.test.ts#L178
Expected substring or pattern: /credit|usage|balance|remaining/
Received: "\nusing environment: ***\nzoderror: [\n {\n \"origin\": \"string\",\n \"code\": \"too_small\",\n \"minimum\": 1,\n \"inclusive\": ***,\n \"path\": [\n \"next_public_posthog_api_key\"\n ],\n \"message\": \"too small: expected string to have >=1 characters\"\n }\n]\n\nbun v1.3.0 (linux x64 baseline)"
at <anonymous> (/home/runner/work/***/***/cli/src/__***s__/e2e/full-stack.***.ts:178:34)
|
|
error: expect(received).toContain(expected):
cli/src/__tests__/e2e/full-stack.test.ts#L155
Expected to contain: "directory"
Received: "\nusing environment: ***\nzoderror: [\n {\n \"origin\": \"string\",\n \"code\": \"too_small\",\n \"minimum\": 1,\n \"inclusive\": ***,\n \"path\": [\n \"next_public_posthog_api_key\"\n ],\n \"message\": \"too small: expected string to have >=1 characters\"\n }\n]\n\nbun v1.3.0 (linux x64 baseline)"
at <anonymous> (/home/runner/work/***/***/cli/src/__***s__/e2e/full-stack.***.ts:155:34)
|
|
error: expect(received).toContain(expected):
cli/src/__tests__/e2e/full-stack.test.ts#L97
Expected to contain: "Hello from e2e ***"
Received: "\nUsing environment: ***\nZodError: [\n {\n \"origin\": \"string\",\n \"code\": \"too_small\",\n \"minimum\": 1,\n \"inclusive\": ***,\n \"path\": [\n \"NEXT_PUBLIC_POSTHOG_API_KEY\"\n ],\n \"message\": \"Too small: expected string to have >=1 characters\"\n }\n]\n\nBun v1.3.0 (Linux x64 baseline)"
at <anonymous> (/home/runner/work/***/***/cli/src/__***s__/e2e/full-stack.***.ts:97:20)
|
|
error: expect(received).toContain(expected):
cli/src/__tests__/e2e/full-stack.test.ts#L77
Expected to contain: "directory"
Received: "\nusing environment: ***\nzoderror: [\n {\n \"origin\": \"string\",\n \"code\": \"too_small\",\n \"minimum\": 1,\n \"inclusive\": ***,\n \"path\": [\n \"next_public_posthog_api_key\"\n ],\n \"message\": \"too small: expected string to have >=1 characters\"\n }\n]\n\nbun v1.3.0 (linux x64 baseline)"
at <anonymous> (/home/runner/work/***/***/cli/src/__***s__/e2e/full-stack.***.ts:77:34)
|
|
test-cli
Attempt 1 failed. Reason: Child_process exited with error code 123
|