Skip to content

Samesite fix (#8390) #15365

Samesite fix (#8390)

Samesite fix (#8390) #15365

Triggered via push October 28, 2024 23:17
Status Failure
Total duration 19m 25s
Artifacts 3

qc_checks.yaml

on: push
Style [pre-commit]
43s
Style [pre-commit]
Tests - API Schema Documentation
4m 1s
Tests - API Schema Documentation
Style [Documentation]
50s
Style [Documentation]
Tests - Migrations [PostgreSQL]
0s
Tests - Migrations [PostgreSQL]
Tests - Full Migration [SQLite]
0s
Tests - Full Migration [SQLite]
Tests - inventree-python
5m 4s
Tests - inventree-python
Tests - DB [PostgreSQL]
12m 5s
Tests - DB [PostgreSQL]
Tests - DB [MySQL]
12m 40s
Tests - DB [MySQL]
Tests - Platform UI
18m 7s
Tests - Platform UI
Matrix: coverage
Style - Classic UI [JS]
1m 18s
Style - Classic UI [JS]
Push new schema
0s
Push new schema
Fit to window
Zoom out
Zoom in

Annotations

11 errors, 9 warnings, and 1 notice
Tests - API Schema Documentation
Process completed with exit code 1.
[firefox] › pui_general.spec.ts:5:1 › PUI - Parts: src/frontend/tests/pui_general.spec.ts#L1
1) [firefox] › pui_general.spec.ts:5:1 › PUI - Parts ───────────────────────────────────────────── Test timeout of 90000ms exceeded.
[firefox] › pui_general.spec.ts:5:1 › PUI - Parts: src/frontend/tests/baseFixtures.ts#L81
1) [firefox] › pui_general.spec.ts:5:1 › PUI - Parts ───────────────────────────────────────────── Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 56 - Array [] + Array [ + ConsoleMessage { + "_event": Object { + "args": Array [ + EventEmitter { + "_events": Object { + "previewUpdated": [Function anonymous], + }, + "_eventsCount": 1, + "_maxListeners": undefined, + "_object": Object { + "_guid": "handle@659864b4be1e625397ec87c536698754", + "_type": "JSHandle", + }, + Symbol(shapeMode): false, + Symbol(kCapture): false, + }, + ], + "location": Object { + "columnNumber": 0, + "lineNumber": 0, + "url": "http://localhost:5173/platform/part/category/index/parts", + }, + "page": EventEmitter { + "_events": Object { + "bindingCall": [Function anonymous], + "close": [Function anonymous], + "crash": [Function anonymous], + "download": [Function anonymous], + "fileChooser": [Function anonymous], + "frameAttached": [Function anonymous], + "frameDetached": [Function anonymous], + "locatorHandlerTriggered": [Function anonymous], + "route": [Function anonymous], + "video": [Function anonymous], + "webSocket": [Function anonymous], + "worker": [Function anonymous], + }, + "_eventsCount": 12, + "_maxListeners": undefined, + "_object": Object { + "_guid": "page@0e94629ff53db06fa4b0aeadd732f833", + "_type": "Page", + }, + Symbol(shapeMode): false, + Symbol(kCapture): false, + }, + "text": "[JavaScript Error: \"Loading module from “http://localhost:5173/src/locales/en/messages.ts” was blocked because of a disallowed MIME type (“”).\" {file: \"http://localhost:5173/platform/part/category/index/parts\" line: 0}]", + "type": "error", + }, + "_page": Object { + "_guid": "page@0e94629ff53db06fa4b0aeadd732f833", + "_type": "Page", + }, + }, + ] at baseFixtures.ts:81 79 | }); 80 | await use(page); > 81 | expect(messages).toEqual([]); | ^ 82 | } 83 | }); 84 | at Object.page (/home/runner/work/InvenTree/InvenTree/src/frontend/tests/baseFixtures.ts:81:22)
[firefox] › pui_general.spec.ts:5:1 › PUI - Parts: src/frontend/tests/pui_general.spec.ts#L40
1) [firefox] › pui_general.spec.ts:5:1 › PUI - Parts ───────────────────────────────────────────── Error: locator.click: Test timeout of 90000ms exceeded. Call log: - waiting for getByText('Blue Chair') 38 | 39 | await page.goto(`${baseUrl}/part/category/index/parts`); > 40 | await page.getByText('Blue Chair').click(); | ^ 41 | await page.getByRole('tab', { name: 'Bill of Materials' }).click(); 42 | await page.getByRole('tab', { name: 'Build Orders' }).click(); 43 | }); at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pui_general.spec.ts:40:38
[firefox] › pui_general.spec.ts:5:1 › PUI - Parts: src/frontend/tests/pui_general.spec.ts#L1
1) [firefox] › pui_general.spec.ts:5:1 › PUI - Parts ───────────────────────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 90000ms exceeded.
[firefox] › pui_general.spec.ts:5:1 › PUI - Parts: src/frontend/tests/pui_general.spec.ts#L28
1) [firefox] › pui_general.spec.ts:5:1 › PUI - Parts ───────────────────────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.click: Test timeout of 90000ms exceeded. Call log: - waiting for getByRole('tab', { name: 'Part Details' }) 26 | // Related Parts 27 | await page.getByText('1551ACLR').click(); > 28 | await page.getByRole('tab', { name: 'Part Details' }).click(); | ^ 29 | await page.getByRole('tab', { name: 'Parameters' }).click(); 30 | await page 31 | .getByRole('tab', { name: 'Part Details' }) at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pui_general.spec.ts:28:57
[chromium] › pages/pui_scan.spec.ts:90:1 › PUI - Pages - Index - Scan (General): src/frontend/tests/baseFixtures.ts#L81
2) [chromium] › pages/pui_scan.spec.ts:90:1 › PUI - Pages - Index - Scan (General) ─────────────── Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 122 - Array [] + Array [ + ConsoleMessage { + "_event": Object { + "args": Array [], + "location": Object { + "columnNumber": 0, + "lineNumber": 0, + "url": "http://localhost:8000/api/settings/global/", + }, + "page": EventEmitter { + "_events": Object { + "bindingCall": [Function anonymous], + "close": [Function anonymous], + "crash": [Function anonymous], + "download": [Function anonymous], + "fileChooser": [Function anonymous], + "frameAttached": [Function anonymous], + "frameDetached": [Function anonymous], + "locatorHandlerTriggered": [Function anonymous], + "route": [Function anonymous], + "video": [Function anonymous], + "webSocket": [Function anonymous], + "worker": [Function anonymous], + }, + "_eventsCount": 12, + "_maxListeners": undefined, + "_object": Object { + "_guid": "page@0ea6baca5ee1ced1c603463c2a4ee25b", + "_type": "Page", + }, + Symbol(shapeMode): false, + Symbol(kCapture): false, + }, + "text": "Failed to load resource: the server responded with a status of 401 (Unauthorized)", + "type": "error", + }, + "_page": Object { + "_guid": "page@0ea6baca5ee1ced1c603463c2a4ee25b", + "_type": "Page", + }, + }, + ConsoleMessage { + "_event": Object { + "args": Array [], + "location": Object { + "columnNumber": 0, + "lineNumber": 0, + "url": "http://localhost:8000/api/generic/status/", + }, + "page": EventEmitter { + "_events": Object { + "bindingCall": [Function anonymous], + "close": [Function anonymous], + "crash": [Function anonymous], + "download": [Function anonymous], + "fileChooser": [Function anonymous], + "frameAttached": [Function anonymous], + "frameDetached": [Function anonymous], + "locatorHandlerTriggered": [Function anonymous], + "route": [Function anonymous], + "video": [Function anonymous], + "webSocket": [Function anonymous], + "worker": [Function anonymous], + }, + "_eventsCount": 12, + "_maxListeners": undefined, + "_object": Object { + "_guid": "page@0ea6baca5ee1ced1c603463c2a4ee25b", + "_type": "Page", + }, + Symbol(shapeMode): false, + Symbol(kCapture): false, + }, + "text": "Failed to load resource: the server responded with a status of 401 (Unauthorized)", + "type": "error", + }, + "_page": Object { + "_guid": "page@0ea6baca5ee1ced1c603463c2a4ee25b", + "_type": "Page", + }, + }, + ConsoleMessage { + "_event": Object { + "args": Array [], + "location": Object { + "columnNumber": 0, + "lineNumber": 0, + "url": "http://localhost:8000/api/settings/user/", + }, + "page": EventEmitter { + "_events": Object { + "bindingCall": [Function anonymous], + "close": [Function anonymous], + "crash": [Function anonymous], + "download": [Function anonymous], + "fileChooser": [Function anonymous], + "frameAttached": [Function anonymous], + "frameDetached": [Function anonymous], +
[chromium] › pui_general.spec.ts:71:1 › PUI - Sales: src/frontend/tests/pui_general.spec.ts#L1
3) [chromium] › pui_general.spec.ts:71:1 › PUI - Sales ─────────────────────────────────────────── Test timeout of 90000ms exceeded.
[chromium] › pui_general.spec.ts:71:1 › PUI - Sales: src/frontend/tests/baseFixtures.ts#L81
3) [chromium] › pui_general.spec.ts:71:1 › PUI - Sales ─────────────────────────────────────────── Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 962 - Array [] + Array [ + ConsoleMessage { + "_event": Object { + "args": Array [], + "location": Object { + "columnNumber": 0, + "lineNumber": 0, + "url": "http://localhost:8000/api/attachment/?model_type=company&model_id=30&limit=25&offset=0", + }, + "page": EventEmitter { + "_events": Object { + "bindingCall": [Function anonymous], + "close": [Function anonymous], + "crash": [Function anonymous], + "download": [Function anonymous], + "fileChooser": [Function anonymous], + "frameAttached": [Function anonymous], + "frameDetached": [Function anonymous], + "locatorHandlerTriggered": [Function anonymous], + "route": [Function anonymous], + "video": [Function anonymous], + "webSocket": [Function anonymous], + "worker": [Function anonymous], + }, + "_eventsCount": 12, + "_maxListeners": undefined, + "_object": Object { + "_guid": "page@7d5de03c8012381ce80c0068c95a1fa4", + "_type": "Page", + }, + Symbol(shapeMode): false, + Symbol(kCapture): false, + }, + "text": "Failed to load resource: the server responded with a status of 401 (Unauthorized)", + "type": "error", + }, + "_page": Object { + "_guid": "page@7d5de03c8012381ce80c0068c95a1fa4", + "_type": "Page", + }, + }, + ConsoleMessage { + "_event": Object { + "args": Array [], + "location": Object { + "columnNumber": 0, + "lineNumber": 0, + "url": "http://localhost:8000/api/company/contact/?company=30", + }, + "page": EventEmitter { + "_events": Object { + "bindingCall": [Function anonymous], + "close": [Function anonymous], + "crash": [Function anonymous], + "download": [Function anonymous], + "fileChooser": [Function anonymous], + "frameAttached": [Function anonymous], + "frameDetached": [Function anonymous], + "locatorHandlerTriggered": [Function anonymous], + "route": [Function anonymous], + "video": [Function anonymous], + "webSocket": [Function anonymous], + "worker": [Function anonymous], + }, + "_eventsCount": 12, + "_maxListeners": undefined, + "_object": Object { + "_guid": "page@7d5de03c8012381ce80c0068c95a1fa4", + "_type": "Page", + }, + Symbol(shapeMode): false, + Symbol(kCapture): false, + }, + "text": "Failed to load resource: the server responded with a status of 401 (Unauthorized)", + "type": "error", + }, + "_page": Object { + "_guid": "page@7d5de03c8012381ce80c0068c95a1fa4", + "_type": "Page", + }, + }, + ConsoleMessage { + "_event": Object { + "args": Array [], + "location": Object { + "columnNumber": 0, + "lineNumber": 0, + "url": "http://localhost:8000/api/company/contact/?company=30&limit=25&offset=0", + }, + "page": EventEmitter { + "_events": Object { + "bindingCall": [Function anonymous], + "close": [Function anonymous], + "crash": [Function anonymous], + "download": [Function anonymous], + "fileChooser": [Function anonymous], + "frameAttached": [Fun
[chromium] › pui_general.spec.ts:71:1 › PUI - Sales: src/frontend/tests/pui_general.spec.ts#L91
3) [chromium] › pui_general.spec.ts:71:1 › PUI - Sales ─────────────────────────────────────────── Error: locator.waitFor: Test timeout of 90000ms exceeded. Call log: - waiting for getByRole('cell', { name: 'Dorathy Gross' }) to be visible 89 | await page.getByRole('tab', { name: 'Sales Orders' }).click(); 90 | await page.getByRole('tab', { name: 'Contacts' }).click(); > 91 | await page.getByRole('cell', { name: 'Dorathy Gross' }).waitFor(); | ^ 92 | await page 93 | .getByRole('row', { name: 'Dorathy Gross dorathy.gross@customer.com' }) 94 | .waitFor(); at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pui_general.spec.ts:91:59
[firefox] › pages/pui_part.spec.ts:127:1 › PUI - Pages - Part - Pricing (Internal): src/frontend/tests/baseFixtures.ts#L81
4) [firefox] › pages/pui_part.spec.ts:127:1 › PUI - Pages - Part - Pricing (Internal) ──────────── Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 56 - Array [] + Array [ + ConsoleMessage { + "_event": Object { + "args": Array [ + EventEmitter { + "_events": Object { + "previewUpdated": [Function anonymous], + }, + "_eventsCount": 1, + "_maxListeners": undefined, + "_object": Object { + "_guid": "handle@a3b26639be3c0e3b6e32815a1b0e48ab", + "_type": "JSHandle", + }, + Symbol(shapeMode): false, + Symbol(kCapture): false, + }, + ], + "location": Object { + "columnNumber": 0, + "lineNumber": 0, + "url": "", + }, + "page": EventEmitter { + "_events": Object { + "bindingCall": [Function anonymous], + "close": [Function anonymous], + "crash": [Function anonymous], + "download": [Function anonymous], + "fileChooser": [Function anonymous], + "frameAttached": [Function anonymous], + "frameDetached": [Function anonymous], + "locatorHandlerTriggered": [Function anonymous], + "route": [Function anonymous], + "video": [Function anonymous], + "webSocket": [Function anonymous], + "worker": [Function anonymous], + }, + "_eventsCount": 12, + "_maxListeners": undefined, + "_object": Object { + "_guid": "page@334e42dfbe488a5f81bf5c44d3ee8156", + "_type": "Page", + }, + Symbol(shapeMode): false, + Symbol(kCapture): false, + }, + "text": "[JavaScript Error: \"downloadable font: download failed (font-family: \"inventree-icon-font-ti\" style:normal weight:400 stretch:100 src index:0): status=2152398850 source: http://localhost:8000/static/tabler-icons/tabler-icons.woff2\"]", + "type": "error", + }, + "_page": Object { + "_guid": "page@334e42dfbe488a5f81bf5c44d3ee8156", + "_type": "Page", + }, + }, + ] at baseFixtures.ts:81 79 | }); 80 | await use(page); > 81 | expect(messages).toEqual([]); | ^ 82 | } 83 | }); 84 | at Object.page (/home/runner/work/InvenTree/InvenTree/src/frontend/tests/baseFixtures.ts:81:22)
Build - UI Platform
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Style - Classic UI [JS]
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Tests - inventree-python
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Tests - Platform UI
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Slow Test: src/frontend/[chromium] › pui_stock.spec.ts#L1
src/frontend/[chromium] › pui_stock.spec.ts took 25.6s
Slow Test: src/frontend/[firefox] › pui_settings.spec.ts#L1
src/frontend/[firefox] › pui_settings.spec.ts took 24.4s
Slow Test: src/frontend/[firefox] › pui_printing.spec.ts#L1
src/frontend/[firefox] › pui_printing.spec.ts took 24.2s
Slow Test: src/frontend/[chromium] › pui_printing.spec.ts#L1
src/frontend/[chromium] › pui_printing.spec.ts took 21.9s
Slow Test: src/frontend/[chromium] › pages/pui_build.spec.ts#L1
src/frontend/[chromium] › pages/pui_build.spec.ts took 19.6s
🎭 Playwright Run Summary
1 failed [firefox] › pui_general.spec.ts:5:1 › PUI - Parts ────────────────────────────────────────────── 8 flaky [chromium] › pages/pui_scan.spec.ts:90:1 › PUI - Pages - Index - Scan (General) ──────────────── [chromium] › pui_general.spec.ts:71:1 › PUI - Sales ──────────────────────────────────────────── [firefox] › pages/pui_part.spec.ts:127:1 › PUI - Pages - Part - Pricing (Internal) ───────────── [firefox] › pages/pui_part.spec.ts:174:1 › PUI - Pages - Part - Attachments ──────────────────── [firefox] › pages/pui_scan.spec.ts:27:1 › PUI - Pages - Index - Scan (Part) ──────────────────── [firefox] › pages/pui_scan.spec.ts:54:1 › PUI - Pages - Index - Scan (SupplierPart) ──────────── [firefox] › pages/pui_scan.spec.ts:90:1 › PUI - Pages - Index - Scan (General) ───────────────── [firefox] › pui_basic.spec.ts:5:1 › PUI - Basic Login Test ───────────────────────────────────── 81 passed (12.4m)

Artifacts

Produced during runtime
Name Size
frontend-build
2.03 MB
playwright-report
29 MB
schema.yml
58.6 KB