Skip to content

fix: tests

fix: tests #20946

Triggered via push December 16, 2024 01:44
Status Failure
Total duration 14m 13s
Artifacts 1

ci.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 23 warnings
src/templates/Field/YesNo/YesNoField.test.tsx > ValidationRequired > renders success when selected field is submitted: frontend/src/templates/Field/YesNo/YesNoField.test.tsx#L43
TestingLibraryElementError: Unable to find an element with the text: You have submitted: Yes. 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 class="chakra-ui-light" > <div> <form novalidate="" > <div class="chakra-form-control css-1kxonj9" role="group" > <div class="css-1l6dwoh" > <label class="chakra-form__label css-q18lbp" for="611b94dfbb9e300012f702a7" id="611b94dfbb9e300012f702a7-label" > <div class="css-9x4jlj" > Do you like apples </div> <p class="chakra-text css-2mq13p" id="611b94dfbb9e300012f702a7-helptext" > Not oranges, not any other fruits. I only want to know your apple preferences. </p> <div class="css-0" /> </label> </div> <div class="chakra-stack css-1hohgv6" role="radiogroup" > <label aria-label="undefined. Do you like apples Yes option, selected" class="css-192ptg6" data-testid="611b94dfbb9e300012f702a7-left" role="button" > <input aria-hidden="true" aria-required="true" id="radio-:r6:" name="611b94dfbb9e300012f702a7" required="" style="border: 0px; clip: rect(0px, 0px, 0px, 0px); height: 1px; width: 1px; margin: -1px; padding: 0px; overflow: hidden; white-space: nowrap; position: absolute;" type="radio" value="No" /> <div aria-hidden="true" class="css-ym4em9" data-checked="" data-hover="" > <svg class="chakra-icon css-w31rhm" fill="currentColor" focusable="false" height="1em" stroke="currentColor" stroke-width="0" viewBox="0 0 24 24" width="1em" xmlns="http://www.w3.org/2000/svg" > <path d="m16.192 6.344-4.243 4.242-4.242-4.242-1.414 1.414L10.535 12l-4.242 4.242 1.414 1.414 4.242-4.242 4.243 4.242 1.414-1.414L13.364 12l4.242-4.242z" /> </svg> Yes </div> </label> <label aria-label="undefined. Do you like apples No option, unselected" class="css-1qlz5ut" data-testid="611b94dfbb9e300012f702a7-right" role="button" > <input aria-hidden="true" aria-required="true" id="radio-:r7:" name="611b94dfbb9e300012f702a7" required="" style="border: 0px; clip: rect(0px, 0px, 0px, 0px); height: 1px; width: 1px; margin: -1px; padding: 0px; overflow: hidden; white-space: nowrap; position: absolute;" type="radio" value="Yes" /> <div aria-hidden="true" class="css-19qr0p" data-hover="" > <svg class="chakra-icon css-w31rhm" fill="currentColor" focusable="false" height="1em" stroke="currentColor" stroke-width="0" viewBox="0 0 24 24" width="1em" xmlns="http://www.w3.org/2000/svg" > <path d="m10 15.586-3.293-3.293-1.414 1.414L10 18.414l9.707-9.707-1.414-1.414z" /> </svg> No </div> </label> </div> </div> <button
src/templates/Field/YesNo/YesNoField.test.tsx > ValidationOptional > renders success when selected field is submitted: frontend/src/templates/Field/YesNo/YesNoField.test.tsx#L82
TestingLibraryElementError: Unable to find an element with the text: You have submitted: No. 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 class="chakra-ui-light" > <div> <form novalidate="" > <div class="chakra-form-control css-1kxonj9" role="group" > <div class="css-1l6dwoh" > <label class="chakra-form__label css-q18lbp" for="611b94dfbb9e300012f702a7" id="611b94dfbb9e300012f702a7-label" > <div class="css-9x4jlj" > Do you like apples <span class="chakra-text css-1e1ucwy" role="presentation" > (optional) </span> </div> <p class="chakra-text css-2mq13p" id="611b94dfbb9e300012f702a7-helptext" > Not oranges, not any other fruits. I only want to know your apple preferences. </p> </label> </div> <div class="chakra-stack css-1hohgv6" role="radiogroup" > <label aria-label="undefined. Do you like apples Yes option, unselected" class="css-1984e6a" data-testid="611b94dfbb9e300012f702a7-left" role="button" > <input aria-hidden="true" id="radio-:re:" name="611b94dfbb9e300012f702a7" style="border: 0px; clip: rect(0px, 0px, 0px, 0px); height: 1px; width: 1px; margin: -1px; padding: 0px; overflow: hidden; white-space: nowrap; position: absolute;" type="radio" value="No" /> <div aria-hidden="true" class="css-ym4em9" data-hover="" > <svg class="chakra-icon css-w31rhm" fill="currentColor" focusable="false" height="1em" stroke="currentColor" stroke-width="0" viewBox="0 0 24 24" width="1em" xmlns="http://www.w3.org/2000/svg" > <path d="m16.192 6.344-4.243 4.242-4.242-4.242-1.414 1.414L10.535 12l-4.242 4.242 1.414 1.414 4.242-4.242 4.243 4.242 1.414-1.414L13.364 12l4.242-4.242z" /> </svg> Yes </div> </label> <label aria-label="undefined. Do you like apples No option, selected" class="css-1g2xql9" data-testid="611b94dfbb9e300012f702a7-right" role="button" > <input aria-hidden="true" id="radio-:rf:" name="611b94dfbb9e300012f702a7" style="border: 0px; clip: rect(0px, 0px, 0px, 0px); height: 1px; width: 1px; margin: -1px; padding: 0px; overflow: hidden; white-space: nowrap; position: absolute;" type="radio" value="Yes" /> <div aria-hidden="true" class="css-19qr0p" data-checked="" data-hover="" > <svg class="chakra-icon css-w31rhm" fill="currentColor" focusable="false" height="1em" stroke="currentColor" stroke-width="0" viewBox="0 0 24 24" width="1em" xmlns="http://www.w3.org/2000/svg" > <path d="m10 15.586-3.293-3.293-1.414 1.414L10 18.414l9.707-9.707-1.414-1.414z" /> </svg> No </div> </label> </div> </div> <button class="chakra
frontend_test
Process completed with exit code 1.
install
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use the latest version of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-09-16-notice-of-upcoming-deprecations-and-changes-in-github-actions-services/
changes
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
install
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
build
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use the latest version of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-09-16-notice-of-upcoming-deprecations-and-changes-in-github-actions-services/
frontend_lint
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use the latest version of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-09-16-notice-of-upcoming-deprecations-and-changes-in-github-actions-services/
backend_lint
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use the latest version of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-09-16-notice-of-upcoming-deprecations-and-changes-in-github-actions-services/
frontend_test
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use the latest version of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-09-16-notice-of-upcoming-deprecations-and-changes-in-github-actions-services/
frontend_lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
frontend_lint: frontend/src/components/Calendar/CalendarBase/CalendarContext.tsx#L117
Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components
frontend_lint: frontend/src/components/Calendar/CalendarBase/CalendarStyleProvider.tsx#L6
Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components
frontend_lint: frontend/src/components/DatePicker/DatePickerContext.tsx#L65
Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components
frontend_lint: frontend/src/components/DateRangePicker/DateRangePickerContext.tsx#L73
Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components
frontend_lint: frontend/src/components/Dropdown/MultiSelectContext.tsx#L27
Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components
frontend_lint: frontend/src/components/Dropdown/SelectContext.tsx#L64
Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components
frontend_lint: frontend/src/components/Dropdown/components/SelectPopover/SelectPopoverContext.tsx#L17
Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components
frontend_lint: frontend/src/components/PhoneNumberInput/PhoneNumberInputContext.tsx#L99
Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components
frontend_lint: frontend/src/contexts/AuthContext.tsx#L30
Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components
frontend_lint: frontend/src/features/admin-form/common/components/CollaboratorModal/CollaboratorWizardContext.tsx#L3
Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components
frontend_test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
backend_lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
backend_test
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use the latest version of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-09-16-notice-of-upcoming-deprecations-and-changes-in-github-actions-services/
backend_test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636

Artifacts

Produced during runtime
Name Size
build-output
9.69 MB