mirror of
https://github.com/strapi/strapi.git
synced 2025-09-25 08:19:07 +00:00
chore: feedback tests typos
This commit is contained in:
parent
47a569112d
commit
03d6b3b8cd
@ -110,7 +110,7 @@ describe('TableList', () => {
|
||||
expect(onSelectAllSpy).toHaveBeenCalledTimes(1);
|
||||
});
|
||||
|
||||
it('should call disable bulk select when users do not have update persmission', () => {
|
||||
it('should disable bulk select when users do not have update persmission', () => {
|
||||
const { getByRole } = setup({ canUpdate: false });
|
||||
|
||||
expect(getByRole('checkbox', { name: 'Select all folders & assets' })).toBeDisabled();
|
||||
|
@ -104,7 +104,7 @@ describe('TableList | TableRows', () => {
|
||||
expect(getByRole('checkbox', { name: 'Select michka asset', hidden: true })).toBeChecked();
|
||||
});
|
||||
|
||||
it('should disabled select asset checkbox when users do not have the permission to update', () => {
|
||||
it('should disable select asset checkbox when users do not have the permission to update', () => {
|
||||
const { getByRole } = setup({ canUpdate: false });
|
||||
|
||||
expect(getByRole('checkbox', { name: 'Select michka asset', hidden: true })).toBeDisabled();
|
||||
@ -161,7 +161,7 @@ describe('TableList | TableRows', () => {
|
||||
expect(getByRole('checkbox', { name: 'Select folder 1 folder', hidden: true })).toBeChecked();
|
||||
});
|
||||
|
||||
it('should disabled select folder checkbox when users do not have the permission to update', () => {
|
||||
it('should disable select folder checkbox when users do not have the permission to update', () => {
|
||||
const { getByRole } = setup({ rows: [FOLDER_FIXTURE], canUpdate: false });
|
||||
|
||||
expect(
|
||||
|
Loading…
x
Reference in New Issue
Block a user