2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-14 02:55:41 +00:00

[PUI] Attachment table fix (#7232)

* Use modal hook for creating new attachments

* Add "edit" and "delete" modals for attachment table

* Fix for drag-and-drop zone

- Update to match mantine v7

* Fix link clicking

* Fix call to cancelEvent

* Add placeholder for more unit tests
This commit is contained in:
Oliver
2024-05-16 12:34:44 +10:00
committed by GitHub
parent e8f8f3b3ec
commit 2a83c19208
4 changed files with 201 additions and 229 deletions

View File

@ -151,3 +151,11 @@ test('PUI - Pages - Part - Pricing (Purchase)', async ({ page }) => {
.waitFor();
await page.getByText('2022-04-29').waitFor();
});
test('PUI - Pages - Part - Attachments', async ({ page }) => {
await doQuickLogin(page);
await page.goto(`${baseUrl}/part/69/attachments`);
await page.waitForTimeout(5000);
});