Skip to content

Make language choice peristent for users #2928

Make language choice peristent for users

Make language choice peristent for users #2928

Re-run triggered November 23, 2024 05:48
Status Failure
Total duration 9m 16s
Artifacts 4

functional-tests.yml

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

Annotations

20 errors, 3 warnings, and 2 notices
[chromium] › functional/detailed/common.test.ts:72:4 › Tests on domains item › Tests on domains item details › Domains item details are showing properly: enterprise/frontend/.build/frontend/tests/utils/base-page.ts#L33
1) [chromium] › functional/detailed/common.test.ts:72:4 › Tests on domains item › Tests on domains item details › Domains item details are showing properly Error: page.goto: net::ERR_ABORTED at http://localhost:4173/folders Call log: - navigating to "http://localhost:4173/folders", waiting until "load" at utils/base-page.ts:33 31 | 32 | async goto() { > 33 | await this.page.goto(this.url); | ^ 34 | await this.page.waitForURL(this.url); 35 | } 36 | at PageContent.goto (/home/runner/work/ciso-assistant-community/ciso-assistant-community/enterprise/frontend/.build/frontend/tests/utils/base-page.ts:33:19) at /home/runner/work/ciso-assistant-community/ciso-assistant-community/enterprise/frontend/.build/frontend/tests/functional/detailed/common.test.ts:35:22
[chromium] › functional/detailed/common.test.ts:72:4 › Tests on domains item › Tests on domains item details › Domains item details are showing properly: enterprise/frontend/.build/frontend/tests/utils/base-page.ts#L33
1) [chromium] › functional/detailed/common.test.ts:72:4 › Tests on domains item › Tests on domains item details › Domains item details are showing properly Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: page.goto: net::ERR_ABORTED at http://localhost:4173/folders Call log: - navigating to "http://localhost:4173/folders", waiting until "load" at utils/base-page.ts:33 31 | 32 | async goto() { > 33 | await this.page.goto(this.url); | ^ 34 | await this.page.waitForURL(this.url); 35 | } 36 | at PageContent.goto (/home/runner/work/ciso-assistant-community/ciso-assistant-community/enterprise/frontend/.build/frontend/tests/utils/base-page.ts:33:19) at /home/runner/work/ciso-assistant-community/ciso-assistant-community/enterprise/frontend/.build/frontend/tests/functional/detailed/common.test.ts:35:22
[chromium] › functional/detailed/compliance-assessments.test.ts:8:1 › compliance assessments scoring is working properly: enterprise/frontend/.build/frontend/tests/utils/base-page.ts#L33
2) [chromium] › functional/detailed/compliance-assessments.test.ts:8:1 › compliance assessments scoring is working properly Error: page.goto: net::ERR_ABORTED at http://localhost:4173/folders Call log: - navigating to "http://localhost:4173/folders", waiting until "load" at utils/base-page.ts:33 31 | 32 | async goto() { > 33 | await this.page.goto(this.url); | ^ 34 | await this.page.waitForURL(this.url); 35 | } 36 | at PageContent.goto (/home/runner/work/ciso-assistant-community/ciso-assistant-community/enterprise/frontend/.build/frontend/tests/utils/base-page.ts:33:19) at /home/runner/work/ciso-assistant-community/ciso-assistant-community/enterprise/frontend/.build/frontend/tests/functional/detailed/compliance-assessments.test.ts:40:22
[chromium] › functional/detailed/compliance-assessments.test.ts:8:1 › compliance assessments scoring is working properly: enterprise/frontend/.build/frontend/tests/utils/login-page.ts#L50
2) [chromium] › functional/detailed/compliance-assessments.test.ts:8:1 › compliance assessments scoring is working 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 /home/runner/work/ciso-assistant-community/ciso-assistant-community/enterprise/frontend/.build/frontend/tests/functional/detailed/compliance-assessments.test.ts:209:2
[chromium] › functional/detailed/compliance-assessments.test.ts:8:1 › compliance assessments scoring is working properly: enterprise/frontend/.build/frontend/tests/utils/base-page.ts#L33
2) [chromium] › functional/detailed/compliance-assessments.test.ts:8:1 › compliance assessments scoring is working properly Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: page.goto: net::ERR_ABORTED at http://localhost:4173/folders Call log: - navigating to "http://localhost:4173/folders", waiting until "load" at utils/base-page.ts:33 31 | 32 | async goto() { > 33 | await this.page.goto(this.url); | ^ 34 | await this.page.waitForURL(this.url); 35 | } 36 | at PageContent.goto (/home/runner/work/ciso-assistant-community/ciso-assistant-community/enterprise/frontend/.build/frontend/tests/utils/base-page.ts:33:19) at /home/runner/work/ciso-assistant-community/ciso-assistant-community/enterprise/frontend/.build/frontend/tests/functional/detailed/compliance-assessments.test.ts:40:22
[chromium] › functional/detailed/compliance-assessments.test.ts:8:1 › compliance assessments scoring is working properly: enterprise/frontend/.build/frontend/tests/utils/base-page.ts#L33
2) [chromium] › functional/detailed/compliance-assessments.test.ts:8:1 › compliance assessments scoring is working properly Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: page.goto: net::ERR_ABORTED at http://localhost:4173/folders Call log: - navigating to "http://localhost:4173/folders", waiting until "load" at utils/base-page.ts:33 31 | 32 | async goto() { > 33 | await this.page.goto(this.url); | ^ 34 | await this.page.waitForURL(this.url); 35 | } 36 | at PageContent.goto (/home/runner/work/ciso-assistant-community/ciso-assistant-community/enterprise/frontend/.build/frontend/tests/utils/base-page.ts:33:19) at /home/runner/work/ciso-assistant-community/ciso-assistant-community/enterprise/frontend/.build/frontend/tests/functional/detailed/compliance-assessments.test.ts:210:20
[chromium] › functional/detailed/libraries.test.ts:4:1 › every library can be loaded: enterprise/frontend/.build/frontend/tests/utils/base-page.ts#L33
3) [chromium] › functional/detailed/libraries.test.ts:4:1 › every library can be loaded ────────── Error: page.goto: net::ERR_ABORTED at http://localhost:4173/libraries Call log: - navigating to "http://localhost:4173/libraries", waiting until "load" at utils/base-page.ts:33 31 | 32 | async goto() { > 33 | await this.page.goto(this.url); | ^ 34 | await this.page.waitForURL(this.url); 35 | } 36 | at PageContent.goto (/home/runner/work/ciso-assistant-community/ciso-assistant-community/enterprise/frontend/.build/frontend/tests/utils/base-page.ts:33:19) at /home/runner/work/ciso-assistant-community/ciso-assistant-community/enterprise/frontend/.build/frontend/tests/functional/detailed/libraries.test.ts:7:22
[chromium] › functional/detailed/libraries.test.ts:4:1 › every library can be loaded: enterprise/frontend/.build/frontend/tests/utils/base-page.ts#L33
3) [chromium] › functional/detailed/libraries.test.ts:4:1 › every library can be loaded ────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: page.goto: net::ERR_ABORTED at http://localhost:4173/libraries Call log: - navigating to "http://localhost:4173/libraries", waiting until "load" at utils/base-page.ts:33 31 | 32 | async goto() { > 33 | await this.page.goto(this.url); | ^ 34 | await this.page.waitForURL(this.url); 35 | } 36 | at PageContent.goto (/home/runner/work/ciso-assistant-community/ciso-assistant-community/enterprise/frontend/.build/frontend/tests/utils/base-page.ts:33:19) at /home/runner/work/ciso-assistant-community/ciso-assistant-community/enterprise/frontend/.build/frontend/tests/functional/detailed/libraries.test.ts:7:22
[chromium] › functional/nav.test.ts:6:1 › sidebar navigation tests: enterprise/frontend/.build/frontend/tests/utils/test-utils.ts#L609
4) [chromium] › functional/nav.test.ts:6:1 › sidebar navigation tests ──────────────────────────── Error: expect(400).toBeOneofValues([100,399]) at utils/test-utils.ts:609 607 | export function setHttpResponsesListener(page: Page) { 608 | page.on('response', (response) => { > 609 | expect.soft(response.status()).toBeOneofValues([100, 399]); | ^ 610 | }); 611 | } 612 | at Page.<anonymous> (/home/runner/work/ciso-assistant-community/ciso-assistant-community/enterprise/frontend/.build/frontend/tests/utils/test-utils.ts:609:34)
[chromium] › functional/nav.test.ts:6:1 › sidebar navigation tests: enterprise/frontend/.build/frontend/tests/utils/test-utils.ts#L609
4) [chromium] › functional/nav.test.ts:6:1 › sidebar navigation tests ──────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(400).toBeOneofValues([100,399]) at utils/test-utils.ts:609 607 | export function setHttpResponsesListener(page: Page) { 608 | page.on('response', (response) => { > 609 | expect.soft(response.status()).toBeOneofValues([100, 399]); | ^ 610 | }); 611 | } 612 | at Page.<anonymous> (/home/runner/work/ciso-assistant-community/ciso-assistant-community/enterprise/frontend/.build/frontend/tests/utils/test-utils.ts:609:34)
[chromium] › functional/detailed/common.test.ts:72:4 › Tests on domains item › Tests on domains item details › Domains item details are showing properly: frontend/tests/utils/base-page.ts#L33
1) [chromium] › functional/detailed/common.test.ts:72:4 › Tests on domains item › Tests on domains item details › Domains item details are showing properly Error: page.goto: net::ERR_ABORTED at http://localhost:4173/folders Call log: - navigating to "http://localhost:4173/folders", waiting until "load" at utils/base-page.ts:33 31 | 32 | async goto() { > 33 | await this.page.goto(this.url); | ^ 34 | await this.page.waitForURL(this.url); 35 | } 36 | at PageContent.goto (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/base-page.ts:33:19) at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/detailed/common.test.ts:35:22
[chromium] › functional/detailed/common.test.ts:72:4 › Tests on domains item › Tests on domains item details › Domains item details are showing properly: frontend/tests/utils/base-page.ts#L33
1) [chromium] › functional/detailed/common.test.ts:72:4 › Tests on domains item › Tests on domains item details › Domains item details are showing properly Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: page.goto: net::ERR_ABORTED at http://localhost:4173/folders Call log: - navigating to "http://localhost:4173/folders", waiting until "load" at utils/base-page.ts:33 31 | 32 | async goto() { > 33 | await this.page.goto(this.url); | ^ 34 | await this.page.waitForURL(this.url); 35 | } 36 | at PageContent.goto (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/base-page.ts:33:19) at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/detailed/common.test.ts:35:22
[chromium] › functional/detailed/compliance-assessments.test.ts:8:1 › compliance assessments scoring is working properly: frontend/tests/utils/base-page.ts#L33
2) [chromium] › functional/detailed/compliance-assessments.test.ts:8:1 › compliance assessments scoring is working properly Error: page.goto: net::ERR_ABORTED at http://localhost:4173/folders Call log: - navigating to "http://localhost:4173/folders", waiting until "load" at utils/base-page.ts:33 31 | 32 | async goto() { > 33 | await this.page.goto(this.url); | ^ 34 | await this.page.waitForURL(this.url); 35 | } 36 | at PageContent.goto (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/base-page.ts:33:19) at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/detailed/compliance-assessments.test.ts:40:22
[chromium] › functional/detailed/compliance-assessments.test.ts:8:1 › compliance assessments scoring is working properly: frontend/tests/utils/base-page.ts#L33
2) [chromium] › functional/detailed/compliance-assessments.test.ts:8:1 › compliance assessments scoring is working properly Error: page.goto: net::ERR_ABORTED at http://localhost:4173/folders Call log: - navigating to "http://localhost:4173/folders", waiting until "load" at utils/base-page.ts:33 31 | 32 | async goto() { > 33 | await this.page.goto(this.url); | ^ 34 | await this.page.waitForURL(this.url); 35 | } 36 | at PageContent.goto (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/base-page.ts:33:19) at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/detailed/compliance-assessments.test.ts:210:20
[chromium] › functional/detailed/compliance-assessments.test.ts:8:1 › compliance assessments scoring is working properly: frontend/tests/utils/base-page.ts#L33
2) [chromium] › functional/detailed/compliance-assessments.test.ts:8:1 › compliance assessments scoring is working properly Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: page.goto: net::ERR_ABORTED at http://localhost:4173/folders Call log: - navigating to "http://localhost:4173/folders", waiting until "load" at utils/base-page.ts:33 31 | 32 | async goto() { > 33 | await this.page.goto(this.url); | ^ 34 | await this.page.waitForURL(this.url); 35 | } 36 | at PageContent.goto (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/base-page.ts:33:19) at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/detailed/compliance-assessments.test.ts:40:22
[chromium] › functional/detailed/compliance-assessments.test.ts:8:1 › compliance assessments scoring is working properly: frontend/tests/utils/base-page.ts#L33
2) [chromium] › functional/detailed/compliance-assessments.test.ts:8:1 › compliance assessments scoring is working properly Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: page.goto: net::ERR_ABORTED at http://localhost:4173/folders Call log: - navigating to "http://localhost:4173/folders", waiting until "load" at utils/base-page.ts:33 31 | 32 | async goto() { > 33 | await this.page.goto(this.url); | ^ 34 | await this.page.waitForURL(this.url); 35 | } 36 | at PageContent.goto (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/base-page.ts:33:19) at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/detailed/compliance-assessments.test.ts:210:20
[chromium] › functional/detailed/libraries.test.ts:4:1 › every library can be loaded: frontend/tests/utils/base-page.ts#L33
3) [chromium] › functional/detailed/libraries.test.ts:4:1 › every library can be loaded ────────── Error: page.goto: net::ERR_ABORTED at http://localhost:4173/libraries Call log: - navigating to "http://localhost:4173/libraries", waiting until "load" at utils/base-page.ts:33 31 | 32 | async goto() { > 33 | await this.page.goto(this.url); | ^ 34 | await this.page.waitForURL(this.url); 35 | } 36 | at PageContent.goto (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/base-page.ts:33:19) at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/detailed/libraries.test.ts:7:22
[chromium] › functional/detailed/libraries.test.ts:4:1 › every library can be loaded: frontend/tests/utils/base-page.ts#L33
3) [chromium] › functional/detailed/libraries.test.ts:4:1 › every library can be loaded ────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: page.goto: net::ERR_ABORTED at http://localhost:4173/libraries Call log: - navigating to "http://localhost:4173/libraries", waiting until "load" at utils/base-page.ts:33 31 | 32 | async goto() { > 33 | await this.page.goto(this.url); | ^ 34 | await this.page.waitForURL(this.url); 35 | } 36 | at PageContent.goto (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/base-page.ts:33:19) at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/detailed/libraries.test.ts:7:22
[chromium] › functional/nav.test.ts:6:1 › sidebar navigation tests: frontend/tests/utils/test-utils.ts#L609
4) [chromium] › functional/nav.test.ts:6:1 › sidebar navigation tests ──────────────────────────── Error: expect(400).toBeOneofValues([100,399]) at utils/test-utils.ts:609 607 | export function setHttpResponsesListener(page: Page) { 608 | page.on('response', (response) => { > 609 | expect.soft(response.status()).toBeOneofValues([100, 399]); | ^ 610 | }); 611 | } 612 | at Page.<anonymous> (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/test-utils.ts:609:34)
[chromium] › functional/nav.test.ts:6:1 › sidebar navigation tests: frontend/tests/utils/test-utils.ts#L609
4) [chromium] › functional/nav.test.ts:6:1 › sidebar navigation tests ──────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(400).toBeOneofValues([100,399]) at utils/test-utils.ts:609 607 | export function setHttpResponsesListener(page: Page) { 608 | page.on('response', (response) => { > 609 | expect.soft(response.status()).toBeOneofValues([100, 399]); | ^ 610 | }); 611 | } 612 | at Page.<anonymous> (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/test-utils.ts:609:34)
Slow Test: enterprise/frontend/.build/frontend/[chromium] › functional/user-route.test.ts#L1
enterprise/frontend/.build/frontend/[chromium] › functional/user-route.test.ts took 42.9s
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-route.test.ts#L1
frontend/[chromium] › functional/user-route.test.ts took 40.1s
🎭 Playwright Run Summary
9 failed [chromium] › functional/detailed/common.test.ts:72:4 › Tests on domains item › Tests on domains item details › Domains item details are showing properly [chromium] › functional/detailed/compliance-assessments.test.ts:8:1 › compliance assessments scoring is working properly [chromium] › functional/detailed/libraries.test.ts:4:1 › every library can be loaded ─────────── [chromium] › functional/nav.test.ts:6:1 › sidebar navigation tests ───────────────────────────── [chromium] › functional/user-permissions.test.ts:28:3 › Analyst user has the right permissions › user can set his password [chromium] › functional/user-permissions.test.ts:28:3 › Reader user has the right permissions › user can set his password [chromium] › functional/user-permissions.test.ts:28:3 › Domain manager user has the right permissions › user can set his password [chromium] › functional/user-permissions.test.ts:28:3 › Approver user has the right permissions › user can set his password [chromium] › fuzz/open-redirect/open-redirect.test.ts:5:1 › open redirect fuzz testing ───────── 1 skipped 216 did not run 7 passed (5.1m)
🎭 Playwright Run Summary
9 failed [chromium] › functional/detailed/common.test.ts:72:4 › Tests on domains item › Tests on domains item details › Domains item details are showing properly [chromium] › functional/detailed/compliance-assessments.test.ts:8:1 › compliance assessments scoring is working properly [chromium] › functional/detailed/libraries.test.ts:4:1 › every library can be loaded ─────────── [chromium] › functional/nav.test.ts:6:1 › sidebar navigation tests ───────────────────────────── [chromium] › functional/user-permissions.test.ts:28:3 › Analyst user has the right permissions › user can set his password [chromium] › functional/user-permissions.test.ts:28:3 › Reader user has the right permissions › user can set his password [chromium] › functional/user-permissions.test.ts:28:3 › Domain manager user has the right permissions › user can set his password [chromium] › functional/user-permissions.test.ts:28:3 › Approver user has the right permissions › user can set his password [chromium] › fuzz/open-redirect/open-redirect.test.ts:5:1 › open redirect fuzz testing ───────── 1 skipped 216 did not run 7 passed (4.8m)

Artifacts

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