Step Description | Expected result |
---|---|
go to ‘Advanced parameters > Team’ page | title contains ‘Employees’ |
reset filter | Total of employees > 0 |
go to add new employee | title contains ‘Add new’ |
create employee Criteria : firstName: name.firstName from faker lastName: name.lastName from faker email: internet.email(this.firstName, this.lastName, ‘prestashop.com’) from faker password: prestashop_demo defaultPage: Orders language: radom element from array [’english, french’] active: false permissionProfile: ‘Logistician’ |
Successful message is displayed Number of employees = Total of employees + 1 |
filter by ‘id_employee’ | Number of employees < Total of employees + 1 all rows column ‘column’ id_employee ‘3’ |
reset filter | Number of employees = Total of employees + 1 |
filter by ‘firstname’ | Number of employees < Total of employees + 1 all rows column ‘firstname’ contains ‘value’ of created employee |
reset filter | Number of employees = Total of employees + 1 |
filter by ’lastname’ | Number of employees < Total of employees + 1 all rows column ’lastname’ contains value of created employee |
reset filter | Number of employees = Total of employees + 1 |
filter by ’email’ | Number of employees < Total of employees + 1 all rows column ’email’ contains value of created employee |
reset filter | Number of employees = Total of employees + 1 |
filter by ‘active’ | Number of employees < Total of employees + 1 all rows column ‘active’ contains ‘clear’ |
reset filter | Number of employees = Total of employees + 1 |
filter by ’email’ | Number of employees < Total of employees + 1 all rows column ’email’ contains value of created employee |
disable first employee in table | first row column ‘active’ contains ‘clear’ |
enable first employee in table | first row column ‘active’ contains ‘check’ |
reset filter | Number of employees = Total of employees + 1 |
filter by ’email’ | Number of employees < Total of employees + 1 all rows column ’email’ contains value of created employee |
delete employee | Successful message is displayed |
reset filter | Number of employees = Total of employees |