I estimate this task will take 10 mins.
I tested this feature using the following 4 scenarios:
First:
Started localhost
Located Add button, added machine info, added image URL into the Model Photo text field and clicked Save button.
Expected -the machine is added to the table and the machine image will show in the details.
Actual - the machine is added to the table and the machine image will show in the details.
Second:
Located machine without image, clicked the Edit button, added image URL into the Model Photo text field and clicked Edit button.
Expected -the machine is added to the table and the machine image will show in the details.
Actual - the machine is added to the table and the machine image will show in the details.
Third :
Located Add button, added machine info, did not anything in the Model Photo field and clicked Save button.
Expected -When no URL added to the model photo field - the API still works and no error is thrown
Actual - No error thrown, the machine was verified added
Third :
Located Edit button, added machine info, did not anything in the Model Photo field and clicked Save button.
Expected -When no URL added to the model photo field - the API still works and no error is thrown
Actual - No error thrown, the machine was verified added
I estimate this task will take 10 mins. I tested this feature using the following 4 scenarios: First:
Second:
Third :
Third :