[UI] Display all error table field error messages (#12456)

* Display all error table field error messages

* Adjust playwright test
This commit is contained in:
Oliver authored and GitHub committed 2026-07-27 17:27:34 +10:00
1 parent eb5138127b
commit 2bb8672dc4
2 files changed
+35 -13

No files matched your search

+3 -2
View File
@@ -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 }) => {