fix refreshInstance type and remove return #15684
qc_checks.yaml
on: pull_request
Filter
10s
Build - UI Platform
2m 2s
Style [Documentation]
28s
Tests - Migrations [PostgreSQL]
0s
Tests - Full Migration [SQLite]
0s
Tests - inventree-python
0s
Tests - DB [PostgreSQL]
0s
Tests - DB [MySQL]
0s
Tests - Platform UI
22m 54s
Matrix: coverage
Style - Classic UI [JS]
1m 35s
Push new schema
0s
Annotations
10 errors, 8 warnings, and 1 notice
[chromium] › pages/pui_part.spec.ts:99:1 › Parts - Allocations:
src/frontend/tests/pages/pui_part.spec.ts#L1
1) [chromium] › pages/pui_part.spec.ts:99:1 › Parts - Allocations ────────────────────────────────
Test timeout of 90000ms exceeded.
|
[chromium] › pages/pui_part.spec.ts:99:1 › Parts - Allocations:
src/frontend/tests/pages/pui_part.spec.ts#L124
1) [chromium] › pages/pui_part.spec.ts:99:1 › Parts - Allocations ────────────────────────────────
Error: locator.waitFor: Test timeout of 90000ms exceeded.
Call log:
- waiting for getByText('BO0001') to be visible
122 |
123 | // Expected order reference values
> 124 | await page.getByText('BO0001').waitFor();
| ^
125 | await page.getByText('BO0016').waitFor();
126 | await page.getByText('BO0019').waitFor();
127 | await page.getByText('SO0008').waitFor();
at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pages/pui_part.spec.ts:124:34
|
[chromium] › pages/pui_purchase_order.spec.ts:57:1 › Purchase Orders - Receive Items:
src/frontend/tests/pages/pui_purchase_order.spec.ts#L1
2) [chromium] › pages/pui_purchase_order.spec.ts:57:1 › Purchase Orders - Receive Items ──────────
Test timeout of 90000ms exceeded.
|
[chromium] › pages/pui_purchase_order.spec.ts:57:1 › Purchase Orders - Receive Items:
src/frontend/tests/pages/pui_purchase_order.spec.ts#L71
2) [chromium] › pages/pui_purchase_order.spec.ts:57:1 › Purchase Orders - Receive Items ──────────
Error: locator.click: Test timeout of 90000ms exceeded.
Call log:
- waiting for getByLabel('action-button-receive-items')
- locator resolved to <button disabled type="button" data-disabled="true" data-variant="transparent" aria-label="action-button-receive-items" class="mantine-focus-auto m_8d3f4000 mantine-ActionIcon-root m_87cf2631 mantine-UnstyledButton-root">…</button>
- attempting click action
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #1
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #2
- waiting 20ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #3
- waiting 100ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #4
- waiting 100ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #5
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #6
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #7
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #8
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #9
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #10
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #11
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #12
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #13
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #14
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #15
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #16
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #17
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #18
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #19
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #20
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #21
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #22
- waiti
|
[chromium] › pui_plugins.spec.ts:67:1 › Plugins - Custom Admin:
src/frontend/tests/pui_plugins.spec.ts#L1
3) [chromium] › pui_plugins.spec.ts:67:1 › Plugins - Custom Admin ────────────────────────────────
Test timeout of 90000ms exceeded.
|
[chromium] › pui_plugins.spec.ts:67:1 › Plugins - Custom Admin:
src/frontend/tests/pui_plugins.spec.ts#L87
3) [chromium] › pui_plugins.spec.ts:67:1 › Plugins - Custom Admin ────────────────────────────────
Error: locator.click: Test timeout of 90000ms exceeded.
Call log:
- waiting for getByRole('button', { name: 'Plugin Configuration' })
85 | .getByRole('button', { name: 'Plugin Settings' })
86 | .click();
> 87 | await page.getByRole('button', { name: 'Plugin Configuration' }).click();
| ^
88 |
89 | // Check for expected custom elements
90 | await page
at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pui_plugins.spec.ts:87:68
|
[firefox] › pages/pui_part.spec.ts:99:1 › Parts - Allocations:
src/frontend/tests/pages/pui_part.spec.ts#L1
4) [firefox] › pages/pui_part.spec.ts:99:1 › Parts - Allocations ─────────────────────────────────
Test timeout of 90000ms exceeded.
|
[firefox] › pages/pui_part.spec.ts:99:1 › Parts - Allocations:
src/frontend/tests/pages/pui_part.spec.ts#L124
4) [firefox] › pages/pui_part.spec.ts:99:1 › Parts - Allocations ─────────────────────────────────
Error: locator.waitFor: Test timeout of 90000ms exceeded.
Call log:
- waiting for getByText('BO0001') to be visible
122 |
123 | // Expected order reference values
> 124 | await page.getByText('BO0001').waitFor();
| ^
125 | await page.getByText('BO0016').waitFor();
126 | await page.getByText('BO0019').waitFor();
127 | await page.getByText('SO0008').waitFor();
at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pages/pui_part.spec.ts:124:34
|
[firefox] › pui_forms.spec.ts:78:1 › Forms - Supplier Validation:
src/frontend/tests/pui_forms.spec.ts#L1
5) [firefox] › pui_forms.spec.ts:78:1 › Forms - Supplier Validation ──────────────────────────────
Test timeout of 90000ms exceeded.
|
[firefox] › pui_forms.spec.ts:78:1 › Forms - Supplier Validation:
src/frontend/tests/pui_forms.spec.ts#L118
5) [firefox] › pui_forms.spec.ts:78:1 › Forms - Supplier Validation ──────────────────────────────
Error: locator.click: Test timeout of 90000ms exceeded.
Call log:
- waiting for getByLabel('action-button-add-company')
116 | await page.goto(`${baseUrl}/purchasing/index/suppliers`);
117 | await page.waitForURL('**/purchasing/index/**');
> 118 | await page.getByLabel('action-button-add-company').click();
| ^
119 | await page.getByLabel('text-field-name').fill(supplierName);
120 | await page.getByRole('button', { name: 'Submit' }).click();
121 |
at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pui_forms.spec.ts:118:54
|
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 - 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] › pages/pui_scan.spec.ts#L1
src/frontend/[chromium] › pages/pui_scan.spec.ts took 34.7s
|
Slow Test:
src/frontend/[firefox] › pui_general.spec.ts#L1
src/frontend/[firefox] › pui_general.spec.ts took 34.0s
|
Slow Test:
src/frontend/[chromium] › pages/pui_sales_order.spec.ts#L1
src/frontend/[chromium] › pages/pui_sales_order.spec.ts took 29.7s
|
Slow Test:
src/frontend/[firefox] › pui_plugins.spec.ts#L1
src/frontend/[firefox] › pui_plugins.spec.ts took 29.2s
|
Slow Test:
src/frontend/[firefox] › pui_printing.spec.ts#L1
src/frontend/[firefox] › pui_printing.spec.ts took 25.7s
|
🎭 Playwright Run Summary
5 flaky
[chromium] › pages/pui_part.spec.ts:99:1 › Parts - Allocations ─────────────────────────────────
[chromium] › pages/pui_purchase_order.spec.ts:57:1 › Purchase Orders - Receive Items ───────────
[chromium] › pui_plugins.spec.ts:67:1 › Plugins - Custom Admin ─────────────────────────────────
[firefox] › pages/pui_part.spec.ts:99:1 › Parts - Allocations ──────────────────────────────────
[firefox] › pui_forms.spec.ts:78:1 › Forms - Supplier Validation ───────────────────────────────
119 passed (15.5m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
frontend-build
|
2.17 MB |
|