mirror of
https://github.com/inventree/InvenTree.git
synced 2026-10-21 17:30:50 +00:00
Implement URL redirect for PUI (#6872)
* Implement URL redirect for PUI - Return from login page to redirect URL - Return from auth check to redirect URL * fix PUI test assumption --------- Co-authored-by: Matthias Mair <code@mjmair.com>
This commit is contained in:
1 parent
bc77b2eb5f
commit
0be741562d
6 files changed
+19
-11
No files matched your search
@@ -7,7 +7,7 @@ test('Basic Platform UI test', async ({ page }) => {
|
||||
await page.getByLabel('username').fill('allaccess');
|
||||
await page.getByLabel('password').fill('nolimits');
|
||||
await page.getByRole('button', { name: 'Log in' }).click();
|
||||
await page.waitForURL('**/platform/home');
|
||||
await page.waitForURL('**/platform');
|
||||
await page.goto('./platform/');
|
||||
|
||||
await expect(page).toHaveTitle('InvenTree Demo Server');
|
||||
|
||||
Reference in new issue
Block a user