Open braughtg opened 9 months ago
Team Survivors will work on this issue (Pranav, Tayyaba, Youssif)
Hi! I wanted to ask while doing the cypress test the checking if the date falls in the date range. Should I just check the results and ask Cypress if it matches the date that is in the date range or is there any way to check if a random date is in the range in Cypress? I searched it up on web about it but I got a complex answer of elongating cy.get and using expect and .to.be.within to check the date in range.
The tests should generate seeding reports as appropriate to check that:
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.Original issue by braughtg Tuesday Apr 04, 2023 at 16:47 GMT