Skip to content

DEV deploy - @devksingh4 #132

DEV deploy - @devksingh4

DEV deploy - @devksingh4 #132

Triggered via pull request January 27, 2025 23:01
Status Failure
Total duration 1m 54s
Artifacts

deploy-dev.yml

on: pull_request
Deploy to DEV
0s
Deploy to DEV
Run Live Tests
0s
Run Live Tests
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 11 warnings
pages/profile/ManageProfileComponent.test.tsx > ManageProfileComponent tests > renders loading overlay when fetching profile: src/ui/pages/profile/ManageProfileComponent.test.tsx#L41
TestingLibraryElementError: Unable to find an element with the text: /Loading.../i. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible. Ignored nodes: comments, script, style <body> <div> <div class="m_6e45937b mantine-LoadingOverlay-root" style="--lo-z-index: 400;" > <span class="m_b34414df m_e8eb006c mantine-LoadingOverlay-loader m_5ae2e3c mantine-Loader-root" /> <div class="m_df587f17 mantine-LoadingOverlay-overlay m_9814e45f mantine-Overlay-root mantine-dark-hidden" style="--overlay-bg: rgba(255, 255, 255, 0.75); --overlay-z-index: 200;" /> <div class="m_df587f17 mantine-LoadingOverlay-overlay m_9814e45f mantine-Overlay-root mantine-light-hidden" style="--overlay-bg: rgba(59, 59, 59, 0.75); --overlay-z-index: 200;" /> </div> </div> </body> ❯ Object.getElementError ../../node_modules/@testing-library/dom/dist/config.js:37:19 ❯ ../../node_modules/@testing-library/dom/dist/query-helpers.js:76:38 ❯ ../../node_modules/@testing-library/dom/dist/query-helpers.js:52:17 ❯ ../../node_modules/@testing-library/dom/dist/query-helpers.js:95:19 ❯ pages/profile/ManageProfileComponent.test.tsx:41:19
pages/profile/ManageProfileComponent.test.tsx > ManageProfileComponent tests > renders profile form after successfully fetching profile: src/ui/pages/profile/ManageProfileComponent.test.tsx#L56
TestingLibraryElementError: Unable to find a label with the text of: Display Name Ignored nodes: comments, script, style <body> <div> <div class="" style="margin-inline: auto;" > <form> <div class="m_46b77525 mantine-InputWrapper-root mantine-TextInput-root" > <label class="m_8fdc1311 mantine-InputWrapper-label mantine-TextInput-label" data-required="true" for="mantine-pzr8ejg1k" id="mantine-pzr8ejg1k-label" > Display Name <span aria-hidden="true" class="m_78a94662 mantine-InputWrapper-required mantine-TextInput-required" > * </span> </label> <div class="m_6c018570 mantine-Input-wrapper mantine-TextInput-wrapper" data-variant="default" > <input aria-invalid="false" class="m_8fb7ebe7 mantine-Input-input mantine-TextInput-input" data-variant="default" id="mantine-pzr8ejg1k" placeholder="John Doe" required="" value="John Doe" /> </div> </div> <div class="m_46b77525 mantine-InputWrapper-root mantine-TextInput-root" > <label class="m_8fdc1311 mantine-InputWrapper-label mantine-TextInput-label" data-required="true" for="mantine-p2u6tcnej" id="mantine-p2u6tcnej-label" > First Name <span aria-hidden="true" class="m_78a94662 mantine-InputWrapper-required mantine-TextInput-required" > * </span> </label> <div class="m_6c018570 mantine-Input-wrapper mantine-TextInput-wrapper" data-variant="default" > <input aria-invalid="false" class="m_8fb7ebe7 mantine-Input-input mantine-TextInput-input" data-variant="default" id="mantine-p2u6tcnej" placeholder="John" required="" value="John" /> </div> </div> <div class="m_46b77525 mantine-InputWrapper-root mantine-TextInput-root" > <label class="m_8fdc1311 mantine-InputWrapper-label mantine-TextInput-label" data-required="true" for="mantine-gtwuz74xp" id="mantine-gtwuz74xp-label" > Last Name <span aria-hidden="true" class="m_78a94662 mantine-InputWrapper-required mantine-TextInput-required" > * </span> </label> <div class="m_6c018570 mantine-Input-wrapper mantine-TextInput-wrapper" data-variant="default" > <input aria-invalid="false" class="m_8fb7ebe7 mantine-Input-input mantine-TextInput-input" data-variant="default" id="mantine-gtwuz74xp" placeholder="Doe" required="" value="Doe" /> </div> </div> <div class="m_46b77525 mantine-InputWrapper-root mantine-TextInput-root" > <label class="m_8fdc1311 mantine-InputWrapper-label mantine-TextInput-label" data-required="true" for="mantine-pmy6tx6mr" id="mantine-pmy6tx6mr-label" > Email <span aria-hidden="true" class="m_78a94662 mantine-InputWrapper-required mantine-TextInput-required" > * </span> </label> <div class="m_6c018570 mantine-Input-wrapper mantine-TextInput-wrapper" data-disabled="true" data-variant="default" > <input aria-invali
pages/profile/ManageProfileComponent.test.tsx > ManageProfileComponent tests > handles profile fetch failure gracefully: src/ui/pages/profile/ManageProfileComponent.test.tsx#L70
TestingLibraryElementError: Unable to find an element with the text: /Failed to load user profile/i. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible. Ignored nodes: comments, script, style <body> <div> <div class="" style="margin-inline: auto;" > <form> <div class="m_46b77525 mantine-InputWrapper-root mantine-TextInput-root" > <label class="m_8fdc1311 mantine-InputWrapper-label mantine-TextInput-label" data-required="true" for="mantine-unu7l6vd8" id="mantine-unu7l6vd8-label" > Display Name <span aria-hidden="true" class="m_78a94662 mantine-InputWrapper-required mantine-TextInput-required" > * </span> </label> <div class="m_6c018570 mantine-Input-wrapper mantine-TextInput-wrapper" data-variant="default" > <input aria-invalid="false" class="m_8fb7ebe7 mantine-Input-input mantine-TextInput-input" data-variant="default" id="mantine-unu7l6vd8" required="" value="" /> </div> </div> <div class="m_46b77525 mantine-InputWrapper-root mantine-TextInput-root" > <label class="m_8fdc1311 mantine-InputWrapper-label mantine-TextInput-label" data-required="true" for="mantine-qe3jj0uv7" id="mantine-qe3jj0uv7-label" > First Name <span aria-hidden="true" class="m_78a94662 mantine-InputWrapper-required mantine-TextInput-required" > * </span> </label> <div class="m_6c018570 mantine-Input-wrapper mantine-TextInput-wrapper" data-variant="default" > <input aria-invalid="false" class="m_8fb7ebe7 mantine-Input-input mantine-TextInput-input" data-variant="default" id="mantine-qe3jj0uv7" required="" value="" /> </div> </div> <div class="m_46b77525 mantine-InputWrapper-root mantine-TextInput-root" > <label class="m_8fdc1311 mantine-InputWrapper-label mantine-TextInput-label" data-required="true" for="mantine-71haduiq8" id="mantine-71haduiq8-label" > Last Name <span aria-hidden="true" class="m_78a94662 mantine-InputWrapper-required mantine-TextInput-required" > * </span> </label> <div class="m_6c018570 mantine-Input-wrapper mantine-TextInput-wrapper" data-variant="default" > <input aria-invalid="false" class="m_8fb7ebe7 mantine-Input-input mantine-TextInput-input" data-variant="default" id="mantine-71haduiq8" required="" value="" /> </div> </div> <div class="m_46b77525 mantine-InputWrapper-root mantine-TextInput-root" > <label class="m_8fdc1311 mantine-InputWrapper-label mantine-TextInput-label" data-required="true" for="mantine-mnv0769sq" id="mantine-mnv0769sq-label" > Email <span aria-hidden="true" class="m_78a94662 mantine-InputWrapper-required mantine-TextInput-required" > * </span> </label> <div class="m_6c018570 mantine-Input-wrapper mantine-TextInput-wrapper" data-disabled="true" data-variant
pages/profile/ManageProfileComponent.test.tsx > ManageProfileComponent tests > allows editing profile fields and saving changes: src/ui/pages/profile/ManageProfileComponent.test.tsx#L97
TestingLibraryElementError: Unable to find a label with the text of: Display Name Ignored nodes: comments, script, style <body> <div> <div class="" style="margin-inline: auto;" > <form> <div class="m_46b77525 mantine-InputWrapper-root mantine-TextInput-root" > <label class="m_8fdc1311 mantine-InputWrapper-label mantine-TextInput-label" data-required="true" for="mantine-ozvwv8sr3" id="mantine-ozvwv8sr3-label" > Display Name <span aria-hidden="true" class="m_78a94662 mantine-InputWrapper-required mantine-TextInput-required" > * </span> </label> <div class="m_6c018570 mantine-Input-wrapper mantine-TextInput-wrapper" data-variant="default" > <input aria-invalid="false" class="m_8fb7ebe7 mantine-Input-input mantine-TextInput-input" data-variant="default" id="mantine-ozvwv8sr3" placeholder="John Doe" required="" value="John Doe" /> </div> </div> <div class="m_46b77525 mantine-InputWrapper-root mantine-TextInput-root" > <label class="m_8fdc1311 mantine-InputWrapper-label mantine-TextInput-label" data-required="true" for="mantine-xubeafq75" id="mantine-xubeafq75-label" > First Name <span aria-hidden="true" class="m_78a94662 mantine-InputWrapper-required mantine-TextInput-required" > * </span> </label> <div class="m_6c018570 mantine-Input-wrapper mantine-TextInput-wrapper" data-variant="default" > <input aria-invalid="false" class="m_8fb7ebe7 mantine-Input-input mantine-TextInput-input" data-variant="default" id="mantine-xubeafq75" placeholder="John" required="" value="John" /> </div> </div> <div class="m_46b77525 mantine-InputWrapper-root mantine-TextInput-root" > <label class="m_8fdc1311 mantine-InputWrapper-label mantine-TextInput-label" data-required="true" for="mantine-imin9or86" id="mantine-imin9or86-label" > Last Name <span aria-hidden="true" class="m_78a94662 mantine-InputWrapper-required mantine-TextInput-required" > * </span> </label> <div class="m_6c018570 mantine-Input-wrapper mantine-TextInput-wrapper" data-variant="default" > <input aria-invalid="false" class="m_8fb7ebe7 mantine-Input-input mantine-TextInput-input" data-variant="default" id="mantine-imin9or86" placeholder="Doe" required="" value="Doe" /> </div> </div> <div class="m_46b77525 mantine-InputWrapper-root mantine-TextInput-root" > <label class="m_8fdc1311 mantine-InputWrapper-label mantine-TextInput-label" data-required="true" for="mantine-7rai3nxa4" id="mantine-7rai3nxa4-label" > Email <span aria-hidden="true" class="m_78a94662 mantine-InputWrapper-required mantine-TextInput-required" > * </span> </label> <div class="m_6c018570 mantine-Input-wrapper mantine-TextInput-wrapper" data-disabled="true" data-variant="default" > <input aria-invali
Run Unit Tests
Process completed with exit code 2.
Run Unit Tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Run Unit Tests: src/api/functions/authorization.ts#L4
'QueryCommand' is defined but never used. Allowed unused vars must match /^_/u
Run Unit Tests: src/api/functions/entraId.ts#L9
'BaseError' is defined but never used. Allowed unused vars must match /^_/u
Run Unit Tests: src/api/plugins/auth.ts#L18
'DynamoDBClient' is defined but never used. Allowed unused vars must match /^_/u
Run Unit Tests: src/api/routes/iam.ts#L2
'allAppRoles' is defined but never used. Allowed unused vars must match /^_/u
Run Unit Tests: src/api/routes/iam.ts#L20
'DynamoDBClient' is defined but never used. Allowed unused vars must match /^_/u
Run Unit Tests: src/api/routes/iam.ts#L21
'GetItemCommand' is defined but never used. Allowed unused vars must match /^_/u
Run Unit Tests: src/api/routes/iam.ts#L25
'unmarshall' is defined but never used. Allowed unused vars must match /^_/u
Run Unit Tests: src/api/routes/ics.ts#L3
'DynamoDBClient' is defined but never used. Allowed unused vars must match /^_/u
Run Unit Tests: src/api/routes/tickets.ts#L4
'DynamoDBClient' is defined but never used. Allowed unused vars must match /^_/u
Run Unit Tests: src/api/types.d.ts#L1
'FastifyRequest' is defined but never used. Allowed unused vars must match /^_/u