mirror of
https://github.com/n8n-io/n8n.git
synced 2025-11-20 17:46:34 +00:00
fix assertion
This commit is contained in:
parent
90a2d9fc2a
commit
d839a27c12
@ -183,9 +183,8 @@ describe('SettingsUsersTable', () => {
|
||||
canEditRole: false,
|
||||
},
|
||||
});
|
||||
screen.getAllByTestId('user-role').forEach((roleCell) => {
|
||||
expect(roleCell).not.toBeVisible();
|
||||
});
|
||||
|
||||
expect(screen.queryByTestId('user-role')).not.toBeInTheDocument();
|
||||
});
|
||||
|
||||
it('should emit "update:role" when a new role is selected', () => {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user