Add Risk Acceptances workflow testing #1889
Annotations
5 errors, 6 warnings, and 1 notice
Run tests with browser chromium:
frontend/tests/functional/detailed/risk-acceptances.test.ts#L1
1) [chromium] › functional/detailed/risk-acceptances.test.ts:9:1 › risk acceptances can be processed
Test timeout of 50000ms exceeded.
|
Run tests with browser chromium:
frontend/tests/utils/base-page.ts#L24
1) [chromium] › functional/detailed/risk-acceptances.test.ts:9:1 › risk acceptances can be processed
Error: page.waitForURL: Test timeout of 50000ms exceeded.
=========================== logs ===========================
waiting for navigation to "/users" until "load"
navigated to "http://localhost:4173/login?next=/users"
============================================================
at utils/base-page.ts:24
22 | async goto() {
23 | await this.page.goto(this.url);
> 24 | await this.page.waitForURL(this.url);
| ^
25 | }
26 |
27 | async hasTitle(title: string | RegExp = this.name) {
at PageContent.goto (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/base-page.ts:24:19)
at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/detailed/risk-acceptances.test.ts:21:3
|
Run tests with browser chromium:
frontend/tests/functional/detailed/risk-acceptances.test.ts#L1
1) [chromium] › functional/detailed/risk-acceptances.test.ts:9:1 › risk acceptances can be processed
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 50000ms exceeded.
|
Run tests with browser chromium:
frontend/tests/utils/base-page.ts#L24
1) [chromium] › functional/detailed/risk-acceptances.test.ts:9:1 › risk acceptances can be processed
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: page.waitForURL: Test timeout of 50000ms exceeded.
=========================== logs ===========================
waiting for navigation to "/users" until "load"
============================================================
at utils/base-page.ts:24
22 | async goto() {
23 | await this.page.goto(this.url);
> 24 | await this.page.waitForURL(this.url);
| ^
25 | }
26 |
27 | async hasTitle(title: string | RegExp = this.name) {
at PageContent.goto (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/base-page.ts:24:19)
at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/detailed/risk-acceptances.test.ts:21:3
|
Run tests with browser chromium
Process completed with exit code 1.
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-python@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Run tests with browser chromium:
frontend/[chromium] › functional/user-permissions.test.ts#L1
frontend/[chromium] › functional/user-permissions.test.ts took 5.0m
|
Run tests with browser chromium:
frontend/[chromium] › functional/detailed/libraries.test.ts#L1
frontend/[chromium] › functional/detailed/libraries.test.ts took 5.0m
|
Run tests with browser chromium:
frontend/[chromium] › functional/detailed/common.test.ts#L1
frontend/[chromium] › functional/detailed/common.test.ts took 3.0m
|
Run tests with browser chromium:
frontend/[chromium] › functional/user-route.test.ts#L1
frontend/[chromium] › functional/user-route.test.ts took 56.0s
|
Run tests with browser chromium:
frontend/[chromium] › functional/nav.test.ts#L1
frontend/[chromium] › functional/nav.test.ts took 54.7s
|
Run tests with browser chromium
1 failed
[chromium] › functional/detailed/risk-acceptances.test.ts:9:1 › risk acceptances can be processed
2 skipped
230 passed (19.5m)
|
Loading