Skip to content

Add a global setting for the default language #2553

Add a global setting for the default language

Add a global setting for the default language #2553

Triggered via pull request October 21, 2024 21:38
Status Failure
Total duration 36m 44s
Artifacts 2

functional-tests.yml

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

Annotations

20 errors, 7 warnings, and 2 notices
[chromium] › functional/detailed/common.test.ts:70:4 › Tests on domains item › Tests on domains item details › Domains item details are showing properly: frontend/tests/utils/base-page.ts#L23
1) [chromium] › functional/detailed/common.test.ts:70: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:23 21 | 22 | async goto() { > 23 | await this.page.goto(this.url); | ^ 24 | await this.page.waitForURL(this.url); 25 | } 26 | at PageContent.goto (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/base-page.ts:23: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:70:4 › Tests on domains item › Tests on domains item details › Domains item details are showing properly: frontend/tests/utils/base-page.ts#L23
1) [chromium] › functional/detailed/common.test.ts:70: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:23 21 | 22 | async goto() { > 23 | await this.page.goto(this.url); | ^ 24 | await this.page.waitForURL(this.url); 25 | } 26 | at PageContent.goto (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/base-page.ts:23: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#L23
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:23 21 | 22 | async goto() { > 23 | await this.page.goto(this.url); | ^ 24 | await this.page.waitForURL(this.url); 25 | } 26 | at PageContent.goto (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/base-page.ts:23: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#L23
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:23 21 | 22 | async goto() { > 23 | await this.page.goto(this.url); | ^ 24 | await this.page.waitForURL(this.url); 25 | } 26 | at PageContent.goto (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/base-page.ts:23:19) at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/detailed/compliance-assessments.test.ts:207:20
[chromium] › functional/detailed/compliance-assessments.test.ts:8:1 › compliance assessments scoring is working properly: frontend/tests/utils/base-page.ts#L23
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:23 21 | 22 | async goto() { > 23 | await this.page.goto(this.url); | ^ 24 | await this.page.waitForURL(this.url); 25 | } 26 | at PageContent.goto (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/base-page.ts:23: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#L23
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:23 21 | 22 | async goto() { > 23 | await this.page.goto(this.url); | ^ 24 | await this.page.waitForURL(this.url); 25 | } 26 | at PageContent.goto (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/base-page.ts:23:19) at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/detailed/compliance-assessments.test.ts:207:20
[chromium] › functional/detailed/libraries.test.ts:4:1 › every library can be loaded: frontend/tests/utils/base-page.ts#L23
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:23 21 | 22 | async goto() { > 23 | await this.page.goto(this.url); | ^ 24 | await this.page.waitForURL(this.url); 25 | } 26 | at PageContent.goto (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/base-page.ts:23: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#L23
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:23 21 | 22 | async goto() { > 23 | await this.page.goto(this.url); | ^ 24 | await this.page.waitForURL(this.url); 25 | } 26 | at PageContent.goto (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/base-page.ts:23:19) at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/detailed/libraries.test.ts:7:22
[chromium] › functional/user-permissions.test.ts:28:3 › Analyst user has the right permissions › user can set his password: frontend/tests/utils/base-page.ts#L23
4) [chromium] › functional/user-permissions.test.ts:28:3 › Analyst user has the right permissions › user can set his password 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:23 21 | 22 | async goto() { > 23 | await this.page.goto(this.url); | ^ 24 | await this.page.waitForURL(this.url); 25 | } 26 | at PageContent.goto (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/base-page.ts:23:19) at Object.populateDatabase (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/test-utils.ts:281:22)
[chromium] › functional/user-permissions.test.ts:28:3 › Analyst user has the right permissions › user can set his password: frontend/tests/utils/base-page.ts#L23
4) [chromium] › functional/user-permissions.test.ts:28:3 › Analyst user has the right permissions › user can set his password 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:23 21 | 22 | async goto() { > 23 | await this.page.goto(this.url); | ^ 24 | await this.page.waitForURL(this.url); 25 | } 26 | at PageContent.goto (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/base-page.ts:23:19) at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/user-permissions.test.ts:222:22
[chromium] › functional/detailed/login.test.ts:27:1 › redirect to the right page after login: enterprise/frontend/.build/frontend/tests/functional/detailed/login.test.ts#L31
1) [chromium] › functional/detailed/login.test.ts:27:1 › redirect to the right page after login ── Error: Timed out 20000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://localhost:4173/calendar" Received string: "http://localhost:4173/calendar?refresh=1" Call log: - expect.toHaveURL with timeout 20000ms - waiting for locator(':root') - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/login?next=/calendar" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/login?next=/calendar" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/login?next=/calendar" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/login?next=/calendar" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/calendar?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/calendar?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/calendar?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/calendar?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/calendar?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/calendar?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/calendar?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/calendar?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/calendar?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/calendar?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/calendar?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/calendar?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/calendar?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/calendar?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/calendar?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/calendar?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/calendar?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/calendar?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/calendar?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/calendar?refresh=1" 29 | await loginPage.hasUrl(1); 30 | await loginPage.login(); > 31 | await expect(page).toHaveURL('/calendar'); | ^ 32 | }); 33 | 34 | test('login invalid message is showing properly', async ({ loginPage, page }) => { at /home/runner/work/ciso-assistant-community/ciso-assistant-community/enterprise/frontend/.build/frontend/tests/functional/detailed/login.test.ts:31:21
[chromium] › functional/detailed/login.test.ts:27:1 › redirect to the right page after login: enterprise/frontend/.build/frontend/tests/functional/detailed/login.test.ts#L31
1) [chromium] › functional/detailed/login.test.ts:27:1 › redirect to the right page after login ── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 20000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://localhost:4173/calendar" Received string: "http://localhost:4173/calendar?refresh=1" Call log: - expect.toHaveURL with timeout 20000ms - waiting for locator(':root') - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/login?next=/calendar" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/login?next=/calendar" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/login?next=/calendar" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/login?next=/calendar" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/calendar?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/calendar?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/calendar?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/calendar?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/calendar?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/calendar?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/calendar?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/calendar?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/calendar?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/calendar?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/calendar?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/calendar?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/calendar?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/calendar?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/calendar?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/calendar?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/calendar?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/calendar?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/calendar?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/calendar?refresh=1" 29 | await loginPage.hasUrl(1); 30 | await loginPage.login(); > 31 | await expect(page).toHaveURL('/calendar'); | ^ 32 | }); 33 | 34 | test('login invalid message is showing properly', async ({ loginPage, page }) => { at /home/runner/work/ciso-assistant-community/ciso-assistant-community/enterprise/frontend/.build/frontend/tests/functional/detailed/login.test.ts:31:21
[chromium] › functional/detailed/login.test.ts:41:1 › forgot password process is working properly: enterprise/frontend/.build/frontend/tests/functional/detailed/login.test.ts#L117
2) [chromium] › functional/detailed/login.test.ts:41:1 › forgot password process is working properly Error: Timed out 20000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://localhost:4173/analytics" Received string: "http://localhost:4173/analytics?refresh=1" Call log: - expect.toHaveURL with timeout 20000ms - waiting for locator(':root') - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/login" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/login" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/login" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/login" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/login" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" 115 | // login with the new password 116 | await logedPage.login(email, 'new' + testData.user.password); > 117 | await expect(page).toHaveURL('/analytics'); | ^ 118 | }); 119 | at /home/runner/work/ciso-assistant-community/ciso-assistant-community/enterprise/frontend/.build/frontend/tests/functional/detailed/login.test.ts:117:21
[chromium] › functional/detailed/login.test.ts:41:1 › forgot password process is working properly: enterprise/frontend/.build/frontend/tests/functional/detailed/login.test.ts#L117
2) [chromium] › functional/detailed/login.test.ts:41:1 › forgot password process is working properly Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 20000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://localhost:4173/analytics" Received string: "http://localhost:4173/analytics?refresh=1" Call log: - expect.toHaveURL with timeout 20000ms - waiting for locator(':root') - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/login" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/login" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/login" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/login" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/login" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" 115 | // login with the new password 116 | await logedPage.login(email, 'new' + testData.user.password); > 117 | await expect(page).toHaveURL('/analytics'); | ^ 118 | }); 119 | at /home/runner/work/ciso-assistant-community/ciso-assistant-community/enterprise/frontend/.build/frontend/tests/functional/detailed/login.test.ts:117:21
[chromium] › functional/nav.test.ts:6:1 › sidebar navigation tests: enterprise/frontend/.build/frontend/tests/utils/base-page.ts#L32
3) [chromium] › functional/nav.test.ts:6:1 › sidebar navigation tests › proper redirection to the analytics page after login Error: Timed out 20000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://localhost:4173/analytics" Received string: "http://localhost:4173/analytics?refresh=1" Call log: - expect.toHaveURL with timeout 20000ms - waiting for locator(':root') - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" at utils/base-page.ts:32 30 | 31 | async hasUrl() { > 32 | await expect(this.page).toHaveURL(this.url); | ^ 33 | } 34 | 35 | async hasBreadcrumbPath(paths: (string | RegExp)[], fullPath = true, origin = 'Home') { at AnalyticsPage.hasUrl (/home/runner/work/ciso-assistant-community/ciso-assistant-community/enterprise/frontend/.build/frontend/tests/utils/base-page.ts:32:27) at /home/runner/work/ciso-assistant-community/ciso-assistant-community/enterprise/frontend/.build/frontend/tests/functional/nav.test.ts:10:23 at /home/runner/work/ciso-assistant-community/ciso-assistant-community/enterprise/frontend/.build/frontend/tests/functio
[chromium] › functional/nav.test.ts:6:1 › sidebar navigation tests: enterprise/frontend/.build/frontend/tests/utils/base-page.ts#L32
3) [chromium] › functional/nav.test.ts:6:1 › sidebar navigation tests › proper redirection to the analytics page after login Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 20000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://localhost:4173/analytics" Received string: "http://localhost:4173/analytics?refresh=1" Call log: - expect.toHaveURL with timeout 20000ms - waiting for locator(':root') - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" at utils/base-page.ts:32 30 | 31 | async hasUrl() { > 32 | await expect(this.page).toHaveURL(this.url); | ^ 33 | } 34 | 35 | async hasBreadcrumbPath(paths: (string | RegExp)[], fullPath = true, origin = 'Home') { at AnalyticsPage.hasUrl (/home/runner/work/ciso-assistant-community/ciso-assistant-community/enterprise/frontend/.build/frontend/tests/utils/base-page.ts:32:27) at /home/runner/work/ciso-assistant-community/ciso-assistant-community/enterprise/frontend/.build/frontend/tests/functional/nav.test.ts:10:23 at /home/runner/wo
[chromium] › functional/user-permissions.test.ts:28:3 › Analyst user has the right permissions › user can set his password: enterprise/frontend/.build/frontend/tests/functional/user-permissions.test.ts#L76
4) [chromium] › functional/user-permissions.test.ts:28:3 › Analyst user has the right permissions › user can set his password Error: Timed out 20000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://localhost:4173/analytics" Received string: "http://localhost:4173/analytics?refresh=1" Call log: - expect.toHaveURL with timeout 20000ms - waiting for locator(':root') - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/login" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/login" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/login" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/login" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/login" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" 74 | 75 | await setLoginPage.login(vars.user.email, vars.user.password); > 76 | await expect(setLoginPage.page).toHaveURL('/analytics'); | ^ 77 | 78 | // logout to prevent sessions conflicts 79 | const passwordPageSideBar = new SideBar(setPasswordPage); at /home/runner/work/ciso-assistant-community/ciso-assistant-community/enterprise/frontend/.build/frontend/tests/functional/user-permissions.test.ts:76:36
[chromium] › functional/user-permissions.test.ts:28:3 › Analyst user has the right permissions › user can set his password: enterprise/frontend/.build/frontend/tests/functional/user-permissions.test.ts#L76
4) [chromium] › functional/user-permissions.test.ts:28:3 › Analyst user has the right permissions › user can set his password Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 20000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://localhost:4173/analytics" Received string: "http://localhost:4173/analytics?refresh=1" Call log: - expect.toHaveURL with timeout 20000ms - waiting for locator(':root') - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/login" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/login" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/login" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/login" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/login" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" 74 | 75 | await setLoginPage.login(vars.user.email, vars.user.password); > 76 | await expect(setLoginPage.page).toHaveURL('/analytics'); | ^ 77 | 78 | // logout to prevent sessions conflicts 79 | const passwordPageSideBar = new SideBar(setPasswordPage); at /home/runner/work/ciso-assistant-community/ciso-assistant-community/enterprise/frontend/.build/frontend/tests/functional/user-permissions.test.ts:76:36
[chromium] › functional/user-permissions.test.ts:28:3 › Reader user has the right permissions › user can set his password: enterprise/frontend/.build/frontend/tests/functional/user-permissions.test.ts#L76
5) [chromium] › functional/user-permissions.test.ts:28:3 › Reader user has the right permissions › user can set his password Error: Timed out 20000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://localhost:4173/analytics" Received string: "http://localhost:4173/analytics?refresh=1" Call log: - expect.toHaveURL with timeout 20000ms - waiting for locator(':root') - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/login" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/login" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/login" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/login" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/login" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" 74 | 75 | await setLoginPage.login(vars.user.email, vars.user.password); > 76 | await expect(setLoginPage.page).toHaveURL('/analytics'); | ^ 77 | 78 | // logout to prevent sessions conflicts 79 | const passwordPageSideBar = new SideBar(setPasswordPage); at /home/runner/work/ciso-assistant-community/ciso-assistant-community/enterprise/frontend/.build/frontend/tests/functional/user-permissions.test.ts:76:36
[chromium] › functional/user-permissions.test.ts:28:3 › Reader user has the right permissions › user can set his password: enterprise/frontend/.build/frontend/tests/functional/user-permissions.test.ts#L76
5) [chromium] › functional/user-permissions.test.ts:28:3 › Reader user has the right permissions › user can set his password Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 20000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://localhost:4173/analytics" Received string: "http://localhost:4173/analytics?refresh=1" Call log: - expect.toHaveURL with timeout 20000ms - waiting for locator(':root') - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/login" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/login" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/login" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/login" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/login" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:4173/analytics?refresh=1" 74 | 75 | await setLoginPage.login(vars.user.email, vars.user.password); > 76 | await expect(setLoginPage.page).toHaveURL('/analytics'); | ^ 77 | 78 | // logout to prevent sessions conflicts 79 | const passwordPageSideBar = new SideBar(setPasswordPage); at /home/runner/work/ciso-assistant-community/ciso-assistant-community/enterprise/frontend/.build/frontend/tests/functional/user-permissions.test.ts:76:36
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/nav.test.ts#L1
frontend/[chromium] › functional/nav.test.ts took 44.5s
Slow Test: frontend/[chromium] › functional/user-route.test.ts#L1
frontend/[chromium] › functional/user-route.test.ts took 36.8s
Slow Test: enterprise/frontend/.build/frontend/[chromium] › functional/detailed/common.test.ts#L1
enterprise/frontend/.build/frontend/[chromium] › functional/detailed/common.test.ts took 3.2m
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.4m
Slow Test: enterprise/frontend/.build/frontend/[chromium] › functional/detailed/libraries.test.ts#L1
enterprise/frontend/.build/frontend/[chromium] › functional/detailed/libraries.test.ts took 35.5s
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 25.5s
🎭 Playwright Run Summary
8 failed [chromium] › functional/detailed/common.test.ts:70: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/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 8 passed (3.5m)
🎭 Playwright Run Summary
8 failed [chromium] › functional/detailed/login.test.ts:27:1 › redirect to the right page after login ─── [chromium] › functional/detailed/login.test.ts:41:1 › forgot password process is working properly [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] › functional/user-route.test.ts:6:1 › user usual routine actions are working correctly 2 skipped 192 did not run 31 passed (32.1m)

Artifacts

Produced during runtime
Name Size
enterprise-functional-tests-report-chromium Expired
949 MB
functional-tests-report-chromium Expired
72.6 MB