North-Seattle-College / ad440-winter2020-tuesday-repo

Repository for AD 440 Winter 2020 Tuesday Class
Apache License 2.0
2 stars 3 forks source link

Review: UI can handle images using URLs and machines without images #270

Closed jerwest closed 4 years ago

isherep commented 4 years ago

I estimate this task will take 10 mins. I tested this feature using the following 4 scenarios: First:

  1. Started localhost
  2. Located Add button, added machine info, added image URL into the Model Photo text field and clicked Save button.
  3. 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:

  1. Located machine without image, clicked the Edit button, added image URL into the Model Photo text field and clicked Edit button.
  2. 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 :

  1. Located Add button, added machine info, did not anything in the Model Photo field and clicked Save button.
  2. 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 :

  1. Located Edit button, added machine info, did not anything in the Model Photo field and clicked Save button.
  2. 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