Step Description | Expected result |
---|---|
Request with method GET and Basic Auth AAA_WSKEY_AAA the endpoint [http://domain.tld/api/products?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/products?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/products | 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]products with body (next cell) |
Request with method GET and Basic Auth AAA_WSKEY_AAA the endpoint [http://domain.tld/api/products/ | http://domain.tld/api/countries/]{fetchedId} |
In BO, Go to Catalog > Products | Products Page is displayed correctly |
Filter the column “ID” with value {fetchedId} (for Min & Max) 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 | Edit Product Page is displayed correctly. |
Check the consistency of each following field on the form and the XML Value: * active * product_type * name (EN) * name (FR) * description_short (EN) * description_short (FR) * description (EN) * description (FR) * id_category_default * id_manufacturer * reference * mpn * upc * ean13 * isbn * show_condition * condition * minimal_quantity * low_stock_threshold_enabled * low_stock_threshold * available_now (EN) * available_now (FR) * available_later (EN) * available_later (FR) * available_date * width * height * depth * weight * additional_delivery_times * delivery_in_stock (EN) * delivery_in_stock (FR) * delivery_out_stock (EN) * delivery_out_stock (FR) * additional_shipping_cost * price * id_tax_rules_group * ecotax * wholesale_price * unit_price * unity * on_sale * meta_title (EN) * meta_title (FR) * meta_description (EN) * meta_description (FR) * link_rewrite (EN) * link_rewrite (FR) * redirect_type * id_type_redirected * visibility * available_for_order * show_price * online_only |
Alls values are consistent |
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]products/{fetchedId} with body (next cell) |
Request with method GET and Basic Auth AAA_WSKEY_AAA the endpoint [http://domain.tld/api/products/ | http://domain.tld/api/countries/]{fetchedId} |
Filter the column “ID” with value {fetchedId} (for Min & Max) 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 | Edit Page Page is displayed correctly. |
Check the consistency of each following field on the form and the XML Value: * active * product_type * name (EN) * name (FR) * description_short (EN) * description_short (FR) * description (EN) * description (FR) * id_category_default * id_manufacturer * reference * mpn * upc * ean13 * isbn * show_condition * condition * minimal_quantity * low_stock_threshold_enabled * low_stock_threshold * available_now (EN) * available_now (FR) * available_later (EN) * available_later (FR) * available_date * width * height * depth * weight * additional_delivery_times * delivery_in_stock (EN) * delivery_in_stock (FR) * delivery_out_stock (EN) * delivery_out_stock (FR) * additional_shipping_cost * price * id_tax_rules_group * ecotax * wholesale_price * unit_price * unity * on_sale * meta_title (EN) * meta_title (FR) * meta_description (EN) * meta_description (FR) * link_rewrite (EN) * link_rewrite (FR) * redirect_type * id_type_redirected * visibility * available_for_order * show_price * online_only |
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]products/{fetchedId} |
Request with method GET and Basic Auth AAA_WSKEY_AAA the endpoint [http://domain.tld/api/products/ | 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 |