Open braughtg opened 9 months ago
My team (Michael Freda, Long Do, Long Bui) want to work in this issue.
I want to ask about the test of checking if the Tray or Direct is enabled. I will be using ("exist") and .should("not.be.disabled") or ("be.enabled") to check this
The tests created for this issue will test the default contents of the "Seeding Type" (Tray/Direct) section of the Seeding Input Form in the FieldKit.
These tests must check that the Seeding Type (Tray/Direct) section of the Seeding Input Form:
Other information:
farmdata2/farmdata2_modules/fd2_field_kit/seedingInput
directory.seedingInput.html
file contains the source code for the page.seedingInput.type.defaults.spec.js
Some additional notes:
.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.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.Original issue by braughtg Tuesday Mar 28, 2023 at 19:38 GMT