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:
AmbrishRamachandiran
2023-07-27 16:08:16 +05:30
parent 3ed5a3fdb9
commit e8fa09e881
@@ -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();
});
});