Fix incorrect attempt to overwrite object in update_or_create due to uppercase URNs #2929
functional-tests.yml
on: pull_request
Matrix: enterprise-functional-tests
Matrix: functional-tests
Annotations
3 errors, 10 warnings, and 2 notices
[chromium] › functional/detailed/common.test.ts:72:4 › Tests on evidences item › Tests on evidences item details › Evidences item details are showing properly:
enterprise/frontend/.build/frontend/tests/utils/login-page.ts#L50
1) [chromium] › functional/detailed/common.test.ts:72:4 › Tests on evidences item › Tests on evidences item details › Evidences item details are showing properly
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)
|
[chromium] › functional/detailed/libraries.test.ts:33:1 › every library can be deleted:
enterprise/frontend/.build/frontend/tests/utils/login-page.ts#L50
2) [chromium] › functional/detailed/libraries.test.ts:33:1 › every library can be deleted ────────
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)
|
[chromium] › fuzz/open-redirect/open-redirect.test.ts:5:1 › open redirect fuzz testing:
enterprise/frontend/.build/frontend/tests/utils/login-page.ts#L50
3) [chromium] › fuzz/open-redirect/open-redirect.test.ts:5:1 › open redirect fuzz testing ────────
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)
|
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.7m
|
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.1s
|
Slow Test:
enterprise/frontend/.build/frontend/[chromium] › functional/user-permissions.test.ts#L1
enterprise/frontend/.build/frontend/[chromium] › functional/user-permissions.test.ts took 5.1m
|
Slow Test:
enterprise/frontend/.build/frontend/[chromium] › functional/nav.test.ts#L1
enterprise/frontend/.build/frontend/[chromium] › functional/nav.test.ts took 1.4m
|
Slow Test:
enterprise/frontend/.build/frontend/[chromium] › functional/user-route.test.ts#L1
enterprise/frontend/.build/frontend/[chromium] › functional/user-route.test.ts took 57.0s
|
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 30.3s
|
🎭 Playwright Run Summary
2 skipped
231 passed (16.5m)
|
🎭 Playwright Run Summary
3 flaky
[chromium] › functional/detailed/common.test.ts:72:4 › Tests on evidences item › Tests on evidences item details › Evidences item details are showing properly
[chromium] › functional/detailed/libraries.test.ts:33:1 › every library can be deleted ─────────
[chromium] › fuzz/open-redirect/open-redirect.test.ts:5:1 › open redirect fuzz testing ─────────
1 skipped
229 passed (22.3m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
enterprise-functional-tests-report-chromium
Expired
|
32.1 MB |
|