Make language choice peristent for users #2918
Annotations
10 errors, 3 warnings, and 1 notice
Run tests with browser chromium:
enterprise/frontend/.build/frontend/tests/utils/base-page.ts#L51
1) [chromium] › functional/detailed/login.test.ts:13:1 › login / logout 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?next=/"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/login?next=/"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/login?next=/"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/login?next=/"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/login?next=/"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/login?next=/"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/analytics?refresh=1"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/analytics?refresh=1"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/analytics?refresh=1"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/analytics?refresh=1"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/analytics?refresh=1"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/analytics?refresh=1"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/analytics?refresh=1"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/analytics?refresh=1"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/analytics?refresh=1"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/analytics?refresh=1"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/analytics?refresh=1"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/analytics?refresh=1"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/analytics?refresh=1"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/analytics?refresh=1"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/analytics?refresh=1"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/analytics?refresh=1"
- locator resolved to <html lang="en">…</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:51
49 | async hasUrl(strict: boolean=true) {
50 | const URLPattern = strict ? this.url : new RegExp(escapeRegex(this.url) + ".*");
> 51 | await expect(this.page).toHaveURL(URLPattern);
| ^
52 | }
53 |
54 | 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:51:27)
at /home/runner/work/ciso-assistant-community/ciso-assistant-community/enterprise/frontend/.build/frontend
|
Run tests with browser chromium:
enterprise/frontend/.build/frontend/tests/utils/base-page.ts#L51
1) [chromium] › functional/detailed/login.test.ts:13:1 › login / logout 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?next=/"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/login?next=/"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/login?next=/"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/login?next=/"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/login?next=/"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/login?next=/"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/analytics?refresh=1"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/analytics?refresh=1"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/analytics?refresh=1"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/analytics?refresh=1"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/analytics?refresh=1"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/analytics?refresh=1"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/analytics?refresh=1"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/analytics?refresh=1"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/analytics?refresh=1"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/analytics?refresh=1"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/analytics?refresh=1"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/analytics?refresh=1"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/analytics?refresh=1"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/analytics?refresh=1"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/analytics?refresh=1"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/analytics?refresh=1"
- locator resolved to <html lang="en">…</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:51
49 | async hasUrl(strict: boolean=true) {
50 | const URLPattern = strict ? this.url : new RegExp(escapeRegex(this.url) + ".*");
> 51 | await expect(this.page).toHaveURL(URLPattern);
| ^
52 | }
53 |
54 | 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:51:27)
at /
|
Run tests with browser chromium:
enterprise/frontend/.build/frontend/tests/functional/detailed/login.test.ts#L31
2) [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
2) [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
3) [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
3) [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#L51
4) [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:51
49 | async hasUrl(strict: boolean=true) {
50 | const URLPattern = strict ? this.url : new RegExp(escapeRegex(this.url) + ".*");
> 51 | await expect(this.page).toHaveURL(URLPattern);
| ^
52 | }
53 |
54 | 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:51: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
|
Run tests with browser chromium:
enterprise/frontend/.build/frontend/tests/utils/base-page.ts#L51
4) [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:51
49 | async hasUrl(strict: boolean=true) {
50 | const URLPattern = strict ? this.url : new RegExp(escapeRegex(this.url) + ".*");
> 51 | await expect(this.page).toHaveURL(URLPattern);
| ^
52 | }
53 |
54 | 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:51:27)
at /home/runner/work/ciso-assistant-community/ciso-assistant-co
|
Run tests with browser chromium:
enterprise/frontend/.build/frontend/tests/utils/base-page.ts#L51
5) [chromium] › functional/startup.test.ts:3:1 › startup 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"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/analytics?refresh=1"
at utils/base-page.ts:51
49 | async hasUrl(strict: boolean=true) {
50 | const URLPattern = strict ? this.url : new RegExp(escapeRegex(this.url) + ".*");
> 51 | await expect(this.page).toHaveURL(URLPattern);
| ^
52 | }
53 |
54 | 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:51:27)
at /home/runner/work/ciso-assistant-community/
|
Run tests with browser chromium:
enterprise/frontend/.build/frontend/tests/utils/base-page.ts#L51
5) [chromium] › functional/startup.test.ts:3:1 › startup 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"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/analytics?refresh=1"
at utils/base-page.ts:51
49 | async hasUrl(strict: boolean=true) {
50 | const URLPattern = strict ? this.url : new RegExp(escapeRegex(this.url) + ".*");
> 51 | await expect(this.page).toHaveURL(URLPattern);
| ^
52 | }
53 |
54 | async hasBreadcrumbPath(paths: (string | RegExp)[], fullPath = true, origin = 'Home') {
at AnalyticsPage.hasUrl (/home/runner/work/ciso-assistant-community/ciso-assistant-community/enterprise/frontend/
|
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 4.1m
|
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 38.1s
|
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 29.8s
|
Run tests with browser chromium
11 failed
[chromium] › functional/detailed/login.test.ts:13:1 › login / logout process is working properly
[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/startup.test.ts:3:1 › startup 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
[chromium] › fuzz/open-redirect/open-redirect.test.ts:5:1 › open redirect fuzz testing ─────────
2 skipped
192 did not run
28 passed (43.1m)
|
Loading