test: add e2e tests #3
Annotations
4 errors
|
E2E Tests (windows-2025)
Process completed with exit code 1.
|
|
test/e2e/builds.test.ts > [e2e] builds namespace:
test/e2e/builds.test.ts#L24
Error: Failed to login:
npm warn EBADDEVENGINES The developer of this package has specified the following through devEngines
npm warn EBADDEVENGINES Invalid devEngines.packageManager
npm warn EBADDEVENGINES Invalid name "yarn" does not match "npm" for "packageManager"
npm warn EBADDEVENGINES {
npm warn EBADDEVENGINES current: { name: 'npm', version: '11.11.0' },
npm warn EBADDEVENGINES required: { name: 'yarn', version: '>= 4', onFail: 'warn' }
npm warn EBADDEVENGINES }
Info: Apify collects telemetry data about general usage of Apify CLI to help us improve the product.
This feature is enabled by default, and you can disable it by setting the "APIFY_CLI_DISABLE_TELEMETRY" environment variable to "1", or by running "apify telemetry disable".
You can find more information about our telemetry in https://docs.apify.com/cli/docs/telemetry.
Success: You are logged in to Apify as test-user. Your token is stored at C:\Users\runneradmin\.apify\e2e-builds-feab84265023\auth.json.
❯ test/e2e/builds.test.ts:24:10
|
|
test/e2e/actor-run-input.test.ts > [e2e] actor run input:
test/e2e/__helpers__/test-actor.ts#L81
TypeError: Cannot read properties of undefined (reading 'dir')
❯ removeTestActor test/e2e/__helpers__/test-actor.ts:81:17
❯ test/e2e/actor-run-input.test.ts:29:9
|
|
test/e2e/actor-run-input.test.ts > [e2e] actor run input:
test/e2e/__helpers__/test-actor.ts#L35
Error: Failed to create test actor "e2e-488471029cb0":
npm warn EBADDEVENGINES The developer of this package has specified the following through devEngines
npm warn EBADDEVENGINES Invalid devEngines.packageManager
npm warn EBADDEVENGINES Invalid name "yarn" does not match "npm" for "packageManager"
npm warn EBADDEVENGINES {
npm warn EBADDEVENGINES current: { name: 'npm', version: '11.11.0' },
npm warn EBADDEVENGINES required: { name: 'yarn', version: '>= 4', onFail: 'warn' }
npm warn EBADDEVENGINES }
Run: npm install
Run: git init
Success: ✅ Actor 'e2e-488471029cb0' created successfully!
Next steps:
cd "e2e-488471029cb0"
apify run
💡 Tip: Use 'apify push' to deploy your Actor to the Apify platform
📖 Docs: https://docs.apify.com/platform/actors/development
🌱 Git repository initialized in 'e2e-488471029cb0'. You can now commit and push your Actor to Git.
❯ createTestActor test/e2e/__helpers__/test-actor.ts:35:9
❯ test/e2e/actor-run-input.test.ts:17:11
|