Skip to content

DEV deploy - @devksingh4 #131

DEV deploy - @devksingh4

DEV deploy - @devksingh4 #131

Triggered via pull request January 27, 2025 20:51
Status Failure
Total duration 1m 58s
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-ff0ciz5u3" id="mantine-ff0ciz5u3-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-ff0ciz5u3" 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-xdr4mekgh" id="mantine-xdr4mekgh-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-xdr4mekgh" 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-1x066czbr" id="mantine-1x066czbr-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-1x066czbr" 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-yq51pc9y1" id="mantine-yq51pc9y1-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-co8jwf1p0" id="mantine-co8jwf1p0-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-co8jwf1p0" 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-pg6863kxr" id="mantine-pg6863kxr-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-pg6863kxr" 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-jqdngibdz" id="mantine-jqdngibdz-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-jqdngibdz" 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-uwal1rqph" id="mantine-uwal1rqph-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-5wwqd3w2k" id="mantine-5wwqd3w2k-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-5wwqd3w2k" 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-yusch0gng" id="mantine-yusch0gng-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-yusch0gng" 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-0avrhclzl" id="mantine-0avrhclzl-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-0avrhclzl" 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-2lsj2vops" id="mantine-2lsj2vops-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