Open braughtg opened 1 year ago
Charlie, Trang, and I will work on this issue
I'm having trouble finding the source for the dbtest sub-tab. I don't see it under farmdata2/farmdata2_modules/fd2_example. Am I looking in the wrong place?
What is the difference between checking the database for the new log and using the Seeding Report sub-tab on the BarnKit tab to check for the log? If the new log shows up on the Seeding Report tab, doesn't that automatically mean that it is in the database since the Seeding Report uses api calls?
The Seeding Input form on the FieldKit tab is used to create new seeding logs in the database.
When the Seeding Input form is completed and the “Submit” button is clicked, the user is presented with “Confirm” and “Cancel” buttons.
This test must confirm that when the “Submit” button is clicked that a new seeding log in the database:
Notes:
setDB sample
in a Terminal in the development environment.Resources:
farmdat2/farmdata2_modules/fd2_example/dbtest
.Additional Information:
Some additional notes relevant to this issue:
.spec.js
file containing your test should be stored in an appropriate location and have a short but descriptive name. Use the locations and an naming from the "Good First issues" as examples..spec.js
file should include a comment at the top that describes what the file as a whole is testing.describe
should describe in a short phrase what the file is testing.beforeEach
method should callcy.waitForPage()
. This will ensure that the page is fully loaded (e.g. that all theMaps
used by the page are loaded) before performing any tests.it
for each of the things to be tested.it
s so that eachit
tests a cohesive set of things.it
should describe in a short phrase what theit
is testing..spec.js
files in thefarmdata2/farmdata2_modules/fd2_example/
sub-tabs (e.g.ui
,api
) may provide some helpful examples.docker/sampleDB/README.md
file.