2
0
mirror of https://github.com/inventree/InvenTree.git synced 2026-07-11 01:20:57 +00:00

[PUI] Error pages (#7554)

* Add <PermissionDenied /> page

* Check permissions for admin center

* Wrap <PartDetail> page in an error handler

- Display client or server errors

* Add error handlers to other detail pages

* Refactor error pages

* Add playwright tests

* Refactor component locations

* Get test to work
This commit is contained in:
Oliver
2024-07-04 00:34:52 +10:00
committed by GitHub
parent 0c293fa896
commit b15eb35273
31 changed files with 591 additions and 355 deletions
+1
View File
@@ -54,4 +54,5 @@ test('PUI - Quick Login Test', async ({ page }) => {
// Logout (via URL)
await page.goto(`${baseUrl}/logout/`);
await page.waitForURL('**/platform/login');
await page.getByLabel('username');
});