[monitor] iCloud API #816
monitor_api.yml
on: schedule
api-test
/
unit-ubuntu
0s
api-test
/
unit-macos
0s
api-test
/
e2e
0s
api-test
/
api
41s
Annotations
10 errors and 1 warning
API E2E Tests › Login flow › Success - Legacy Login:
app/test/api/api.test.ts#L58
expect(received).resolves.not.toThrow()
Received promise rejected instead of resolved
Rejected to value: [iCloudAuthError: Unexpected HTTP response]
at expect (node_modules/expect/build/index.js:113:15)
at Object.<anonymous> (test/api/api.test.ts:58:19)
|
API E2E Tests › Login flow › Success - SRP Login:
app/test/api/api.test.ts#L62
expect(received).resolves.not.toThrow()
Received promise rejected instead of resolved
Rejected to value: [iCloudAuthError: Username/Password does not seem to match]
at expect (node_modules/expect/build/index.js:113:15)
at Object.<anonymous> (test/api/api.test.ts:62:19)
|
API E2E Tests › Logged in test cases › Fetching records › Fetch all records:
app/src/lib/icloud/icloud.ts#L38
MFAError: MFA code required, failing due to failOnMfa flag
at EventEmitter.<anonymous> (src/lib/icloud/icloud.ts:38:54)
at EventManager.emit (src/lib/resources/event-manager.ts:46:31)
at Object.emit (src/lib/resources/main.ts:174:34)
at iCloud.authenticate (src/lib/icloud/icloud.ts:103:27)
at Object.<anonymous> (test/api/api.test.ts:70:13)
|
API E2E Tests › Logged in test cases › Fetching records › Fetch all records of one album:
app/src/lib/icloud/icloud.ts#L38
MFAError: MFA code required, failing due to failOnMfa flag
at EventEmitter.<anonymous> (src/lib/icloud/icloud.ts:38:54)
at EventManager.emit (src/lib/resources/event-manager.ts:46:31)
at Object.emit (src/lib/resources/main.ts:174:34)
at iCloud.authenticate (src/lib/icloud/icloud.ts:103:27)
at Object.<anonymous> (test/api/api.test.ts:70:13)
|
API E2E Tests › Logged in test cases › Fetching records › Fetch records of empty album:
app/src/lib/icloud/icloud.ts#L38
MFAError: MFA code required, failing due to failOnMfa flag
at EventEmitter.<anonymous> (src/lib/icloud/icloud.ts:38:54)
at EventManager.emit (src/lib/resources/event-manager.ts:46:31)
at Object.emit (src/lib/resources/main.ts:174:34)
at iCloud.authenticate (src/lib/icloud/icloud.ts:103:27)
at Object.<anonymous> (test/api/api.test.ts:70:13)
|
API E2E Tests › Logged in test cases › Fetching albums › Fetch all albums:
app/src/lib/icloud/icloud.ts#L38
MFAError: MFA code required, failing due to failOnMfa flag
at EventEmitter.<anonymous> (src/lib/icloud/icloud.ts:38:54)
at EventManager.emit (src/lib/resources/event-manager.ts:46:31)
at Object.emit (src/lib/resources/main.ts:174:34)
at iCloud.authenticate (src/lib/icloud/icloud.ts:103:27)
at Object.<anonymous> (test/api/api.test.ts:70:13)
|
API E2E Tests › Logged in test cases › Fetching albums › Fetch empty folder:
app/src/lib/icloud/icloud.ts#L38
MFAError: MFA code required, failing due to failOnMfa flag
at EventEmitter.<anonymous> (src/lib/icloud/icloud.ts:38:54)
at EventManager.emit (src/lib/resources/event-manager.ts:46:31)
at Object.emit (src/lib/resources/main.ts:174:34)
at iCloud.authenticate (src/lib/icloud/icloud.ts:103:27)
at Object.<anonymous> (test/api/api.test.ts:70:13)
|
API E2E Tests › Logged in test cases › Fetching albums › Fetch folder with multiple albums:
app/src/lib/icloud/icloud.ts#L38
MFAError: MFA code required, failing due to failOnMfa flag
at EventEmitter.<anonymous> (src/lib/icloud/icloud.ts:38:54)
at EventManager.emit (src/lib/resources/event-manager.ts:46:31)
at Object.emit (src/lib/resources/main.ts:174:34)
at iCloud.authenticate (src/lib/icloud/icloud.ts:103:27)
at Object.<anonymous> (test/api/api.test.ts:70:13)
|
API E2E Tests › Logged in test cases › Assets & Records › Download an asset:
app/src/lib/icloud/icloud.ts#L38
MFAError: MFA code required, failing due to failOnMfa flag
at EventEmitter.<anonymous> (src/lib/icloud/icloud.ts:38:54)
at EventManager.emit (src/lib/resources/event-manager.ts:46:31)
at Object.emit (src/lib/resources/main.ts:174:34)
at iCloud.authenticate (src/lib/icloud/icloud.ts:103:27)
at Object.<anonymous> (test/api/api.test.ts:70:13)
|
api-test / api
Process completed with exit code 1.
|
api-test / api
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|