Skip to content

fix: add baseEndpoint prop to ModelTable #4380

fix: add baseEndpoint prop to ModelTable

fix: add baseEndpoint prop to ModelTable #4380

Triggered via pull request February 25, 2025 19:29
Status Failure
Total duration 32m 20s
Artifacts 2

functional-tests.yml

on: pull_request
Matrix: enterprise-functional-tests
Matrix: functional-tests
Fit to window
Zoom out
Zoom in

Annotations

9 errors, 10 warnings, and 2 notices
[chromium] › functional/detailed/common.test.ts:74:4 › Tests on applied controls item › Tests on applied controls item details › Applied controls item details are showing properly: frontend/tests/utils/test-utils.ts#L644
1) [chromium] › functional/detailed/common.test.ts:74:4 › Tests on applied controls item › Tests on applied controls item details › Applied controls item details are showing properly Error: expect(500).toBeOneofValues([100,399]) at utils/test-utils.ts:644 642 | export function setHttpResponsesListener(page: Page) { 643 | page.on('response', (response) => { > 644 | expect.soft(response.status()).toBeOneofValues([100, 399]); | ^ 645 | }); 646 | } 647 | at Page.<anonymous> (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/test-utils.ts:644:34)
[chromium] › functional/detailed/common.test.ts:82:4 › Tests on reference controls item › Tests on reference controls item details › user can edit reference controls item: frontend/tests/functional/detailed/common.test.ts#L34
2) [chromium] › functional/detailed/common.test.ts:82:4 › Tests on reference controls item › Tests on reference controls item details › user can edit reference controls item Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 100000ms exceeded while running "beforeEach" hook. 32 | 33 | test.describe(`Tests on ${items[key].displayName.toLowerCase()} item details`, () => { > 34 | test.beforeEach(async ({ logedPage, pages, page }, testInfo) => { | ^ 35 | await pages[key].goto(); 36 | await expect(page).toHaveURL(pages[key].url); 37 | at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/detailed/common.test.ts:34:9
[chromium] › functional/detailed/common.test.ts:82:4 › Tests on reference controls item › Tests on reference controls item details › user can edit reference controls item: frontend/tests/utils/page-content.ts#L109
2) [chromium] › functional/detailed/common.test.ts:82:4 › Tests on reference controls item › Tests on reference controls item details › user can edit reference controls item Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.click: Test timeout of 100000ms exceeded. Call log: - waiting for getByRole('row', { name: '1-Test reference control-ad77' }).first().getByTestId('tablerow-detail-button') at utils/page-content.ts:109 107 | async viewItemDetail(value?: string) { 108 | if (value) { > 109 | await this.getRow(value).getByTestId('tablerow-detail-button').click(); | ^ 110 | this.itemDetail.setItem(value); 111 | } else { 112 | await this.getRow().getByTestId('tablerow-detail-button').click(); at PageContent.viewItemDetail (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/page-content.ts:109:67) at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/detailed/common.test.ts:60:22
functional-tests (3.12, chromium)
Process completed with exit code 1.
[chromium] › functional/detailed/common.test.ts:74:4 › Tests on applied controls item › Tests on applied controls item details › Applied controls item details are showing properly: enterprise/frontend/.build/frontend/tests/utils/test-utils.ts#L644
1) [chromium] › functional/detailed/common.test.ts:74:4 › Tests on applied controls item › Tests on applied controls item details › Applied controls item details are showing properly Error: expect(500).toBeOneofValues([100,399]) at utils/test-utils.ts:644 642 | export function setHttpResponsesListener(page: Page) { 643 | page.on('response', (response) => { > 644 | expect.soft(response.status()).toBeOneofValues([100, 399]); | ^ 645 | }); 646 | } 647 | at Page.<anonymous> (/home/runner/work/ciso-assistant-community/ciso-assistant-community/enterprise/frontend/.build/frontend/tests/utils/test-utils.ts:644:34)
[chromium] › functional/detailed/common.test.ts:74:4 › Tests on reference controls item › Tests on reference controls item details › Reference controls item details are showing properly: enterprise/frontend/.build/frontend/tests/functional/detailed/common.test.ts#L34
2) [chromium] › functional/detailed/common.test.ts:74:4 › Tests on reference controls item › Tests on reference controls item details › Reference controls item details are showing properly Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 100000ms exceeded while running "beforeEach" hook. 32 | 33 | test.describe(`Tests on ${items[key].displayName.toLowerCase()} item details`, () => { > 34 | test.beforeEach(async ({ logedPage, pages, page }, testInfo) => { | ^ 35 | await pages[key].goto(); 36 | await expect(page).toHaveURL(pages[key].url); 37 | at /home/runner/work/ciso-assistant-community/ciso-assistant-community/enterprise/frontend/.build/frontend/tests/functional/detailed/common.test.ts:34:9
[chromium] › functional/detailed/common.test.ts:74:4 › Tests on reference controls item › Tests on reference controls item details › Reference controls item details are showing properly: enterprise/frontend/.build/frontend/tests/utils/page-content.ts#L109
2) [chromium] › functional/detailed/common.test.ts:74:4 › Tests on reference controls item › Tests on reference controls item details › Reference controls item details are showing properly Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.click: Test timeout of 100000ms exceeded. Call log: - waiting for getByRole('row', { name: '1-Test reference control-66e4' }).first().getByTestId('tablerow-detail-button') at utils/page-content.ts:109 107 | async viewItemDetail(value?: string) { 108 | if (value) { > 109 | await this.getRow(value).getByTestId('tablerow-detail-button').click(); | ^ 110 | this.itemDetail.setItem(value); 111 | } else { 112 | await this.getRow().getByTestId('tablerow-detail-button').click(); at PageContent.viewItemDetail (/home/runner/work/ciso-assistant-community/ciso-assistant-community/enterprise/frontend/.build/frontend/tests/utils/page-content.ts:109:67) at /home/runner/work/ciso-assistant-community/ciso-assistant-community/enterprise/frontend/.build/frontend/tests/functional/detailed/common.test.ts:60:22
[chromium] › functional/domain-import.test.ts:36:1 › User can import a domain from a .bak file: enterprise/frontend/.build/frontend/tests/functional/domain-import.test.ts#L69
3) [chromium] › functional/domain-import.test.ts:36:1 › User can import a domain from a .bak file › Import sample domain Error: expect(received).toBeGreaterThan(expected) Expected: > 5 Received: 5 67 | // Confirm that the number of rows has increased. 68 | const newRowCount = await getRowCount(page); > 69 | expect(newRowCount).toBeGreaterThan(initialRowCount); | ^ 70 | }); 71 | }); 72 | at /home/runner/work/ciso-assistant-community/ciso-assistant-community/enterprise/frontend/.build/frontend/tests/functional/domain-import.test.ts:69:23 at /home/runner/work/ciso-assistant-community/ciso-assistant-community/enterprise/frontend/.build/frontend/tests/functional/domain-import.test.ts:47:2
enterprise-functional-tests (3.12, chromium)
Process completed with exit code 1.
Slow Test: frontend/[chromium] › functional/user-permissions.test.ts#L1
frontend/[chromium] › functional/user-permissions.test.ts took 9.1m
Slow Test: frontend/[chromium] › fuzz/open-redirect/open-redirect.test.ts#L1
frontend/[chromium] › fuzz/open-redirect/open-redirect.test.ts took 2.0m
Slow Test: frontend/[chromium] › functional/user-route.test.ts#L1
frontend/[chromium] › functional/user-route.test.ts took 1.6m
Slow Test: frontend/[chromium] › functional/nav.test.ts#L1
frontend/[chromium] › functional/nav.test.ts took 1.5m
Slow Test: frontend/[chromium] › functional/detailed/compliance-assessments.test.ts#L1
frontend/[chromium] › functional/detailed/compliance-assessments.test.ts took 36.7s
Slow Test: enterprise/frontend/.build/frontend/[chromium] › functional/user-permissions.test.ts#L1
enterprise/frontend/.build/frontend/[chromium] › functional/user-permissions.test.ts took 9.6m
Slow Test: enterprise/frontend/.build/frontend/[chromium] › fuzz/open-redirect/open-redirect.test.ts#L1
enterprise/frontend/.build/frontend/[chromium] › fuzz/open-redirect/open-redirect.test.ts took 3.4m
Slow Test: enterprise/frontend/.build/frontend/[chromium] › functional/nav.test.ts#L1
enterprise/frontend/.build/frontend/[chromium] › functional/nav.test.ts took 1.6m
Slow Test: enterprise/frontend/.build/frontend/[chromium] › functional/user-route.test.ts#L1
enterprise/frontend/.build/frontend/[chromium] › functional/user-route.test.ts took 1.6m
Slow Test: enterprise/frontend/.build/frontend/[chromium] › functional/detailed/compliance-assessments.test.ts#L1
enterprise/frontend/.build/frontend/[chromium] › functional/detailed/compliance-assessments.test.ts took 38.8s
🎭 Playwright Run Summary
1 failed [chromium] › functional/detailed/common.test.ts:74:4 › Tests on applied controls item › Tests on applied controls item details › Applied controls item details are showing properly 1 flaky [chromium] › functional/detailed/common.test.ts:82:4 › Tests on reference controls item › Tests on reference controls item details › user can edit reference controls item 2 skipped 13 did not run 237 passed (24.4m)
🎭 Playwright Run Summary
1 failed [chromium] › functional/detailed/common.test.ts:74:4 › Tests on applied controls item › Tests on applied controls item details › Applied controls item details are showing properly 2 flaky [chromium] › functional/detailed/common.test.ts:74:4 › Tests on reference controls item › Tests on reference controls item details › Reference controls item details are showing properly [chromium] › functional/domain-import.test.ts:36:1 › User can import a domain from a .bak file ─ 2 skipped 13 did not run 236 passed (27.2m)

Artifacts

Produced during runtime
Name Size
fix_nested-modeltable-base-endpoint-2025-02-25T19-58-46-functional-tests-report-chromium
57 MB
fix_nested-modeltable-base-endpoint-2025-02-25T20-01-30-enterprise-functional-tests-report-chromium
66.8 MB