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
{{ message }}
This repository was archived by the owner on Jan 10, 2026. It is now read-only.
When running the cypress component tests lots of eslint errors are reported. These appear to be a configuration issue rather than an actual issue with the code as they mostly report undefined variables or functions in cypress (e.g. 'cy' is not defined). But the tests themselves run perfectly fine.
Steps to Reproduce
cd to farmdata2_modules
run ./test_runner.bash ct --spec **/Error*.spec.comp.js
observe the errors at the top of the ouput.
Also note that the test itself passes. This suggests maybe that eslint is running in a different context than the cypress tests themselves. It is worth further note that if the tests are run in the Cypress GUI there is no reporting of eslint errors at all.
Simply disabling the running of eslint before the component tests would be an acceptable solution.
When running the cypress component tests lots of eslint errors are reported. These appear to be a configuration issue rather than an actual issue with the code as they mostly report undefined variables or functions in cypress (e.g. 'cy' is not defined). But the tests themselves run perfectly fine.
Steps to Reproduce
cdto farmdata2_modules./test_runner.bash ct --spec **/Error*.spec.comp.jsAlso note that the test itself passes. This suggests maybe that eslint is running in a different context than the cypress tests themselves. It is worth further note that if the tests are run in the Cypress GUI there is no reporting of eslint errors at all.
Simply disabling the running of eslint before the component tests would be an acceptable solution.