Open braughtg opened 5 months ago
It is not clear by what "the sample data" refers too. Is this the data given in the Tree Seeding Summary Table? Could you please elaborate on where we can find this in FarmData. - Team Anaf
It is not clear by what "the sample data" refers too. Is this the data given in the Tree Seeding Summary Table? Could you please elaborate on where we can find this in FarmData. - Team Anaf
The sample data is minimum of 3 tray seeding logs that appear in the main table in the report. The values that appear in the summary table are computed from these logs. You will need to manually compute the expected summary values from the table. Then use these manually calculated values as the expected values in your tests.
Got it, so we are just comparing the expected values that we compute by hand for the four quantities with the actual summary values that are generated which is the sample data. Thanks for clarifying that for us. -Team Anaf
When a Seeding Report that contains tray seedings is generated, a Tray Seeding Summary table appears below the table. This summary contains data that is computed from the data in the table.
This test must check that the values reported for the following quantities agree with the data in the table:
Notes:
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.