Add a global setting for the default language #2553
Annotations
10 errors, 4 warnings, and 1 notice
Run tests with browser chromium:
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
|
Run tests with browser chromium:
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
|
Run tests with browser chromium:
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
|
Run tests with browser chromium:
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
|
Run tests with browser chromium:
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
|
Run tests with browser chromium:
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
|
Run tests with browser chromium:
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
|
Run tests with browser chromium:
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
|
Run tests with browser chromium:
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
|
Run tests with browser chromium:
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
|
Run tests with browser chromium:
enterprise/frontend/.build/frontend/[chromium] › functional/detailed/common.test.ts#L1
enterprise/frontend/.build/frontend/[chromium] › functional/detailed/common.test.ts took 3.2m
|
Run tests with browser chromium:
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
|
Run tests with browser chromium:
enterprise/frontend/.build/frontend/[chromium] › functional/detailed/libraries.test.ts#L1
enterprise/frontend/.build/frontend/[chromium] › functional/detailed/libraries.test.ts took 35.5s
|
Run tests with browser chromium:
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
|
Run tests with browser chromium
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)
|
Loading