Skip to content

Feat update

Feat update #25

Triggered via pull request December 9, 2024 09:15
@guipeeix7guipeeix7
synchronize #7
feat_update
Status Failure
Total duration 1m 16s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 5 warnings
format
Process completed with exit code 1.
Unhandled error: src/Pages/Protected/Users/userUpdate/index.test.jsx#L151
AssertionError: expected "spy" to be called 1 times, but got 0 times Ignored nodes: comments, script, style <html> <head /> <body> <div> <section class="container" > <div class="forms-container-user" > <div class="double-buttons-user" > <button class="MuiButtonBase-root MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-sizeMedium MuiButton-containedSizeMedium MuiButton-colorPrimary MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-sizeMedium MuiButton-containedSizeMedium MuiButton-colorPrimary css-1s5txyf-MuiButtonBase-root-MuiButton-root" tabindex="0" type="button" > Editar usuário <span class="MuiTouchRipple-root css-8je8zh-MuiTouchRipple-root" /> </button> <button class="MuiButtonBase-root MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-sizeMedium MuiButton-containedSizeMedium MuiButton-colorPrimary MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-sizeMedium MuiButton-containedSizeMedium MuiButton-colorPrimary css-1s5txyf-MuiButtonBase-root-MuiButton-root" tabindex="0" type="button" > Editar senha <span class="MuiTouchRipple-root css-8je8zh-MuiTouchRipple-root" /> </button> </div> <div> <h3> Dados Pessoais </h3> <div class="double-box-user" > <div class="MuiFormControl-root MuiTextField-root css-ami1jz-MuiFormControl-root-MuiTextField-root" > <label class="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-sizeMedium MuiInputLabel-filled MuiFormLabel-colorPrimary MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-sizeMedium MuiInputLabel-filled css-e4w4as-MuiFormLabel-root-MuiInputLabel-root" data-shrink="false" for="field-nome-completo" id="field-nome-completo-label" > Nome Completo </label> <div class="MuiInputBase-root MuiFilledInput-root MuiFilledInput-underline MuiInputBase-colorPrimary MuiInputBase-formControl css-batk84-MuiInputBase-root-MuiFilledInput-root" > <input aria-invalid="false" class="MuiInputBase-input MuiFilledInput-input css-10botns-MuiInputBase-input-MuiFilledInput-input" id="field-nome-completo" type="text" value="" /> </div> </div> <div class="MuiFormControl-root MuiTextField-root css-ami1jz-MuiFormControl-root-MuiTextField-root" > <label class="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-sizeMedium MuiInputLabel-filled MuiFormLabel-colorPrimary MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-sizeMedium MuiInputLabel-filled css-e4w4as-MuiFormLabel-root-MuiInputLabel-root" data-shrink="false" for="field-email" id="field-email-label" > Email </label> <div class="MuiInputBase-root MuiFilledInput-root MuiFilledInput-underline MuiInputBase-colorPrimary MuiInputBase-formControl css-batk84-MuiInputBase-root-MuiFilledInput-root" > <input aria-invalid="false" class="MuiInputBase-input MuiFilledInput-input css-10botns-MuiInputBa
src/Pages/Protected/Users/userUpdate/index.test.jsx > UserUpdatePage > renders correctly: src/Pages/Protected/Users/userUpdate/index.test.jsx#L69
TestingLibraryElementError: Unable to find an element with the text: Visualização de usuário. 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> <section class="container" > <div class="forms-container-user" > <div class="double-buttons-user" > <button class="MuiButtonBase-root MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-sizeMedium MuiButton-containedSizeMedium MuiButton-colorPrimary MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-sizeMedium MuiButton-containedSizeMedium MuiButton-colorPrimary css-1s5txyf-MuiButtonBase-root-MuiButton-root" tabindex="0" type="button" > Editar usuário <span class="MuiTouchRipple-root css-8je8zh-MuiTouchRipple-root" /> </button> <button class="MuiButtonBase-root MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-sizeMedium MuiButton-containedSizeMedium MuiButton-colorPrimary MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-sizeMedium MuiButton-containedSizeMedium MuiButton-colorPrimary css-1s5txyf-MuiButtonBase-root-MuiButton-root" tabindex="0" type="button" > Editar senha <span class="MuiTouchRipple-root css-8je8zh-MuiTouchRipple-root" /> </button> </div> <div> <h3> Dados Pessoais </h3> <div class="double-box-user" > <div class="MuiFormControl-root MuiTextField-root css-ami1jz-MuiFormControl-root-MuiTextField-root" > <label class="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-sizeMedium MuiInputLabel-filled MuiFormLabel-colorPrimary MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-sizeMedium MuiInputLabel-filled css-e4w4as-MuiFormLabel-root-MuiInputLabel-root" data-shrink="false" for="field-nome-completo" id="field-nome-completo-label" > Nome Completo </label> <div class="MuiInputBase-root MuiFilledInput-root MuiFilledInput-underline MuiInputBase-colorPrimary MuiInputBase-formControl css-batk84-MuiInputBase-root-MuiFilledInput-root" > <input aria-invalid="false" class="MuiInputBase-input MuiFilledInput-input css-10botns-MuiInputBase-input-MuiFilledInput-input" id="field-nome-completo" type="text" value="" /> </div> </div> <div class="MuiFormControl-root MuiTextField-root css-ami1jz-MuiFormControl-root-MuiTextField-root" > <label class="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-sizeMedium MuiInputLabel-filled MuiFormLabel-colorPrimary MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-sizeMedium MuiInputLabel-filled css-e4w4as-MuiFormLabel-root-MuiInputLabel-root" data-shrink="false" for="field-email" id="field-email-label" > Email </label> <div class="MuiInputBase-root MuiFilledInput-root MuiFilledInput-underline MuiInputBase-colorPrimary MuiInputBase-formControl css-batk84-MuiInputBase-root-MuiFilledInput-root" > <input aria-invalid="false" class="MuiInputBase-input MuiFilledInput-input css-10bo
src/Pages/Protected/Users/userUpdate/index.test.jsx > UserUpdatePage > navigates to the contributions page when the button is clicked: src/Pages/Protected/Users/userUpdate/index.test.jsx#L185
Error: expect(element).toHaveValue(John Doe) Expected the element to have value: John Doe Received: Ignored nodes: comments, script, style <html> <head /> <body> <div> <section class="container" > <div class="forms-container-user" > <div class="double-buttons-user" > <button class="MuiButtonBase-root MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-sizeMedium MuiButton-containedSizeMedium MuiButton-colorPrimary MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-sizeMedium MuiButton-containedSizeMedium MuiButton-colorPrimary css-1s5txyf-MuiButtonBase-root-MuiButton-root" tabindex="0" type="button" > Editar usuário <span class="MuiTouchRipple-root css-8je8zh-MuiTouchRipple-root" /> </button> <button class="MuiButtonBase-root MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-sizeMedium MuiButton-containedSizeMedium MuiButton-colorPrimary MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-sizeMedium MuiButton-containedSizeMedium MuiButton-colorPrimary css-1s5txyf-MuiButtonBase-root-MuiButton-root" tabindex="0" type="button" > Editar senha <span class="MuiTouchRipple-root css-8je8zh-MuiTouchRipple-root" /> </button> </div> <div> <h3> Dados Pessoais </h3> <div class="double-box-user" > <div class="MuiFormControl-root MuiTextField-root css-ami1jz-MuiFormControl-root-MuiTextField-root" > <label class="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-sizeMedium MuiInputLabel-filled MuiFormLabel-colorPrimary MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-sizeMedium MuiInputLabel-filled css-e4w4as-MuiFormLabel-root-MuiInputLabel-root" data-shrink="false" for="field-nome-completo" id="field-nome-completo-label" > Nome Completo </label> <div class="MuiInputBase-root MuiFilledInput-root MuiFilledInput-underline MuiInputBase-colorPrimary MuiInputBase-formControl css-batk84-MuiInputBase-root-MuiFilledInput-root" > <input aria-invalid="false" class="MuiInputBase-input MuiFilledInput-input css-10botns-MuiInputBase-input-MuiFilledInput-input" id="field-nome-completo" type="text" value="" /> </div> </div> <div class="MuiFormControl-root MuiTextField-root css-ami1jz-MuiFormControl-root-MuiTextField-root" > <label class="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-sizeMedium MuiInputLabel-filled MuiFormLabel-colorPrimary MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-sizeMedium MuiInputLabel-filled css-e4w4as-MuiFormLabel-root-MuiInputLabel-root" data-shrink="false" for="field-email" id="field-email-label" > Email </label> <div class="MuiInputBase-root MuiFilledInput-root MuiFilledInput-underline MuiInputBase-colorPrimary MuiInputBase-formControl css-batk84-MuiInputBase-root-MuiFilledInput-root" > <input aria-invalid="false" class="MuiInputBase-input MuiFille
test
Process completed with exit code 1.
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
lint: src/Pages/Protected/FinancialMovements/FinancialList/index.jsx#L47
React Hook useEffect has a missing dependency: 'storagedUser.token'. Either include it or remove the dependency array
lint: src/Pages/Protected/MembershipRequests/index.jsx#L45
React Hook useEffect has a missing dependency: 'members'. Either include it or remove the dependency array
format
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636