mirror of
https://github.com/inventree/InvenTree.git
synced 2026-11-23 00:06:16 +00:00
Char fix (#10827)
* Remove debouncing from text field * Add debounce to data import field * Only apply for strings values * Fix unit test * More unit test tweaks
This commit is contained in:
1 parent
8cb808f613
commit
ba9b5438b4
4 files changed
+43
-25
No files matched your search
@@ -98,7 +98,7 @@ test('Forms - Supplier Validation', async ({ browser }) => {
|
||||
// Check for validation errors
|
||||
await page.getByText('Form Error').waitFor();
|
||||
await page.getByText('Errors exist for one or more').waitFor();
|
||||
await page.getByText('This field may not be blank.').waitFor();
|
||||
await page.getByText('This field is required').waitFor();
|
||||
await page.getByText('Enter a valid URL.').waitFor();
|
||||
|
||||
// Fill out another field, expect that the errors persist
|
||||
@@ -106,7 +106,7 @@ test('Forms - Supplier Validation', async ({ browser }) => {
|
||||
.getByLabel('text-field-description', { exact: true })
|
||||
.fill('A description');
|
||||
await page.waitForTimeout(250);
|
||||
await page.getByText('This field may not be blank.').waitFor();
|
||||
await page.getByText('This field is required').waitFor();
|
||||
await page.getByText('Enter a valid URL.').waitFor();
|
||||
|
||||
// Generate a unique supplier name
|
||||
|
||||
Reference in new issue
Block a user