-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(fd2): adds entry point for soil disturbance events #318
feat(fd2): adds entry point for soil disturbance events #318
Conversation
…s some e2e tests for soil disturbance entry point (e2e tests incompleat)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have only looked at the getPlantAssets
function so far. There are a few suggestions in the code.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Getting really close. See the embedded comments for a few issues.
modules/farm_fd2/src/entrypoints/soil_disturbance/soil_disturbance.equipment.e2e.cy.js
Outdated
Show resolved
Hide resolved
Some prior tests change the database in ways that can make this test fail. So we just need to ensure that the database is reset before the
|
When manually testing the Soil Disturbance endpoint I noticed a few things:
One other small improvement that I think we should make is:
The tests should be also be augmented to check for these things. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Everything looks good. Just one request for a small test change since farmosUtil.js
was also modified here.
🎉 This PR is included in version 1.4.0-development.6 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Pull Request Description
Adds:
Closes #249
Licensing Certification
FarmData2 is a Free Cultural Work and all accepted contributions are licensed as described in the LICENSE.md file. This requires that the contributor holds the rights to do so. By submitting this pull request I certify that I satisfy the terms of the Developer Certificate of Origin for its contents.
Co-authored-by: Shahir Ahmed [email protected]