| Step Description | Expected result |
|---|---|
| Request with method GET and Basic Auth AAA_WSKEY_AAA the endpoint [http://domain.tld/api/orders?schema=blank | http://domain.tld/api/countries?schema=blank] |
| Request with method GET and Basic Auth AAA_WSKEY_AAA the endpoint [http://domain.tld/api/orders?schema=synopsis | http://domain.tld/api/countries?schema=synopsis] |
| Request with method GET and Basic Auth AAA_WSKEY_AAA the endpoint [http://domain.tld/api/orders | http://domain.tld/api/countries] |
| Request with method POST and Basic Auth AAA_WSKEY_AAA the endpoint [http://domain.tld/api/ | http://domain.tld/api/countries]orders with body (next cell) |
| Request with method GET and Basic Auth AAA_WSKEY_AAA the endpoint [http://domain.tld/api/order/ | http://domain.tld/api/countries/]{fetchedId} |
| In BO, Go to Orders > Orders | Orders Page is displayed correctly. |
| Filter the column “ID” with value {fetchedId} and click on the button Search | The number of filtered rows is equal to 1. |
| Click on Edit button at the end of the row | View Order Page is displayed correctly |
| Check the consistency of each following field on the form and the XML Value: * |
|
| Reset filters | Filters are reset |
| Request with method PUT and Basic Auth AAA_WSKEY_AAA the endpoint [http://domain.tld/api/ | http://domain.tld/api/countries]orders/{fetchedId} with body (next cell) |
| Request with method GET and Basic Auth AAA_WSKEY_AAA the endpoint [http://domain.tld/api/orders/ | http://domain.tld/api/countries/]{fetchedId} |
| Filter the column “ID” with value {fetchedId} and click on the button Search | The number of filtered rows is equal to 1 |
| Click on View button at the end of the row | View Order Page is displayed correctly |
| Check the consistency of each following field on the form and the XML Value: * |
Alls values are consistent |
| Reset filters | Filters are reset |
| Request with method DELETE and Basic Auth AAA_WSKEY_AAA the endpoint [http://domain.tld/api/ | http://domain.tld/api/countries]orders/{fetchedId} |
| Request with method GET and Basic Auth AAA_WSKEY_AAA the endpoint [http://domain.tld/api/orders/ | http://domain.tld/api/countries/]{fetchedId} |
| Filter the column “ID” with value {fetchedId} and click on the button Search | The number of filtered rows is equal to 0. |
| Reset filters | Filters are reset |
| In BO, Go to Advanced Parameters > Webservice | Webservice Page is displayed correctly |
| Filter the field “Key” with value XXXX and click on the button Search | The number of filtered rows is equal to 1 |
| On the first row, click on the button “Three points” | The dropdown is displayed |
| Click on the Delete Button in the dropdown | A modal appeared |
| Click on the Delete Button in the modal | The message “Successful deletion” is displayed The number of filtered rows is equal to 0. |
| Reset filters | No record founds is displayed |
| In BO, Go to Advanced Parameters > Webservice | Webservice Page is displayed correctly |
| Set unchecked the checkbox “Enable PrestaShop’s webservice” | The checkbox “Enable PrestaShop’s webservice” is not checked |
| Click on Save button | The message “Update successful” is displayed |