Skip to content

Unit test for the components #146

Unit test for the components

Unit test for the components #146

Triggered via pull request December 30, 2024 09:17
Status Failure
Total duration 58s
Artifacts

node.js.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

26 errors and 1 warning
tests/PDPCheck.test.tsx > PDP Check Component > should render with the given options: tests/PDPCheck.test.tsx#L32
AssertionError: expected '\n' to contain 'ALLOWED' - Expected + Received - ALLOWED + + ❯ tests/PDPCheck.test.tsx:32:35
tests/PDPCheck.test.tsx > PDP Check Component > should render with the given options: tests/PDPCheck.test.tsx#L52
AssertionError: expected '\n' to contain 'DENIED' - Expected + Received - DENIED + + ❯ tests/PDPCheck.test.tsx:52:35
tests/PDPCheck.test.tsx > PDP Check Component > should render with the given options: tests/PDPCheck.test.tsx#L72
AssertionError: expected '\n' to contain 'Error' - Expected + Received - Error + + ❯ tests/PDPCheck.test.tsx:72:35
tests/PDPCheck.test.tsx > PDP Check Component > should render with the given options with multiple resource: tests/PDPCheck.test.tsx#L92
AssertionError: expected '\n' to contain 'ALLOWED' - Expected + Received - ALLOWED + + ❯ tests/PDPCheck.test.tsx:92:35
tests/apiKey.test.tsx > ApiKey > Should read the key: tests/apiKey.test.tsx#L31
AssertionError: expected '-- Failed to read key- reason Error: …' to match /permit_key_aaaaaaa/ - Expected: /permit_key_aaaaaaa/ + Received: "-- Failed to read key- reason Error: The name org.freedesktop.secrets was not provided by any .service files" ❯ tests/apiKey.test.tsx:31:23
tests/logout.test.tsx > Logout > should render the logout component and call process.exit: tests/logout.test.tsx#L20
AssertionError: expected "spy" to be called with arguments: [ +0 ] Received: Number of calls: 0 ❯ tests/logout.test.tsx:20:24
tests/lib/auth.test.ts > Save Auth Token > Should save token: tests/lib/auth.test.ts#L51
AssertionError: expected 'The name org.freedesktop.secrets was …' to be '' // Object.is equality - Expected + Received + The name org.freedesktop.secrets was not provided by any .service files ❯ tests/lib/auth.test.ts:51:18
build (20.x)
Process completed with exit code 1.
build (22.x)
The job was canceled because "_20_x" failed.
tests/PDPCheck.test.tsx > PDP Check Component > should render with the given options: tests/PDPCheck.test.tsx#L32
AssertionError: expected '\n' to contain 'ALLOWED' - Expected + Received - ALLOWED + + ❯ tests/PDPCheck.test.tsx:32:35
tests/PDPCheck.test.tsx > PDP Check Component > should render with the given options: tests/PDPCheck.test.tsx#L52
AssertionError: expected '\n' to contain 'DENIED' - Expected + Received - DENIED + + ❯ tests/PDPCheck.test.tsx:52:35
tests/PDPCheck.test.tsx > PDP Check Component > should render with the given options: tests/PDPCheck.test.tsx#L72
AssertionError: expected '\n' to contain 'Error' - Expected + Received - Error + + ❯ tests/PDPCheck.test.tsx:72:35
tests/PDPCheck.test.tsx > PDP Check Component > should render with the given options with multiple resource: tests/PDPCheck.test.tsx#L92
AssertionError: expected '\n' to contain 'ALLOWED' - Expected + Received - ALLOWED + + ❯ tests/PDPCheck.test.tsx:92:35
tests/apiKey.test.tsx > ApiKey > Should read the key: tests/apiKey.test.tsx#L31
AssertionError: expected '-- Failed to read key- reason Error: …' to match /permit_key_aaaaaaa/ - Expected: /permit_key_aaaaaaa/ + Received: "-- Failed to read key- reason Error: The name org.freedesktop.secrets was not provided by any .service files" ❯ tests/apiKey.test.tsx:31:23
tests/logout.test.tsx > Logout > should render the logout component and call process.exit: tests/logout.test.tsx#L20
AssertionError: expected "spy" to be called with arguments: [ +0 ] Received: Number of calls: 0 ❯ tests/logout.test.tsx:20:24
tests/lib/auth.test.ts > Save Auth Token > Should save token: tests/lib/auth.test.ts#L51
AssertionError: expected 'The name org.freedesktop.secrets was …' to be '' // Object.is equality - Expected + Received + The name org.freedesktop.secrets was not provided by any .service files ❯ tests/lib/auth.test.ts:51:18
build (22.x)
The operation was canceled.
build (18.x)
The job was canceled because "_20_x" failed.
tests/PDPCheck.test.tsx > PDP Check Component > should render with the given options: tests/PDPCheck.test.tsx#L32
AssertionError: expected '\n' to contain 'ALLOWED' - Expected + Received - ALLOWED + + ❯ tests/PDPCheck.test.tsx:32:35
tests/PDPCheck.test.tsx > PDP Check Component > should render with the given options: tests/PDPCheck.test.tsx#L52
AssertionError: expected '\n' to contain 'DENIED' - Expected + Received - DENIED + + ❯ tests/PDPCheck.test.tsx:52:35
tests/PDPCheck.test.tsx > PDP Check Component > should render with the given options: tests/PDPCheck.test.tsx#L72
AssertionError: expected '\n' to contain 'Error' - Expected + Received - Error + + ❯ tests/PDPCheck.test.tsx:72:35
tests/PDPCheck.test.tsx > PDP Check Component > should render with the given options with multiple resource: tests/PDPCheck.test.tsx#L92
AssertionError: expected '\n' to contain 'ALLOWED' - Expected + Received - ALLOWED + + ❯ tests/PDPCheck.test.tsx:92:35
tests/apiKey.test.tsx > ApiKey > Should read the key: tests/apiKey.test.tsx#L31
AssertionError: expected '-- Failed to read key- reason Error: …' to match /permit_key_aaaaaaa/ - Expected: /permit_key_aaaaaaa/ + Received: "-- Failed to read key- reason Error: The name org.freedesktop.secrets was not provided by any .service files" ❯ tests/apiKey.test.tsx:31:23
tests/logout.test.tsx > Logout > should render the logout component and call process.exit: tests/logout.test.tsx#L20
AssertionError: expected "spy" to be called with arguments: [ +0 ] Received: Number of calls: 0 ❯ tests/logout.test.tsx:20:24
tests/lib/auth.test.ts > Save Auth Token > Should save token: tests/lib/auth.test.ts#L51
AssertionError: expected 'The name org.freedesktop.secrets was …' to be '' // Object.is equality - Expected + Received + The name org.freedesktop.secrets was not provided by any .service files ❯ tests/lib/auth.test.ts:51:18
build (18.x)
The operation was canceled.
build (20.x)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636