Once a device is registered and parameters have been created, the user should be able to create some tests. Tests are an automated way to tell the device to gather data from specific sensors at a regular interval. The test model is defined here. In addition to the fields in that model, the form should prompt the user to associate existing parameters with the new test. A test must be associated with one or more parameters. However, currently, the DB does not enforce having at least 1 parameter for a test.
This task has two parts:
Implementing the UI
Connecting the UI to the backend API
The backend API will be used to retrieve existing parameters and to save the created test. Be mindful of any validation errors the API returns and handle them accordingly in a user-friendly way.
Once a device is registered and parameters have been created, the user should be able to create some tests. Tests are an automated way to tell the device to gather data from specific sensors at a regular interval. The test model is defined here. In addition to the fields in that model, the form should prompt the user to associate existing parameters with the new test. A test must be associated with one or more parameters. However, currently, the DB does not enforce having at least 1 parameter for a test.
This task has two parts:
The backend API will be used to retrieve existing parameters and to save the created test. Be mindful of any validation errors the API returns and handle them accordingly in a user-friendly way.