Skip to content

Fix Donut Chart

Fix Donut Chart #51

Triggered via pull request February 25, 2024 02:51
Status Failure
Total duration 17m 16s
Artifacts 1

functional-tests.yml

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

Annotations

10 errors, 1 warning, and 1 notice
[chromium] › functional/detailed/common.test.ts:66:4 › Tests on projects item › Tests on projects item details › Projects item details are showing properly: frontend/tests/utils/page-detail.ts#L74
1) [chromium] › functional/detailed/common.test.ts:66:4 › Tests on projects item › Tests on projects item details › Projects item details are showing properly Error: Timed out 10000ms waiting for expect(locator).toHaveText(expected) Locator: getByTestId('lc-status-field-title') Expected pattern: /lc status/i Received string: "Status" Call log: - expect.soft.toHaveText with timeout 10000ms - waiting for getByTestId('lc-status-field-title') - locator resolved to <div data-testid="lc-status-field-title" class="text-…>Status</div> - unexpected value "Status" - locator resolved to <div data-testid="lc-status-field-title" class="text-…>Status</div> - unexpected value "Status" - locator resolved to <div data-testid="lc-status-field-title" class="text-…>Status</div> - unexpected value "Status" - locator resolved to <div data-testid="lc-status-field-title" class="text-…>Status</div> - unexpected value "Status" - locator resolved to <div data-testid="lc-status-field-title" class="text-…>Status</div> - unexpected value "Status" - locator resolved to <div data-testid="lc-status-field-title" class="text-…>Status</div> - unexpected value "Status" - locator resolved to <div data-testid="lc-status-field-title" class="text-…>Status</div> - unexpected value "Status" - locator resolved to <div data-testid="lc-status-field-title" class="text-…>Status</div> - unexpected value "Status" - locator resolved to <div data-testid="lc-status-field-title" class="text-…>Status</div> - unexpected value "Status" - locator resolved to <div data-testid="lc-status-field-title" class="text-…>Status</div> - unexpected value "Status" - locator resolved to <div data-testid="lc-status-field-title" class="text-…>Status</div> - unexpected value "Status" - locator resolved to <div data-testid="lc-status-field-title" class="text-…>Status</div> - unexpected value "Status" - locator resolved to <div data-testid="lc-status-field-title" class="text-…>Status</div> - unexpected value "Status" - locator resolved to <div data-testid="lc-status-field-title" class="text-…>Status</div> - unexpected value "Status" at utils/page-detail.ts:74 72 | await expect 73 | .soft(this.page.getByTestId(key.replaceAll('_', '-') + '-field-title')) > 74 | .toHaveText(new RegExp(key.replaceAll('_', ' '), 'i')); | ^ 75 | 76 | if (this.form.fields.get(key)?.type === FormFieldType.CHECKBOX) { 77 | await expect at PageDetail.verifyItem (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/page-detail.ts:74:8) at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/detailed/common.test.ts:70:5
[chromium] › functional/detailed/common.test.ts:66:4 › Tests on projects item › Tests on projects item details › Projects item details are showing properly: frontend/tests/utils/page-detail.ts#L74
1) [chromium] › functional/detailed/common.test.ts:66:4 › Tests on projects item › Tests on projects item details › Projects item details are showing properly Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 10000ms waiting for expect(locator).toHaveText(expected) Locator: getByTestId('lc-status-field-title') Expected pattern: /lc status/i Received string: "Status" Call log: - expect.soft.toHaveText with timeout 10000ms - waiting for getByTestId('lc-status-field-title') - locator resolved to <div data-testid="lc-status-field-title" class="text-…>Status</div> - unexpected value "Status" - locator resolved to <div data-testid="lc-status-field-title" class="text-…>Status</div> - unexpected value "Status" - locator resolved to <div data-testid="lc-status-field-title" class="text-…>Status</div> - unexpected value "Status" - locator resolved to <div data-testid="lc-status-field-title" class="text-…>Status</div> - unexpected value "Status" - locator resolved to <div data-testid="lc-status-field-title" class="text-…>Status</div> - unexpected value "Status" - locator resolved to <div data-testid="lc-status-field-title" class="text-…>Status</div> - unexpected value "Status" - locator resolved to <div data-testid="lc-status-field-title" class="text-…>Status</div> - unexpected value "Status" - locator resolved to <div data-testid="lc-status-field-title" class="text-…>Status</div> - unexpected value "Status" - locator resolved to <div data-testid="lc-status-field-title" class="text-…>Status</div> - unexpected value "Status" - locator resolved to <div data-testid="lc-status-field-title" class="text-…>Status</div> - unexpected value "Status" - locator resolved to <div data-testid="lc-status-field-title" class="text-…>Status</div> - unexpected value "Status" - locator resolved to <div data-testid="lc-status-field-title" class="text-…>Status</div> - unexpected value "Status" - locator resolved to <div data-testid="lc-status-field-title" class="text-…>Status</div> - unexpected value "Status" - locator resolved to <div data-testid="lc-status-field-title" class="text-…>Status</div> - unexpected value "Status" at utils/page-detail.ts:74 72 | await expect 73 | .soft(this.page.getByTestId(key.replaceAll('_', '-') + '-field-title')) > 74 | .toHaveText(new RegExp(key.replaceAll('_', ' '), 'i')); | ^ 75 | 76 | if (this.form.fields.get(key)?.type === FormFieldType.CHECKBOX) { 77 | await expect at PageDetail.verifyItem (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/page-detail.ts:74:8) at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/detailed/common.test.ts:70:5
[chromium] › functional/detailed/common.test.ts:66:4 › Tests on projects item › Tests on projects item details › Projects item details are showing properly: frontend/tests/utils/page-detail.ts#L74
1) [chromium] › functional/detailed/common.test.ts:66:4 › Tests on projects item › Tests on projects item details › Projects item details are showing properly Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 10000ms waiting for expect(locator).toHaveText(expected) Locator: getByTestId('lc-status-field-title') Expected pattern: /lc status/i Received string: "Status" Call log: - expect.soft.toHaveText with timeout 10000ms - waiting for getByTestId('lc-status-field-title') - locator resolved to <div data-testid="lc-status-field-title" class="text-…>Status</div> - unexpected value "Status" - locator resolved to <div data-testid="lc-status-field-title" class="text-…>Status</div> - unexpected value "Status" - locator resolved to <div data-testid="lc-status-field-title" class="text-…>Status</div> - unexpected value "Status" - locator resolved to <div data-testid="lc-status-field-title" class="text-…>Status</div> - unexpected value "Status" - locator resolved to <div data-testid="lc-status-field-title" class="text-…>Status</div> - unexpected value "Status" - locator resolved to <div data-testid="lc-status-field-title" class="text-…>Status</div> - unexpected value "Status" - locator resolved to <div data-testid="lc-status-field-title" class="text-…>Status</div> - unexpected value "Status" - locator resolved to <div data-testid="lc-status-field-title" class="text-…>Status</div> - unexpected value "Status" - locator resolved to <div data-testid="lc-status-field-title" class="text-…>Status</div> - unexpected value "Status" - locator resolved to <div data-testid="lc-status-field-title" class="text-…>Status</div> - unexpected value "Status" - locator resolved to <div data-testid="lc-status-field-title" class="text-…>Status</div> - unexpected value "Status" - locator resolved to <div data-testid="lc-status-field-title" class="text-…>Status</div> - unexpected value "Status" - locator resolved to <div data-testid="lc-status-field-title" class="text-…>Status</div> - unexpected value "Status" - locator resolved to <div data-testid="lc-status-field-title" class="text-…>Status</div> - unexpected value "Status" at utils/page-detail.ts:74 72 | await expect 73 | .soft(this.page.getByTestId(key.replaceAll('_', '-') + '-field-title')) > 74 | .toHaveText(new RegExp(key.replaceAll('_', ' '), 'i')); | ^ 75 | 76 | if (this.form.fields.get(key)?.type === FormFieldType.CHECKBOX) { 77 | await expect at PageDetail.verifyItem (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/page-detail.ts:74:8) at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/detailed/common.test.ts:70:5
[chromium] › functional/nav.test.ts:9:1 › sidebar navigation tests: frontend/tests/utils/sidebar.ts#L40
2) [chromium] › functional/nav.test.ts:9:1 › sidebar navigation tests › navigation link are working properly Error: Timed out 10000ms waiting for expect(locator).toBeVisible() Locator: getByTestId('accordion-item-calendar') Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 10000ms - waiting for getByTestId('accordion-item-calendar') at utils/sidebar.ts:40 38 | await this.page.locator('#' + parent.toLowerCase().replace(' ', '-')).click(); 39 | } > 40 | await expect(this.page.getByTestId('accordion-item-' + tab.substring(1))).toBeVisible(); | ^ 41 | await this.page.getByTestId('accordion-item-' + tab.substring(1)).click(); 42 | await this.page.waitForURL(tab); 43 | } at SideBar.click (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/sidebar.ts:40:77) at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/nav.test.ts:28:6 at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/nav.test.ts:18:2
[chromium] › functional/nav.test.ts:9:1 › sidebar navigation tests: frontend/tests/utils/sidebar.ts#L40
2) [chromium] › functional/nav.test.ts:9:1 › sidebar navigation tests › navigation link are working properly Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 10000ms waiting for expect(locator).toBeVisible() Locator: getByTestId('accordion-item-calendar') Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 10000ms - waiting for getByTestId('accordion-item-calendar') at utils/sidebar.ts:40 38 | await this.page.locator('#' + parent.toLowerCase().replace(' ', '-')).click(); 39 | } > 40 | await expect(this.page.getByTestId('accordion-item-' + tab.substring(1))).toBeVisible(); | ^ 41 | await this.page.getByTestId('accordion-item-' + tab.substring(1)).click(); 42 | await this.page.waitForURL(tab); 43 | } at SideBar.click (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/sidebar.ts:40:77) at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/nav.test.ts:28:6 at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/nav.test.ts:18:2
[chromium] › functional/nav.test.ts:9:1 › sidebar navigation tests: frontend/tests/utils/sidebar.ts#L40
2) [chromium] › functional/nav.test.ts:9:1 › sidebar navigation tests › navigation link are working properly Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 10000ms waiting for expect(locator).toBeVisible() Locator: getByTestId('accordion-item-calendar') Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 10000ms - waiting for getByTestId('accordion-item-calendar') at utils/sidebar.ts:40 38 | await this.page.locator('#' + parent.toLowerCase().replace(' ', '-')).click(); 39 | } > 40 | await expect(this.page.getByTestId('accordion-item-' + tab.substring(1))).toBeVisible(); | ^ 41 | await this.page.getByTestId('accordion-item-' + tab.substring(1)).click(); 42 | await this.page.waitForURL(tab); 43 | } at SideBar.click (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/sidebar.ts:40:77) at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/nav.test.ts:28:6 at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/nav.test.ts:18:2
[firefox] › functional/detailed/common.test.ts:66:4 › Tests on projects item › Tests on projects item details › Projects item details are showing properly: frontend/tests/utils/page-detail.ts#L74
3) [firefox] › functional/detailed/common.test.ts:66:4 › Tests on projects item › Tests on projects item details › Projects item details are showing properly Error: Timed out 10000ms waiting for expect(locator).toHaveText(expected) Locator: getByTestId('lc-status-field-title') Expected pattern: /lc status/i Received string: "Status" Call log: - expect.soft.toHaveText with timeout 10000ms - waiting for getByTestId('lc-status-field-title') - locator resolved to <div data-testid="lc-status-field-title" class="text-…>Status</div> - unexpected value "Status" - locator resolved to <div data-testid="lc-status-field-title" class="text-…>Status</div> - unexpected value "Status" - locator resolved to <div data-testid="lc-status-field-title" class="text-…>Status</div> - unexpected value "Status" - locator resolved to <div data-testid="lc-status-field-title" class="text-…>Status</div> - unexpected value "Status" - locator resolved to <div data-testid="lc-status-field-title" class="text-…>Status</div> - unexpected value "Status" - locator resolved to <div data-testid="lc-status-field-title" class="text-…>Status</div> - unexpected value "Status" - locator resolved to <div data-testid="lc-status-field-title" class="text-…>Status</div> - unexpected value "Status" - locator resolved to <div data-testid="lc-status-field-title" class="text-…>Status</div> - unexpected value "Status" - locator resolved to <div data-testid="lc-status-field-title" class="text-…>Status</div> - unexpected value "Status" - locator resolved to <div data-testid="lc-status-field-title" class="text-…>Status</div> - unexpected value "Status" - locator resolved to <div data-testid="lc-status-field-title" class="text-…>Status</div> - unexpected value "Status" - locator resolved to <div data-testid="lc-status-field-title" class="text-…>Status</div> - unexpected value "Status" - locator resolved to <div data-testid="lc-status-field-title" class="text-…>Status</div> - unexpected value "Status" - locator resolved to <div data-testid="lc-status-field-title" class="text-…>Status</div> - unexpected value "Status" at utils/page-detail.ts:74 72 | await expect 73 | .soft(this.page.getByTestId(key.replaceAll('_', '-') + '-field-title')) > 74 | .toHaveText(new RegExp(key.replaceAll('_', ' '), 'i')); | ^ 75 | 76 | if (this.form.fields.get(key)?.type === FormFieldType.CHECKBOX) { 77 | await expect at PageDetail.verifyItem (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/page-detail.ts:74:8) at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/detailed/common.test.ts:70:5
[firefox] › functional/detailed/common.test.ts:66:4 › Tests on projects item › Tests on projects item details › Projects item details are showing properly: frontend/tests/utils/page-detail.ts#L74
3) [firefox] › functional/detailed/common.test.ts:66:4 › Tests on projects item › Tests on projects item details › Projects item details are showing properly Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 10000ms waiting for expect(locator).toHaveText(expected) Locator: getByTestId('lc-status-field-title') Expected pattern: /lc status/i Received string: "Status" Call log: - expect.soft.toHaveText with timeout 10000ms - waiting for getByTestId('lc-status-field-title') - locator resolved to <div data-testid="lc-status-field-title" class="text-…>Status</div> - unexpected value "Status" - locator resolved to <div data-testid="lc-status-field-title" class="text-…>Status</div> - unexpected value "Status" - locator resolved to <div data-testid="lc-status-field-title" class="text-…>Status</div> - unexpected value "Status" - locator resolved to <div data-testid="lc-status-field-title" class="text-…>Status</div> - unexpected value "Status" - locator resolved to <div data-testid="lc-status-field-title" class="text-…>Status</div> - unexpected value "Status" - locator resolved to <div data-testid="lc-status-field-title" class="text-…>Status</div> - unexpected value "Status" - locator resolved to <div data-testid="lc-status-field-title" class="text-…>Status</div> - unexpected value "Status" - locator resolved to <div data-testid="lc-status-field-title" class="text-…>Status</div> - unexpected value "Status" - locator resolved to <div data-testid="lc-status-field-title" class="text-…>Status</div> - unexpected value "Status" - locator resolved to <div data-testid="lc-status-field-title" class="text-…>Status</div> - unexpected value "Status" - locator resolved to <div data-testid="lc-status-field-title" class="text-…>Status</div> - unexpected value "Status" - locator resolved to <div data-testid="lc-status-field-title" class="text-…>Status</div> - unexpected value "Status" - locator resolved to <div data-testid="lc-status-field-title" class="text-…>Status</div> - unexpected value "Status" - locator resolved to <div data-testid="lc-status-field-title" class="text-…>Status</div> - unexpected value "Status" at utils/page-detail.ts:74 72 | await expect 73 | .soft(this.page.getByTestId(key.replaceAll('_', '-') + '-field-title')) > 74 | .toHaveText(new RegExp(key.replaceAll('_', ' '), 'i')); | ^ 75 | 76 | if (this.form.fields.get(key)?.type === FormFieldType.CHECKBOX) { 77 | await expect at PageDetail.verifyItem (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/page-detail.ts:74:8) at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/detailed/common.test.ts:70:5
[firefox] › functional/detailed/common.test.ts:66:4 › Tests on projects item › Tests on projects item details › Projects item details are showing properly: frontend/tests/utils/page-detail.ts#L74
3) [firefox] › functional/detailed/common.test.ts:66:4 › Tests on projects item › Tests on projects item details › Projects item details are showing properly Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 10000ms waiting for expect(locator).toHaveText(expected) Locator: getByTestId('lc-status-field-title') Expected pattern: /lc status/i Received string: "Status" Call log: - expect.soft.toHaveText with timeout 10000ms - waiting for getByTestId('lc-status-field-title') - locator resolved to <div data-testid="lc-status-field-title" class="text-…>Status</div> - unexpected value "Status" - locator resolved to <div data-testid="lc-status-field-title" class="text-…>Status</div> - unexpected value "Status" - locator resolved to <div data-testid="lc-status-field-title" class="text-…>Status</div> - unexpected value "Status" - locator resolved to <div data-testid="lc-status-field-title" class="text-…>Status</div> - unexpected value "Status" - locator resolved to <div data-testid="lc-status-field-title" class="text-…>Status</div> - unexpected value "Status" - locator resolved to <div data-testid="lc-status-field-title" class="text-…>Status</div> - unexpected value "Status" - locator resolved to <div data-testid="lc-status-field-title" class="text-…>Status</div> - unexpected value "Status" - locator resolved to <div data-testid="lc-status-field-title" class="text-…>Status</div> - unexpected value "Status" - locator resolved to <div data-testid="lc-status-field-title" class="text-…>Status</div> - unexpected value "Status" - locator resolved to <div data-testid="lc-status-field-title" class="text-…>Status</div> - unexpected value "Status" - locator resolved to <div data-testid="lc-status-field-title" class="text-…>Status</div> - unexpected value "Status" - locator resolved to <div data-testid="lc-status-field-title" class="text-…>Status</div> - unexpected value "Status" - locator resolved to <div data-testid="lc-status-field-title" class="text-…>Status</div> - unexpected value "Status" - locator resolved to <div data-testid="lc-status-field-title" class="text-…>Status</div> - unexpected value "Status" at utils/page-detail.ts:74 72 | await expect 73 | .soft(this.page.getByTestId(key.replaceAll('_', '-') + '-field-title')) > 74 | .toHaveText(new RegExp(key.replaceAll('_', ' '), 'i')); | ^ 75 | 76 | if (this.form.fields.get(key)?.type === FormFieldType.CHECKBOX) { 77 | await expect at PageDetail.verifyItem (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/page-detail.ts:74:8) at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/detailed/common.test.ts:70:5
[firefox] › functional/nav.test.ts:9:1 › sidebar navigation tests: frontend/tests/utils/sidebar.ts#L40
4) [firefox] › functional/nav.test.ts:9:1 › sidebar navigation tests › navigation link are working properly Error: Timed out 10000ms waiting for expect(locator).toBeVisible() Locator: getByTestId('accordion-item-calendar') Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 10000ms - waiting for getByTestId('accordion-item-calendar') at utils/sidebar.ts:40 38 | await this.page.locator('#' + parent.toLowerCase().replace(' ', '-')).click(); 39 | } > 40 | await expect(this.page.getByTestId('accordion-item-' + tab.substring(1))).toBeVisible(); | ^ 41 | await this.page.getByTestId('accordion-item-' + tab.substring(1)).click(); 42 | await this.page.waitForURL(tab); 43 | } at SideBar.click (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/sidebar.ts:40:77) at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/nav.test.ts:28:6 at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/nav.test.ts:18:2
functional-tests (3.11)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-python@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
🎭 Playwright Run Summary
5 failed [chromium] › functional/detailed/common.test.ts:66:4 › Tests on projects item › Tests on projects item details › Projects item details are showing properly [chromium] › functional/nav.test.ts:9:1 › sidebar navigation tests ───────────────────────────── [firefox] › functional/detailed/common.test.ts:66:4 › Tests on projects item › Tests on projects item details › Projects item details are showing properly [firefox] › functional/nav.test.ts:9:1 › sidebar navigation tests ────────────────────────────── [firefox] › functional/user-route.test.ts:6:1 › user usual routine actions are working correctly 40 skipped 19 passed (15.3m)

Artifacts

Produced during runtime
Name Size
functional-tests-report Expired
213 MB