mirror of
https://github.com/inventree/InvenTree.git
synced 2026-08-02 19:52:59 +00:00
[UI] Display all error table field error messages (#12456)
* Display all error table field error messages * Adjust playwright test
This commit is contained in:
@@ -486,8 +486,9 @@ test('Stock - Return Items', async ({ browser }) => {
|
||||
await page.getByRole('textbox', { name: 'number-field-quantity' }).fill('0');
|
||||
await page.getByRole('button', { name: 'Submit' }).click();
|
||||
|
||||
await page.getByText('Quantity must be greater than zero').waitFor();
|
||||
await page.getByText('This field is required.').waitFor();
|
||||
await page.getByText('Errors exist for one or more form fields').waitFor();
|
||||
await page.getByText('Quantity must be greater than zero').first().waitFor();
|
||||
await page.getByText('This field is required.').first().waitFor();
|
||||
});
|
||||
|
||||
test('Stock - Tracking', async ({ browser }) => {
|
||||
|
||||
Reference in New Issue
Block a user