| 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 |
| Return to BO > Advanced Parameters > Authorization Server and get the ID of the first row | Authorization Server Page is displayed correctly. 1 record found in the table |
| In BO, Go to Shop Parameters > Search | Search Page is displayed correctly. |
| Click on the Aliases page | Aliases Page is displayed correctly. One record is displayed (the default). |
| Click on the button “Add new alias” | New API alias Page is displayed correctly |
| * Fill the form with fake data * Click on “Save” button |
The message “Successful creation.” is displayed There is 2 records in the table. |
| Request with method DELETE the endpoint “https://[url of your shop]/admin-api/search-alias/{search}” with {search} as search term of the created search alias | The HTTP code is 204. |
| Reload the page | Aliases Page is displayed correctly. One record is displayed (the default). |
| 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 |