| Step Description | Expected result |
|---|---|
| Go to BO > Modules > Module manager and search ps_apiresources | The module page list should be displayed and PrestaShop API Resources module should be displayed on the list |
| Click on the button at the right of the module > Choose on the list “Uninstall” option | A modal is open with: * Title: “Uninstall module?" * Description: “You are about to uninstall PrestaShop API Resources module. This will definitely disable the module and delete all its files” * Optional checkbox: “Optional: delete module folder after uninstall." * Text: “This action cannot be undone." * 2 buttons: “Cancel” & “Yes, uninstall it” |
| Click on “Cancel” button or the cross on top right or outside | * The modal is removed * The module list page is displayed |
| Click on the button at the right of the module > Choose on the list “Uninstall” | The modal is open again with the same informations (Title / Description / Optional checkbox / Text / 2 buttons) |
| Click on “Yes, uninstall it” button to confirm the uninstallation of the module | * After loading, a green message “Uninstall action on module ps_emailalerts succeeded.” is displayed * The module is uninstalled, the button at the right of the module is displaying “Install” * In folders of you shop: yourshop/modules/, the “ps_emailalerts” folder should be still on it |
| 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 Scopes relative to the Core are found No scopes relative to the module are found |
| Go back to BO > Module list page with ps_apiresources module displayed > Click on “Install” button at the right of the module | * After loading, a green message “Install action on module ps_apiresources succeeded.” is displayed * The module is installed, the button at the right of the module is displaying “Configure” * In folders of you shop: yourshop/modules/, the “ps_apiresources” folder should be still on it |
| 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 Scopes relative to the Core are found Scopes relative to the module are found |