2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-09-14 22:51:30 +00:00

[PUI] Form error fix (#8204)

* Handle simple string error message

* Add playwright test for form validation

* Render stock unit price / total value

* Fix for TextField:

- Prevent unnecessary value change
- This was removing the field error

* Add playwright test for supplier form validation
This commit is contained in:
Oliver
2024-09-28 13:33:31 +10:00
committed by GitHub
parent e6470ffdea
commit 390fec3ab1
18 changed files with 214 additions and 52 deletions

View File

@@ -20,7 +20,7 @@ const clearFilters = async (page) => {
await page.getByLabel('filter-drawer-close').click();
};
test('PUI - Tables - Filters', async ({ page }) => {
test('Tables - Filters', async ({ page }) => {
await doQuickLogin(page);
// Head to the "build order list" page
@@ -50,7 +50,7 @@ test('PUI - Tables - Filters', async ({ page }) => {
await clearFilters(page);
});
test('PUI - Tables - Columns', async ({ page }) => {
test('Tables - Columns', async ({ page }) => {
await doQuickLogin(page);
// Go to the "stock list" page