ps_apiresources - Disable/Enable module

Details

Steps

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 “Disable” option A modal is open with:
* Title: “Disable module?"
* Description: “You are about to disable PrestaShop API Resources module.
Your current settings will be saved, but the module will no longer be active."
* 2 buttons: “Cancel” & “Yes, disable 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 “Disable” option The modal is open again with the same informations (Title / Description / 2 buttons)
Click on “Yes, disable it” button to confirm the disable of the module * After loading, a green message “Disable action on module ps_facetedsearch succeeded.” is displayed
* The module is disabled, the button at the right of the module is displaying “Enable”
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

All scopes relative to the Core are displayed and enabled

All scopes relative to the module are displayed and disabled
Go back to BO > Module list page with ps_apiresources module displayed > Click on “Enable” button at the right of the module * After loading, a green message “Enable action on module ps_apiresources succeeded.” is displayed
* The module is enabled, the button at the right of the module is displaying “Configure”
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

All scopes relative to the Core are displayed and enabled

All scopes relative to the module are displayed and enabled