Hotfix/sanitize toasts #1026
Annotations
2 errors, 6 warnings, and 1 notice
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.
|
frontend/tests/utils/base-page.ts#L61
1) [firefox] › 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
|
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/.
|
frontend/[firefox] › functional/user-permissions.test.ts#L1
frontend/[firefox] › functional/user-permissions.test.ts took 6.2m
|
frontend/[firefox] › functional/detailed/common.test.ts#L1
frontend/[firefox] › functional/detailed/common.test.ts took 3.4m
|
frontend/[firefox] › functional/user-route.test.ts#L1
frontend/[firefox] › functional/user-route.test.ts took 1.2m
|
frontend/[firefox] › functional/nav.test.ts#L1
frontend/[firefox] › functional/nav.test.ts took 38.7s
|
frontend/[firefox] › functional/detailed/compliance-assessments.test.ts#L1
frontend/[firefox] › functional/detailed/compliance-assessments.test.ts took 26.9s
|
|
This job succeeded
Loading