Skip to content

add missing types for privileges (#4332) #3044

add missing types for privileges (#4332)

add missing types for privileges (#4332) #3044

Triggered via push September 27, 2023 14:04
Status Failure
Total duration 1h 4m 13s
Artifacts 2
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

tests.yml

on: push
Matrix: e2e
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 3 warnings
test: scripts/core/get-superdesk-api-implementation.tsx#L1
Property 'getOwnPrivileges' is missing in type '{ hasPrivilege: (privilege: string) => boolean; }' but required in type 'DeepReadonlyObject<{ getOwnPrivileges(): Promise<IUserPrivileges>; hasPrivilege(privilege: string): boolean; }>'.
test
Process completed with exit code 2.
e2e (a)
Process completed with exit code 1.
e2e (b)
Process completed with exit code 1.
test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
e2e (a)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1, actions/upload-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
e2e (b)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1, actions/upload-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/

Artifacts

Produced during runtime
Name Size
screenshots-e2e-a Expired
128 KB
screenshots-e2e-b Expired
171 KB