You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We're experiencing a consistent test failure in our CI pipeline for the TaxYear component. Both #1977 and #1979 are hitting it, despite them both being simple and unrelated. The test that's failing is attempting to simulate selecting a year from the dropdown, but it's unable to find the element by its title.
We're experiencing a consistent test failure in our CI pipeline for the TaxYear component. Both #1977 and #1979 are hitting it, despite them both being simple and unrelated. The test that's failing is attempting to simulate selecting a year from the dropdown, but it's unable to find the element by its title.
Failing Test:
File:
src/__tests__/pages/household/input/TaxYear.test.js
The specific line causing the error is:
Error Message:
Additional Context:
Environment:
Steps to Reproduce:
Expected Behavior:
The test should be able to find and click on the year option in the dropdown, successfully setting the state variable for the year.
Actual Behavior:
The test fails to find the element with the specified title, causing the test to fail.
Attempted Solutions:
We've tried the following without success:
Next Steps:
We're considering the following to diagnose and resolve the issue:
getByText
instead ofgetByTitle
)Any insights or suggestions on how to resolve this issue would be greatly appreciated.
The text was updated successfully, but these errors were encountered: