Step Description | Expected result |
---|---|
In BO, Go to Advanced Parameters > Authorization Server | Authorization Server Page is displayed correctly. No records found in the table |
Click on the button “Add new API access” | New API access Page is displayed correctly |
* Fill the form with following data * Click on “Generate client secret & Save” button |
* The message “The API access and Client secret has been generated sucessfully” is displayed * The message “Client secret: " is displayed |
In BO, Go to Catalog > Attributes & Features page | Catalog > Attributes & Features Page is displayed correctly. Default records found in the table |
Reset all filters | Filters are reset Total attributes = Number of Attributes |
Click on “Add new Attribute” button | The Add new attribute page is displayed |
Set the fields > Click on “Save” | The attribute is well created and a green alert “Successful creation” is displayed |
Filter by name of the created attribute & Fetch its ID as {attributeGroupId} | 1 record found |
Click on the Edit button on the first row | The Edit page is displayed |
Request with method PATCH the endpoint “https://[url of your shop]/admin-api/attributes/group/{attributeGroupId}” for updating the field “type” where {attributeGroupId} is the previous ID get | The HTTP code is 200. The return data has multiples keys. The key type has the updated value. |
Reload the Edit page | Check that the input value for field “type” is updated |
Request with method PATCH the endpoint “https://[url of your shop]/admin-api/attributes/group/{attributeGroupId}” for updating the field “names” where {attributeGroupId} is the previous ID get | The HTTP code is 200. The return data has multiples keys. The key type has the updated value. |
Reload the Edit page | Check that the input value for field “names” is updated in French and English |
Request with method PATCH the endpoint “https://[url of your shop]/admin-api/attributes/group/{attributeGroupId}” for updating the field “publicNames” where {attributeGroupId} is the previous ID get | The HTTP code is 200. The return data has multiples keys. The key type has the updated value. |
Reload the Edit page | Check that the input value for field “publicNames” is updated in French and English |
In BO, Go to Catalog > Attributes & Features page | Catalog > Attributes & Features Page is displayed correctly. One record is found in the table (and the filter is enabled) |
Delete the selected Attribute Group > Confirm the deletion | The alert “Successful deletion.” is displayed |
Filter by groupe name with the name of the created group | 0 record found |
Reset all filters | Filters are reset Total attributes = Number of Attributes |
In BO, Go to Advanced Parameters > Authorization Server | Authorization Server Page is displayed correctly. 1 record found in the table |
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 Confirm Button in the modal | The message “Successful deletion” is displayed No records found in the table |