Skip to content

438: Support levels in ASVS #974

438: Support levels in ASVS

438: Support levels in ASVS #974

Re-run triggered June 1, 2024 16:26
Status Success
Total duration 21m 50s
Artifacts 3

functional-tests.yml

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

Annotations

4 errors, 12 warnings, and 2 notices
[chromium] › functional/detailed/libraries.test.ts:5:1 › every library can be loaded: frontend/tests/functional/detailed/libraries.test.ts#L1
1) [chromium] › functional/detailed/libraries.test.ts:5:1 › every library can be loaded ────────── Test timeout of 150000ms exceeded.
[chromium] › functional/detailed/libraries.test.ts:5:1 › every library can be loaded: frontend/tests/utils/base-page.ts#L61
1) [chromium] › functional/detailed/libraries.test.ts:5:1 › every library can be loaded ────────── Error: expect(locator).toBeVisible() Locator: getByTestId('toast').filter({ hasText: /The library has been successfully loaded.+/ }) Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 15000ms - waiting for getByTestId('toast').filter({ hasText: /The library has been successfully loaded.+/ }) at utils/base-page.ts:61 59 | async isToastVisible(value: string, flags?: string | undefined, options?: {} | undefined) { 60 | const toast = this.page.getByTestId('toast').filter({ hasText: new RegExp(value, flags) }); > 61 | await expect(toast).toBeVisible(options); | ^ 62 | await toast.getByLabel('Dismiss toast').click(); 63 | await expect(toast).toBeHidden(); 64 | return toast; at PageContent.isToastVisible (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/base-page.ts:61:23) at PageContent.importLibrary (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/page-content.ts:88:14) at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/detailed/libraries.test.ts:19:3
[firefox] › functional/detailed/libraries.test.ts:5:1 › every library can be loaded: frontend/tests/functional/detailed/libraries.test.ts#L1
1) [firefox] › functional/detailed/libraries.test.ts:5:1 › every library can be loaded ─────────── Test timeout of 150000ms exceeded.
[firefox] › functional/detailed/libraries.test.ts:5:1 › every library can be loaded: frontend/tests/utils/page-content.ts#L81
1) [firefox] › functional/detailed/libraries.test.ts:5:1 › every library can be loaded ─────────── Error: locator.isHidden: Test timeout of 150000ms exceeded. Call log: - checking visibility of getByRole('row', { name: 'matrice-des-risques-critiques-5x5' }).first().getByTestId('tablerow-import-button') at utils/page-content.ts:81 79 | } 80 | // If the library is not visible, it might have already been loaded > 81 | if (await this.importItemButton(ref, language === 'any' ? undefined : language).isHidden()) { | ^ 82 | await this.tab('Loaded libraries').click(); 83 | expect(this.tab('Loaded libraries').getAttribute('aria-selected')).toBeTruthy(); 84 | expect(this.getRow(ref)).toBeVisible(); at PageContent.importLibrary (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/page-content.ts:81:83) at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/detailed/libraries.test.ts:19:3
functional-tests (3.11, chromium)
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/.
Slow Test: frontend/[chromium] › functional/user-permissions.test.ts#L1
frontend/[chromium] › functional/user-permissions.test.ts took 4.9m
Slow Test: frontend/[chromium] › functional/detailed/common.test.ts#L1
frontend/[chromium] › functional/detailed/common.test.ts took 3.0m
Slow Test: frontend/[chromium] › functional/user-route.test.ts#L1
frontend/[chromium] › functional/user-route.test.ts took 54.9s
Slow Test: frontend/[chromium] › functional/nav.test.ts#L1
frontend/[chromium] › functional/nav.test.ts took 34.9s
Slow Test: frontend/[chromium] › functional/detailed/compliance-assessments.test.ts#L1
frontend/[chromium] › functional/detailed/compliance-assessments.test.ts took 25.9s
functional-tests (3.11, firefox)
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/.
Slow Test: frontend/[firefox] › functional/user-permissions.test.ts#L1
frontend/[firefox] › functional/user-permissions.test.ts took 6.1m
Slow Test: frontend/[firefox] › functional/detailed/common.test.ts#L1
frontend/[firefox] › functional/detailed/common.test.ts took 3.4m
Slow Test: frontend/[firefox] › functional/user-route.test.ts#L1
frontend/[firefox] › functional/user-route.test.ts took 1.2m
Slow Test: frontend/[firefox] › functional/nav.test.ts#L1
frontend/[firefox] › functional/nav.test.ts took 38.2s
Slow Test: frontend/[firefox] › functional/detailed/compliance-assessments.test.ts#L1
frontend/[firefox] › functional/detailed/compliance-assessments.test.ts took 28.1s
🎭 Playwright Run Summary
1 flaky [chromium] › functional/detailed/libraries.test.ts:5:1 › every library can be loaded ─────────── 2 skipped 229 passed (16.0m)
🎭 Playwright Run Summary
1 flaky [firefox] › functional/detailed/libraries.test.ts:5:1 › every library can be loaded ──────────── 2 skipped 229 passed (19.0m)

Artifacts

Produced during runtime
Name Size
functional-tests-report-firefox Expired
321 MB