mirror of
https://github.com/inventree/InvenTree.git
synced 2026-11-29 19:14:35 +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:
1 parent
0c293fa896
commit
b15eb35273
31 files changed
+591
-355
No files matched your search
@@ -64,7 +64,8 @@ export const test = baseTest.extend({
|
||||
url != 'http://localhost:8000/api/barcode/' &&
|
||||
url != 'http://localhost:8000/api/news/?search=&offset=0&limit=25' &&
|
||||
url != 'https://docs.inventree.org/en/versions.json' &&
|
||||
!url.startsWith('chrome://')
|
||||
!url.startsWith('chrome://') &&
|
||||
url.indexOf('99999') < 0
|
||||
)
|
||||
messages.push(msg);
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user