Limit the use of the same shortcut name when adding a shortcut- added test cases
Signed-off-by: AmbrishRamachandiran <ambrish.r@infosys.com>
This commit is contained in:
@@ -40,6 +40,9 @@ describe('ShortcutForm', () => {
|
||||
expect(
|
||||
screen.getByText('Must be at least 2 characters'),
|
||||
).toBeInTheDocument();
|
||||
expect(
|
||||
screen.getByText('This title name is already exist'),
|
||||
).toBeInTheDocument();
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user