[0.17.x] Fix REST registration endpoint (#8738) #16407
Annotations
10 errors, 3 warnings, and 1 notice
Run Playwright tests:
src/frontend/tests/cui.spec.ts#L9
1) [chromium] › cui.spec.ts:5:1 › CUI - Index ────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveTitle(expected)
Locator: locator(':root')
Expected pattern: /^InvenTree.*Sign In$/
Received string: ""
Call log:
- expect.toHaveTitle with timeout 5000ms
- waiting for locator(':root')
- locator resolved to <html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">…</html>
- unexpected value ""
- locator resolved to <html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">…</html>
- unexpected value ""
- locator resolved to <html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">…</html>
- unexpected value ""
- locator resolved to <html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">…</html>
- unexpected value ""
- locator resolved to <html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">…</html>
- unexpected value ""
- locator resolved to <html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">…</html>
- unexpected value ""
- locator resolved to <html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">…</html>
- unexpected value ""
- locator resolved to <html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">…</html>
- unexpected value ""
- locator resolved to <html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">…</html>
- unexpected value ""
7 | await page.goto(`${classicUrl}/index/`, { timeout: 10000 });
8 | console.log('Page title:', await page.title());
> 9 | await expect(page).toHaveTitle(/^InvenTree.*Sign In$/);
| ^
10 | await expect(page.getByRole('heading', { name: 'Sign In' })).toBeVisible();
11 |
12 | await page.getByLabel('username').fill(user.username);
at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/cui.spec.ts:9:22
|
Run Playwright tests:
src/frontend/tests/cui.spec.ts#L9
1) [chromium] › cui.spec.ts:5:1 › CUI - Index ────────────────────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveTitle(expected)
Locator: locator(':root')
Expected pattern: /^InvenTree.*Sign In$/
Received string: ""
Call log:
- expect.toHaveTitle with timeout 5000ms
- waiting for locator(':root')
- locator resolved to <html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">…</html>
- unexpected value ""
- locator resolved to <html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">…</html>
- unexpected value ""
- locator resolved to <html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">…</html>
- unexpected value ""
- locator resolved to <html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">…</html>
- unexpected value ""
- locator resolved to <html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">…</html>
- unexpected value ""
- locator resolved to <html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">…</html>
- unexpected value ""
- locator resolved to <html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">…</html>
- unexpected value ""
- locator resolved to <html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">…</html>
- unexpected value ""
- locator resolved to <html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">…</html>
- unexpected value ""
7 | await page.goto(`${classicUrl}/index/`, { timeout: 10000 });
8 | console.log('Page title:', await page.title());
> 9 | await expect(page).toHaveTitle(/^InvenTree.*Sign In$/);
| ^
10 | await expect(page.getByRole('heading', { name: 'Sign In' })).toBeVisible();
11 |
12 | await page.getByLabel('username').fill(user.username);
at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/cui.spec.ts:9:22
|
Run Playwright tests:
src/frontend/tests/cui.spec.ts#L9
1) [chromium] › cui.spec.ts:5:1 › CUI - Index ────────────────────────────────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveTitle(expected)
Locator: locator(':root')
Expected pattern: /^InvenTree.*Sign In$/
Received string: ""
Call log:
- expect.toHaveTitle with timeout 5000ms
- waiting for locator(':root')
- locator resolved to <html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">…</html>
- unexpected value ""
- locator resolved to <html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">…</html>
- unexpected value ""
- locator resolved to <html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">…</html>
- unexpected value ""
- locator resolved to <html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">…</html>
- unexpected value ""
- locator resolved to <html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">…</html>
- unexpected value ""
- locator resolved to <html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">…</html>
- unexpected value ""
- locator resolved to <html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">…</html>
- unexpected value ""
- locator resolved to <html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">…</html>
- unexpected value ""
- locator resolved to <html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">…</html>
- unexpected value ""
7 | await page.goto(`${classicUrl}/index/`, { timeout: 10000 });
8 | console.log('Page title:', await page.title());
> 9 | await expect(page).toHaveTitle(/^InvenTree.*Sign In$/);
| ^
10 | await expect(page.getByRole('heading', { name: 'Sign In' })).toBeVisible();
11 |
12 | await page.getByLabel('username').fill(user.username);
at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/cui.spec.ts:9:22
|
Run Playwright tests:
src/frontend/tests/cui.spec.ts#L9
2) [firefox] › cui.spec.ts:5:1 › CUI - Index ─────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveTitle(expected)
Locator: locator(':root')
Expected pattern: /^InvenTree.*Sign In$/
Received string: ""
Call log:
- expect.toHaveTitle with timeout 5000ms
- waiting for locator(':root')
- locator resolved to <html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">…</html>
- unexpected value ""
- locator resolved to <html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">…</html>
- unexpected value ""
- locator resolved to <html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">…</html>
- unexpected value ""
- locator resolved to <html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">…</html>
- unexpected value ""
- locator resolved to <html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">…</html>
- unexpected value ""
- locator resolved to <html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">…</html>
- unexpected value ""
- locator resolved to <html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">…</html>
- unexpected value ""
- locator resolved to <html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">…</html>
- unexpected value ""
- locator resolved to <html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">…</html>
- unexpected value ""
7 | await page.goto(`${classicUrl}/index/`, { timeout: 10000 });
8 | console.log('Page title:', await page.title());
> 9 | await expect(page).toHaveTitle(/^InvenTree.*Sign In$/);
| ^
10 | await expect(page.getByRole('heading', { name: 'Sign In' })).toBeVisible();
11 |
12 | await page.getByLabel('username').fill(user.username);
at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/cui.spec.ts:9:22
|
Run Playwright tests:
src/frontend/tests/cui.spec.ts#L9
2) [firefox] › cui.spec.ts:5:1 › CUI - Index ─────────────────────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveTitle(expected)
Locator: locator(':root')
Expected pattern: /^InvenTree.*Sign In$/
Received string: ""
Call log:
- expect.toHaveTitle with timeout 5000ms
- waiting for locator(':root')
- locator resolved to <html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">…</html>
- unexpected value ""
- locator resolved to <html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">…</html>
- unexpected value ""
- locator resolved to <html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">…</html>
- unexpected value ""
- locator resolved to <html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">…</html>
- unexpected value ""
- locator resolved to <html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">…</html>
- unexpected value ""
- locator resolved to <html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">…</html>
- unexpected value ""
- locator resolved to <html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">…</html>
- unexpected value ""
- locator resolved to <html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">…</html>
- unexpected value ""
- locator resolved to <html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">…</html>
- unexpected value ""
7 | await page.goto(`${classicUrl}/index/`, { timeout: 10000 });
8 | console.log('Page title:', await page.title());
> 9 | await expect(page).toHaveTitle(/^InvenTree.*Sign In$/);
| ^
10 | await expect(page.getByRole('heading', { name: 'Sign In' })).toBeVisible();
11 |
12 | await page.getByLabel('username').fill(user.username);
at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/cui.spec.ts:9:22
|
Run Playwright tests:
src/frontend/tests/cui.spec.ts#L9
2) [firefox] › cui.spec.ts:5:1 › CUI - Index ─────────────────────────────────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveTitle(expected)
Locator: locator(':root')
Expected pattern: /^InvenTree.*Sign In$/
Received string: ""
Call log:
- expect.toHaveTitle with timeout 5000ms
- waiting for locator(':root')
- locator resolved to <html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">…</html>
- unexpected value ""
- locator resolved to <html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">…</html>
- unexpected value ""
- locator resolved to <html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">…</html>
- unexpected value ""
- locator resolved to <html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">…</html>
- unexpected value ""
- locator resolved to <html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">…</html>
- unexpected value ""
- locator resolved to <html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">…</html>
- unexpected value ""
- locator resolved to <html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">…</html>
- unexpected value ""
- locator resolved to <html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">…</html>
- unexpected value ""
- locator resolved to <html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">…</html>
- unexpected value ""
7 | await page.goto(`${classicUrl}/index/`, { timeout: 10000 });
8 | console.log('Page title:', await page.title());
> 9 | await expect(page).toHaveTitle(/^InvenTree.*Sign In$/);
| ^
10 | await expect(page.getByRole('heading', { name: 'Sign In' })).toBeVisible();
11 |
12 | await page.getByLabel('username').fill(user.username);
at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/cui.spec.ts:9:22
|
Run Playwright tests:
src/frontend/tests/pages/pui_part.spec.ts#L1
3) [chromium] › pages/pui_part.spec.ts:9:1 › Parts - Tabs ────────────────────────────────────────
Test timeout of 90000ms exceeded.
|
Run Playwright tests:
src/frontend/tests/pages/pui_part.spec.ts#L17
3) [chromium] › pages/pui_part.spec.ts:9:1 › Parts - Tabs ────────────────────────────────────────
Error: locator.click: Test timeout of 90000ms exceeded.
Call log:
- waiting for getByText('1551ABK')
15 | await page.waitForURL('**/platform/part/category/index/details');
16 | await page.goto(`${baseUrl}/part/category/index/parts`);
> 17 | await page.getByText('1551ABK').click();
| ^
18 | await page.getByRole('tab', { name: 'Allocations' }).click();
19 | await page.getByRole('tab', { name: 'Used In' }).click();
20 | await page.getByRole('tab', { name: 'Pricing' }).click();
at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pages/pui_part.spec.ts:17:35
|
Run Playwright tests:
src/frontend/tests/pages/pui_sales_order.spec.ts#L1
4) [chromium] › pages/pui_sales_order.spec.ts:133:1 › Purchase Orders ────────────────────────────
Test timeout of 90000ms exceeded.
|
Run Playwright tests:
src/frontend/tests/pages/pui_sales_order.spec.ts#L138
4) [chromium] › pages/pui_sales_order.spec.ts:133:1 › Purchase Orders ────────────────────────────
Error: locator.click: Test timeout of 90000ms exceeded.
Call log:
- waiting for getByRole('tab', { name: 'Purchase Orders' })
136 | await page.goto(`${baseUrl}/home`);
137 | await page.getByRole('tab', { name: 'Purchasing' }).click();
> 138 | await page.getByRole('tab', { name: 'Purchase Orders' }).click();
| ^
139 |
140 | // Check for expected values
141 | await page.getByRole('cell', { name: 'PO0014' }).waitFor();
at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pages/pui_sales_order.spec.ts:138:60
|
Run Playwright tests:
src/frontend/[chromium] › modals.spec.ts#L1
src/frontend/[chromium] › modals.spec.ts took 20.4s
|
Run Playwright tests:
src/frontend/[firefox] › pui_command.spec.ts#L1
src/frontend/[firefox] › pui_command.spec.ts took 19.4s
|
Run Playwright tests:
src/frontend/[chromium] › settings/selectionList.spec.ts#L1
src/frontend/[chromium] › settings/selectionList.spec.ts took 15.3s
|
Run Playwright tests
2 failed
[chromium] › cui.spec.ts:5:1 › CUI - Index ─────────────────────────────────────────────────────
[firefox] › cui.spec.ts:5:1 › CUI - Index ──────────────────────────────────────────────────────
8 flaky
[chromium] › pages/pui_part.spec.ts:9:1 › Parts - Tabs ─────────────────────────────────────────
[chromium] › pages/pui_sales_order.spec.ts:133:1 › Purchase Orders ─────────────────────────────
[chromium] › pui_settings.spec.ts:9:1 › Settings - Language / Color ────────────────────────────
[firefox] › pages/pui_build.spec.ts:90:1 › Build Order - Build Outputs ─────────────────────────
[firefox] › pages/pui_build.spec.ts:164:1 › Build Order - Allocation ───────────────────────────
[firefox] › pages/pui_stock.spec.ts:158:1 › Stock - Stock Actions ──────────────────────────────
[firefox] › pui_settings.spec.ts:164:1 › Settings - Admin - Unauthorized ───────────────────────
[firefox] › settings/selectionList.spec.ts:5:1 › PUI - Admin - Parameter ───────────────────────
128 passed (17.0m)
|
Loading