BO - Advanced parameters - Team - Employees - Bulk Actions

Details

Steps

Step Description Expected result
Go to BO > Advanced Parameters >Team * The Employees page is well displayed
* The Bulk actions button is disabled
Case 1 : Bulk actions on default SuperAdmin (The user used for shop installation)

Go to Employees section > Select the checkbox next to ID
The Bulk actions button is enabled
Click on Bulk actions buttons >  Click on the dropdown menu options
* Enable selection
* Disable selection
* Delete selected
An error message is displayed : You cannot disable or delete your own account.
*Case 2 : Bulk actions on new added Employee : SuperAdmin Logistician
Click on Bulk actions button > click on Enable selection option This message is displayed : The status has been successfully updated.

Check the status of the selected employees in Active tab it should be ON

The Bulk actions button is disabled

All checked fields are unchecked
Click on Bulk actions button > click on Disable selection option This message is displayed : The status has been successfully updated.

Check the status of the selected employees in Active tab it should be OFF

The Bulk actions button is disabled

All checked fields are unchecked
Click on Bulk actions button > Click on Delete selected option A modal is displayed with message

!https://forge.prestashop.com/plugins/servlet/raven/attachment/1389/Employees-%E2%80%A2-Presta81x.png
Click on Bulk actions button > Click on Delete selected option > Click on Delete button This message is displayed : The selection has been successfully deleted.

The Bulk actions button is disabled

The  Employees list is refreshed and the deleted employee doesn’t appear in the list
Click on Cancel button from the modal Employees page is displayed

The checked employee still selected

The Bulk actions button still enabled