Feat/manage strength of knowledge #117
Annotations
2 errors, 1 warning, and 1 notice
[chromium] › functional/detailed/common.test.ts:66: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#L29
1) [chromium] › functional/detailed/common.test.ts:66:4 › Tests on compliance assessments item › Tests on compliance assessments item details › Compliance assessments item details are showing properly
Error: Timed out 15000ms waiting for expect(locator).toBeVisible()
Locator: getByTestId('toast').filter({ hasText: /Successfully imported library urn:intuitem:risk:library:nist-csf-1.1.+/ })
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 15000ms
- waiting for getByTestId('toast').filter({ hasText: /Successfully imported library urn:intuitem:risk:library:nist-csf-1.1.+/ })
at utils/base-page.ts:29
27 | async isToastVisible(value: string, flags?: string | undefined, options?: {} | undefined) {
28 | const toast = this.page.getByTestId('toast').filter({ hasText: new RegExp(value, flags) });
> 29 | await expect(toast).toBeVisible(options);
| ^
30 | await toast.getByLabel('Dismiss toast').click();
31 | await expect(toast).toBeHidden();
32 | return toast;
at PageContent.isToastVisible (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/base-page.ts:29:23)
at PageContent.importLibrary (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/page-content.ts:82:14)
at PageContent.createItem (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/page-content.ts:48:4)
at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/detailed/common.test.ts:48:5
|
[firefox] › functional/detailed/common.test.ts:66:4 › Tests on security measures item › Tests on security measures item details › Security measures item details are showing properly:
frontend/tests/utils/base-page.ts#L17
2) [firefox] › functional/detailed/common.test.ts:66:4 › Tests on security measures item › Tests on security measures item details › Security measures item details are showing properly
Error: page.goto: Target page, context or browser has been closed
Call log:
- navigating to "http://localhost:4173/login", waiting until "load"
at utils/base-page.ts:17
15 |
16 | async goto() {
> 17 | await this.page.goto(this.url);
| ^
18 | await this.page.waitForURL(this.url);
19 | }
20 |
at LoginPage.goto (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/base-page.ts:17:19)
at Object.logedPage (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/test-utils.ts:239:19)
|
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
2 flaky
[chromium] › functional/detailed/common.test.ts:66:4 › Tests on compliance assessments item › Tests on compliance assessments item details › Compliance assessments item details are showing properly
[firefox] › functional/detailed/common.test.ts:66:4 › Tests on security measures item › Tests on security measures item details › Security measures item details are showing properly
2 skipped
60 passed (14.9m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
functional-tests-report
Expired
|
9.35 MB |
|