-
Notifications
You must be signed in to change notification settings - Fork 35
Seeding Report: Tests for Seeding Log Edit #217
base: main
Are you sure you want to change the base?
Conversation
Cypress Error when interacting with user drop down element:Description: Observed:
When trying to interact with the drop down (.select(0)), cypress runs into an error because "...the center of this element is hidden from view". Expected:
To reproduce the error:
|
Two comments here:
|
Thanks for the suggestions.
|
Edit button not showing up on the Seeding Report PageDescription When trying to run some of the test we wrote, Cypress couldn't find the Edit button and generated an error. I even logged in from FireFox and when I inserted some date range and clicked generate report button, the edit button was not visible on the table that was generated. I tried to reload the page and start the FarmData2 again and still couldn't see the Edit button. The Funny thing is that the last time I was working on it on the same test, there was no problem but this time I only pulled the branch from origin to get new updates that were added by my teammates and I faced this problem. I am stuck at this because I can't move forward unless I resolve this issue because the whole point of this test relies on the edit button. |
This is a known issue with FarmData2 and is reported in DickinsonCollege#592 with some additional information there. As described in that issue, there is code in the A more complete approach would be find the code in the |
The work here looks good. I am going to delay merging this until the issue with the screen width (DickinsonCollege#592 ) is properly resolved. |
Pull Request Description
Adds cypress test file "seedingReport.log.edit.spec.js" containing tests for the seeding report edit functionality.
Tests the following:
closes #204
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.