Skip to content

Rename Compliance Assessment to Audit - display only #511

Rename Compliance Assessment to Audit - display only

Rename Compliance Assessment to Audit - display only #511

Triggered via pull request April 15, 2024 19:02
Status Failure
Total duration 39m 27s
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:70:4 › Tests on compliance assessments item › Tests on compliance assessments item details › Compliance assessments item details are showing properly: frontend/tests/utils/base-page.ts#L54
1) [chromium] › functional/detailed/common.test.ts:70:4 › Tests on compliance assessments item › Tests on compliance assessments item details › Compliance assessments item details are showing properly Error: Timed out 10000ms waiting for expect(locator).toBeVisible() Locator: getByTestId('toast').filter({ hasText: /The compliance assessment object has been successfully created.+/ }) Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 10000ms - waiting for getByTestId('toast').filter({ hasText: /The compliance assessment object has been successfully created.+/ }) at utils/base-page.ts:54 52 | async isToastVisible(value: string, flags?: string | undefined, options?: {} | undefined) { 53 | const toast = this.page.getByTestId('toast').filter({ hasText: new RegExp(value, flags) }); > 54 | await expect(toast).toBeVisible(options); | ^ 55 | await toast.getByLabel('Dismiss toast').click(); 56 | await expect(toast).toBeHidden(); 57 | return toast; at PageContent.isToastVisible (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/base-page.ts:54:23) at PageContent.createItem (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/page-content.ts:54:15) at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/detailed/common.test.ts:48:5
[chromium] › functional/detailed/common.test.ts:70:4 › Tests on compliance assessments item › Tests on compliance assessments item details › Compliance assessments item details are showing properly: frontend/tests/utils/base-page.ts#L54
1) [chromium] › functional/detailed/common.test.ts:70:4 › Tests on compliance assessments item › Tests on compliance assessments item details › Compliance assessments item details are showing properly Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 10000ms waiting for expect(locator).toBeVisible() Locator: getByTestId('toast').filter({ hasText: /The compliance assessment object has been successfully created.+/ }) Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 10000ms - waiting for getByTestId('toast').filter({ hasText: /The compliance assessment object has been successfully created.+/ }) at utils/base-page.ts:54 52 | async isToastVisible(value: string, flags?: string | undefined, options?: {} | undefined) { 53 | const toast = this.page.getByTestId('toast').filter({ hasText: new RegExp(value, flags) }); > 54 | await expect(toast).toBeVisible(options); | ^ 55 | await toast.getByLabel('Dismiss toast').click(); 56 | await expect(toast).toBeHidden(); 57 | return toast; at PageContent.isToastVisible (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/base-page.ts:54:23) at PageContent.createItem (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/page-content.ts:54:15) at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/detailed/common.test.ts:48:5
[chromium] › functional/user-permissions.test.ts:21:9 › Analyst user has the right permissions › user can set his password: frontend/tests/utils/base-page.ts#L54
2) [chromium] › functional/user-permissions.test.ts:21:9 › Analyst user has the right permissions › user can set his password Error: Timed out 10000ms waiting for expect(locator).toBeVisible() Locator: getByTestId('toast').filter({ hasText: /The compliance assessment object has been successfully created.+/ }) Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 10000ms - waiting for getByTestId('toast').filter({ hasText: /The compliance assessment object has been successfully created.+/ }) at utils/base-page.ts:54 52 | async isToastVisible(value: string, flags?: string | undefined, options?: {} | undefined) { 53 | const toast = this.page.getByTestId('toast').filter({ hasText: new RegExp(value, flags) }); > 54 | await expect(toast).toBeVisible(options); | ^ 55 | await toast.getByLabel('Dismiss toast').click(); 56 | await expect(toast).toBeHidden(); 57 | return toast; at PageContent.isToastVisible (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/base-page.ts:54:23) at PageContent.createItem (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/page-content.ts:54:15) at Object.populateDatabase (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/test-utils.ts:280:4)
[chromium] › functional/user-permissions.test.ts:21:9 › Analyst user has the right permissions › user can set his password: frontend/tests/utils/base-page.ts#L54
2) [chromium] › functional/user-permissions.test.ts:21:9 › Analyst user has the right permissions › user can set his password Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 10000ms waiting for expect(locator).toBeVisible() Locator: getByTestId('toast').filter({ hasText: /The compliance assessment object has been successfully created.+/ }) Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 10000ms - waiting for getByTestId('toast').filter({ hasText: /The compliance assessment object has been successfully created.+/ }) at utils/base-page.ts:54 52 | async isToastVisible(value: string, flags?: string | undefined, options?: {} | undefined) { 53 | const toast = this.page.getByTestId('toast').filter({ hasText: new RegExp(value, flags) }); > 54 | await expect(toast).toBeVisible(options); | ^ 55 | await toast.getByLabel('Dismiss toast').click(); 56 | await expect(toast).toBeHidden(); 57 | return toast; at PageContent.isToastVisible (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/base-page.ts:54:23) at PageContent.createItem (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/page-content.ts:54:15) at Object.populateDatabase (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/test-utils.ts:280:4)
[chromium] › functional/user-permissions.test.ts:21:9 › Auditor user has the right permissions › user can set his password: frontend/tests/utils/base-page.ts#L54
3) [chromium] › functional/user-permissions.test.ts:21:9 › Auditor user has the right permissions › user can set his password Error: Timed out 10000ms waiting for expect(locator).toBeVisible() Locator: getByTestId('toast').filter({ hasText: /The compliance assessment object has been successfully created.+/ }) Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 10000ms - waiting for getByTestId('toast').filter({ hasText: /The compliance assessment object has been successfully created.+/ }) at utils/base-page.ts:54 52 | async isToastVisible(value: string, flags?: string | undefined, options?: {} | undefined) { 53 | const toast = this.page.getByTestId('toast').filter({ hasText: new RegExp(value, flags) }); > 54 | await expect(toast).toBeVisible(options); | ^ 55 | await toast.getByLabel('Dismiss toast').click(); 56 | await expect(toast).toBeHidden(); 57 | return toast; at PageContent.isToastVisible (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/base-page.ts:54:23) at PageContent.createItem (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/page-content.ts:54:15) at Object.populateDatabase (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/test-utils.ts:280:4)
[chromium] › functional/user-permissions.test.ts:21:9 › Auditor user has the right permissions › user can set his password: frontend/tests/utils/base-page.ts#L54
3) [chromium] › functional/user-permissions.test.ts:21:9 › Auditor user has the right permissions › user can set his password Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 10000ms waiting for expect(locator).toBeVisible() Locator: getByTestId('toast').filter({ hasText: /The compliance assessment object has been successfully created.+/ }) Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 10000ms - waiting for getByTestId('toast').filter({ hasText: /The compliance assessment object has been successfully created.+/ }) at utils/base-page.ts:54 52 | async isToastVisible(value: string, flags?: string | undefined, options?: {} | undefined) { 53 | const toast = this.page.getByTestId('toast').filter({ hasText: new RegExp(value, flags) }); > 54 | await expect(toast).toBeVisible(options); | ^ 55 | await toast.getByLabel('Dismiss toast').click(); 56 | await expect(toast).toBeHidden(); 57 | return toast; at PageContent.isToastVisible (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/base-page.ts:54:23) at PageContent.createItem (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/page-content.ts:54:15) at Object.populateDatabase (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/test-utils.ts:280:4)
[chromium] › functional/user-permissions.test.ts:21:9 › Domain manager user has the right permissions › user can set his password: frontend/tests/utils/base-page.ts#L54
4) [chromium] › functional/user-permissions.test.ts:21:9 › Domain manager user has the right permissions › user can set his password Error: Timed out 10000ms waiting for expect(locator).toBeVisible() Locator: getByTestId('toast').filter({ hasText: /The compliance assessment object has been successfully created.+/ }) Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 10000ms - waiting for getByTestId('toast').filter({ hasText: /The compliance assessment object has been successfully created.+/ }) at utils/base-page.ts:54 52 | async isToastVisible(value: string, flags?: string | undefined, options?: {} | undefined) { 53 | const toast = this.page.getByTestId('toast').filter({ hasText: new RegExp(value, flags) }); > 54 | await expect(toast).toBeVisible(options); | ^ 55 | await toast.getByLabel('Dismiss toast').click(); 56 | await expect(toast).toBeHidden(); 57 | return toast; at PageContent.isToastVisible (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/base-page.ts:54:23) at PageContent.createItem (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/page-content.ts:54:15) at Object.populateDatabase (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/test-utils.ts:280:4)
[chromium] › functional/user-permissions.test.ts:21:9 › Domain manager user has the right permissions › user can set his password: frontend/tests/utils/base-page.ts#L54
4) [chromium] › functional/user-permissions.test.ts:21:9 › Domain manager user has the right permissions › user can set his password Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 10000ms waiting for expect(locator).toBeVisible() Locator: getByTestId('toast').filter({ hasText: /The compliance assessment object has been successfully created.+/ }) Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 10000ms - waiting for getByTestId('toast').filter({ hasText: /The compliance assessment object has been successfully created.+/ }) at utils/base-page.ts:54 52 | async isToastVisible(value: string, flags?: string | undefined, options?: {} | undefined) { 53 | const toast = this.page.getByTestId('toast').filter({ hasText: new RegExp(value, flags) }); > 54 | await expect(toast).toBeVisible(options); | ^ 55 | await toast.getByLabel('Dismiss toast').click(); 56 | await expect(toast).toBeHidden(); 57 | return toast; at PageContent.isToastVisible (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/base-page.ts:54:23) at PageContent.createItem (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/page-content.ts:54:15) at Object.populateDatabase (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/test-utils.ts:280:4)
[chromium] › functional/user-permissions.test.ts:21:9 › Approver user has the right permissions › user can set his password: frontend/tests/utils/base-page.ts#L54
5) [chromium] › functional/user-permissions.test.ts:21:9 › Approver user has the right permissions › user can set his password Error: Timed out 10000ms waiting for expect(locator).toBeVisible() Locator: getByTestId('toast').filter({ hasText: /The compliance assessment object has been successfully created.+/ }) Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 10000ms - waiting for getByTestId('toast').filter({ hasText: /The compliance assessment object has been successfully created.+/ }) at utils/base-page.ts:54 52 | async isToastVisible(value: string, flags?: string | undefined, options?: {} | undefined) { 53 | const toast = this.page.getByTestId('toast').filter({ hasText: new RegExp(value, flags) }); > 54 | await expect(toast).toBeVisible(options); | ^ 55 | await toast.getByLabel('Dismiss toast').click(); 56 | await expect(toast).toBeHidden(); 57 | return toast; at PageContent.isToastVisible (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/base-page.ts:54:23) at PageContent.createItem (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/page-content.ts:54:15) at Object.populateDatabase (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/test-utils.ts:280:4)
[chromium] › functional/user-permissions.test.ts:21:9 › Approver user has the right permissions › user can set his password: frontend/tests/utils/base-page.ts#L54
5) [chromium] › functional/user-permissions.test.ts:21:9 › Approver user has the right permissions › user can set his password Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 10000ms waiting for expect(locator).toBeVisible() Locator: getByTestId('toast').filter({ hasText: /The compliance assessment object has been successfully created.+/ }) Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 10000ms - waiting for getByTestId('toast').filter({ hasText: /The compliance assessment object has been successfully created.+/ }) at utils/base-page.ts:54 52 | async isToastVisible(value: string, flags?: string | undefined, options?: {} | undefined) { 53 | const toast = this.page.getByTestId('toast').filter({ hasText: new RegExp(value, flags) }); > 54 | await expect(toast).toBeVisible(options); | ^ 55 | await toast.getByLabel('Dismiss toast').click(); 56 | await expect(toast).toBeHidden(); 57 | return toast; at PageContent.isToastVisible (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/base-page.ts:54:23) at PageContent.createItem (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/page-content.ts:54:15) at Object.populateDatabase (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/test-utils.ts:280:4)
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
12 failed [chromium] › functional/detailed/common.test.ts:70:4 › Tests on compliance assessments item › Tests on compliance assessments item details › Compliance assessments item details are showing properly [chromium] › functional/user-permissions.test.ts:21:9 › Analyst user has the right permissions › user can set his password [chromium] › functional/user-permissions.test.ts:21:9 › Auditor user has the right permissions › user can set his password [chromium] › functional/user-permissions.test.ts:21:9 › Domain manager user has the right permissions › user can set his password [chromium] › functional/user-permissions.test.ts:21:9 › Approver user has the right permissions › user can set his password [chromium] › functional/user-route.test.ts:6:1 › user usual routine actions are working correctly [firefox] › functional/detailed/common.test.ts:70:4 › Tests on compliance assessments item › Tests on compliance assessments item details › Compliance assessments item details are showing properly [firefox] › functional/user-permissions.test.ts:21:9 › Analyst user has the right permissions › user can set his password [firefox] › functional/user-permissions.test.ts:21:9 › Auditor user has the right permissions › user can set his password [firefox] › functional/user-permissions.test.ts:21:9 › Domain manager user has the right permissions › user can set his password [firefox] › functional/user-permissions.test.ts:21:9 › Approver user has the right permissions › user can set his password [firefox] › functional/user-route.test.ts:6:1 › user usual routine actions are working correctly 406 skipped 44 passed (35.1m)

Artifacts

Produced during runtime
Name Size
functional-tests-report Expired
1.02 GB