Skip to content

Reflect recent changes on Applied controls on Policies' CRUD and tabl… #2922

Reflect recent changes on Applied controls on Policies' CRUD and tabl…

Reflect recent changes on Applied controls on Policies' CRUD and tabl… #2922

Re-run triggered November 22, 2024 21:53
Status Failure
Total duration 27m 27s
Artifacts 4

functional-tests.yml

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

Annotations

4 errors, 11 warnings, and 2 notices
[chromium] › functional/user-permissions.test.ts:187:6 › Approver user has the right permissions › risk acceptances permissions › Approver user can not delete risk acceptances: enterprise/frontend/.build/frontend/tests/utils/login-page.ts#L50
1) [chromium] › functional/user-permissions.test.ts:187:6 › Approver user has the right permissions › risk acceptances permissions › Approver user can not delete risk acceptances TimeoutError: page.waitForURL: Timeout 10000ms exceeded. =========================== logs =========================== waiting for navigation until "load" ============================================================ at utils/login-page.ts:50 48 | await this.loginButton.click(); 49 | if (email === LoginPage.defaultEmail && password === LoginPage.defaultPassword) { > 50 | await this.page.waitForURL(/^.*\/((?!login).)*$/, { timeout: 10000 }); | ^ 51 | } else { 52 | await this.page.waitForURL(/^.*\/login(\?next=\/.*)?$/); 53 | } at LoginPage.login (/home/runner/work/ciso-assistant-community/ciso-assistant-community/enterprise/frontend/.build/frontend/tests/utils/login-page.ts:50:20) at /home/runner/work/ciso-assistant-community/ciso-assistant-community/enterprise/frontend/.build/frontend/tests/functional/user-permissions.test.ts:221:4
[chromium] › functional/user-permissions.test.ts:187:6 › Approver user has the right permissions › risk acceptances permissions › Approver user can not delete risk acceptances: enterprise/frontend/.build/frontend/tests/utils/login-page.ts#L50
1) [chromium] › functional/user-permissions.test.ts:187:6 › Approver user has the right permissions › risk acceptances permissions › Approver user can not delete risk acceptances Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: page.waitForURL: Timeout 10000ms exceeded. =========================== logs =========================== waiting for navigation until "load" ============================================================ at utils/login-page.ts:50 48 | await this.loginButton.click(); 49 | if (email === LoginPage.defaultEmail && password === LoginPage.defaultPassword) { > 50 | await this.page.waitForURL(/^.*\/((?!login).)*$/, { timeout: 10000 }); | ^ 51 | } else { 52 | await this.page.waitForURL(/^.*\/login(\?next=\/.*)?$/); 53 | } at LoginPage.login (/home/runner/work/ciso-assistant-community/ciso-assistant-community/enterprise/frontend/.build/frontend/tests/utils/login-page.ts:50:20) at /home/runner/work/ciso-assistant-community/ciso-assistant-community/enterprise/frontend/.build/frontend/tests/functional/user-permissions.test.ts:221:4
[chromium] › functional/detailed/common.test.ts:81:4 › Tests on threats item › Tests on threats item details › user can edit threats item: enterprise/frontend/.build/frontend/tests/utils/login-page.ts#L50
2) [chromium] › functional/detailed/common.test.ts:81:4 › Tests on threats item › Tests on threats item details › user can edit threats item TimeoutError: page.waitForURL: Timeout 10000ms exceeded. =========================== logs =========================== waiting for navigation until "load" ============================================================ at utils/login-page.ts:50 48 | await this.loginButton.click(); 49 | if (email === LoginPage.defaultEmail && password === LoginPage.defaultPassword) { > 50 | await this.page.waitForURL(/^.*\/((?!login).)*$/, { timeout: 10000 }); | ^ 51 | } else { 52 | await this.page.waitForURL(/^.*\/login(\?next=\/.*)?$/); 53 | } at LoginPage.login (/home/runner/work/ciso-assistant-community/ciso-assistant-community/enterprise/frontend/.build/frontend/tests/utils/login-page.ts:50:20) at Object.logedPage (/home/runner/work/ciso-assistant-community/ciso-assistant-community/enterprise/frontend/.build/frontend/tests/utils/test-utils.ts:266:3)
enterprise-functional-tests (3.11, chromium)
Process completed with exit code 1.
functional-tests (3.11, chromium)
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/
Slow Test: frontend/[chromium] › functional/user-permissions.test.ts#L1
frontend/[chromium] › functional/user-permissions.test.ts took 4.4m
Slow Test: frontend/[chromium] › functional/detailed/common.test.ts#L1
frontend/[chromium] › functional/detailed/common.test.ts took 3.6m
Slow Test: frontend/[chromium] › fuzz/open-redirect/open-redirect.test.ts#L1
frontend/[chromium] › fuzz/open-redirect/open-redirect.test.ts took 1.9m
Slow Test: frontend/[chromium] › functional/nav.test.ts#L1
frontend/[chromium] › functional/nav.test.ts took 1.2m
Slow Test: frontend/[chromium] › functional/user-route.test.ts#L1
frontend/[chromium] › functional/user-route.test.ts took 52.0s
Slow Test: enterprise/frontend/.build/frontend/[chromium] › fuzz/open-redirect/open-redirect.test.ts#L1
enterprise/frontend/.build/frontend/[chromium] › fuzz/open-redirect/open-redirect.test.ts took 2.8m
Slow Test: enterprise/frontend/.build/frontend/[chromium] › functional/nav.test.ts#L1
enterprise/frontend/.build/frontend/[chromium] › functional/nav.test.ts took 1.3m
Slow Test: enterprise/frontend/.build/frontend/[chromium] › functional/user-route.test.ts#L1
enterprise/frontend/.build/frontend/[chromium] › functional/user-route.test.ts took 59.1s
Slow Test: enterprise/frontend/.build/frontend/[chromium] › functional/detailed/libraries.test.ts#L1
enterprise/frontend/.build/frontend/[chromium] › functional/detailed/libraries.test.ts took 38.6s
Slow Test: enterprise/frontend/.build/frontend/[chromium] › functional/detailed/compliance-assessments.test.ts#L1
enterprise/frontend/.build/frontend/[chromium] › functional/detailed/compliance-assessments.test.ts took 29.4s
🎭 Playwright Run Summary
2 skipped 231 passed (16.5m)
🎭 Playwright Run Summary
1 failed [chromium] › functional/user-permissions.test.ts:187:6 › Approver user has the right permissions › risk acceptances permissions › Approver user can not delete risk acceptances 1 flaky [chromium] › functional/detailed/common.test.ts:81:4 › Tests on threats item › Tests on threats item details › user can edit threats item 2 skipped 229 passed (22.2m)

Artifacts

Produced during runtime
Name Size
enterprise-functional-tests-report-chromium
35.1 MB