Make email comparison for SAML case insensitive #3259
Annotations
10 errors, 5 warnings, and 1 notice
Run tests with browser chromium:
enterprise/frontend/.build/frontend/tests/utils/base-page.ts#L38
1) [chromium] › functional/detailed/common.test.ts:72:4 › Tests on users item › Tests on users item details › Users item details are showing properly
Error: Timed out 20000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('#page-title')
Expected string: "[email protected]"
Received string: "[email protected]"
Call log:
- expect.soft.toHaveText with timeout 20000ms
- waiting for locator('#page-title')
- locator resolved to <span id="page-title" class="text-2xl font-bold pb-1 bg-gradient-to-r from-pink-500 to-violet-600 bg-clip-text text-transparent">[email protected]</span>
- unexpected value "[email protected]"
- locator resolved to <span id="page-title" class="text-2xl font-bold pb-1 bg-gradient-to-r from-pink-500 to-violet-600 bg-clip-text text-transparent">[email protected]</span>
- unexpected value "[email protected]"
- locator resolved to <span id="page-title" class="text-2xl font-bold pb-1 bg-gradient-to-r from-pink-500 to-violet-600 bg-clip-text text-transparent">[email protected]</span>
- unexpected value "[email protected]"
- locator resolved to <span id="page-title" class="text-2xl font-bold pb-1 bg-gradient-to-r from-pink-500 to-violet-600 bg-clip-text text-transparent">[email protected]</span>
- unexpected value "[email protected]"
- locator resolved to <span id="page-title" class="text-2xl font-bold pb-1 bg-gradient-to-r from-pink-500 to-violet-600 bg-clip-text text-transparent">[email protected]</span>
- unexpected value "[email protected]"
- locator resolved to <span id="page-title" class="text-2xl font-bold pb-1 bg-gradient-to-r from-pink-500 to-violet-600 bg-clip-text text-transparent">[email protected]</span>
- unexpected value "[email protected]"
- locator resolved to <span id="page-title" class="text-2xl font-bold pb-1 bg-gradient-to-r from-pink-500 to-violet-600 bg-clip-text text-transparent">[email protected]</span>
- unexpected value "[email protected]"
- locator resolved to <span id="page-title" class="text-2xl font-bold pb-1 bg-gradient-to-r from-pink-500 to-violet-600 bg-clip-text text-transparent">[email protected]</span>
- unexpected value "[email protected]"
- locator resolved to <span id="page-title" class="text-2xl font-bold pb-1 bg-gradient-to-r from-pink-500 to-violet-600 bg-clip-text text-transparent">[email protected]</span>
- unexpected value "[email protected]"
- locator resolved to <span id="page-title" class="text-2xl font-bold pb-1 bg-gradient-to-r from-pink-500 to-violet-600 bg-clip-text text-transparent">[email protected]</span>
- unexpected value "[email protected]"
- locator resolved to <span id="page-title" class="text-2xl font-bold pb-1 bg-gradient-to-r from-pink-500 to-violet-600 bg-clip-text text-transparent">[email protected]</span>
- unexpected value "[email protected]"
- locator resolved to <span id="page-title" class="text-2xl font-bold pb-1 bg-gradient-to-r from-pink-500 to-violet-600 bg-clip-text text-transparent">[email protected]</span>
- unexpected value "[email protected]"
- locator resolved to <span id="page-title" class="text-2xl font-bold pb-1 bg-gradient-to-r from-pink-500 to-violet-600 bg-clip-text text-transparent">[email protected]</span>
- unexpected value "[email protected]"
- locator resolved to <span id="page-title" class="text-2xl font-bold pb-1 bg-gradient-to-r from-pink-500 to-violet-600 bg-clip-text text-transparent">[email protected]</span>
- unexpected value "[email protected]"
- locator resolved to <span id="page-title" class="text-2xl font-bold pb-1 bg-gradient-to-r from-pink-500 to-violet-600 bg-clip-text text-transparent">[email protected]</span>
- unexpected value "[email protected]"
- locator resolved to <span id="page
|
Run tests with browser chromium:
enterprise/frontend/.build/frontend/tests/utils/base-page.ts#L57
1) [chromium] › functional/detailed/common.test.ts:72:4 › Tests on users item › Tests on users item details › Users item details are showing properly
Error: Timed out 20000ms waiting for expect(locator).toHaveText(expected)
Locator: getByTestId('crumb-item')
- Expected - 3
+ Received + 3
Array [
- /.+Home/,
- "Users",
- "[email protected]",
+ " Home",
+ " Users",
+ " [email protected] ",
]
Call log:
- expect.soft.toHaveText with timeout 20000ms
- waiting for getByTestId('crumb-item')
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
at utils/base-page.ts:57
55 | paths.unshift(new RegExp('.+' + origin));
56 | if (fullPath) {
> 57 | await expect.soft(this.breadcrumbs).toHaveText(paths);
| ^
58 | } else {
59 | await expect.soft(this.breadcrumbs.last()).toHaveText(paths[paths.length - 1]);
60 | }
at PageDetail.hasBreadcrumbPath (/home/runner/work/ciso-assistant-community/ciso-assistant-community/enterprise/frontend/.build/frontend/tests/utils/base-page.ts:57:40)
at /home/runner/work/ciso-assistant-community/ciso-assistant-community/enterprise/frontend/.build/frontend/tests/functional/detailed/common.test.ts:62:33
|
Run tests with browser chromium:
enterprise/frontend/.build/frontend/tests/utils/base-page.ts#L38
1) [chromium] › functional/detailed/common.test.ts:72:4 › Tests on users item › Tests on users item details › Users item details are showing properly
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 20000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('#page-title')
Expected string: "[email protected]"
Received string: "[email protected]"
Call log:
- expect.soft.toHaveText with timeout 20000ms
- waiting for locator('#page-title')
- locator resolved to <span id="page-title" class="text-2xl font-bold pb-1 bg-gradient-to-r from-pink-500 to-violet-600 bg-clip-text text-transparent">[email protected]</span>
- unexpected value "[email protected]"
- locator resolved to <span id="page-title" class="text-2xl font-bold pb-1 bg-gradient-to-r from-pink-500 to-violet-600 bg-clip-text text-transparent">[email protected]</span>
- unexpected value "[email protected]"
- locator resolved to <span id="page-title" class="text-2xl font-bold pb-1 bg-gradient-to-r from-pink-500 to-violet-600 bg-clip-text text-transparent">[email protected]</span>
- unexpected value "[email protected]"
- locator resolved to <span id="page-title" class="text-2xl font-bold pb-1 bg-gradient-to-r from-pink-500 to-violet-600 bg-clip-text text-transparent">[email protected]</span>
- unexpected value "[email protected]"
- locator resolved to <span id="page-title" class="text-2xl font-bold pb-1 bg-gradient-to-r from-pink-500 to-violet-600 bg-clip-text text-transparent">[email protected]</span>
- unexpected value "[email protected]"
- locator resolved to <span id="page-title" class="text-2xl font-bold pb-1 bg-gradient-to-r from-pink-500 to-violet-600 bg-clip-text text-transparent">[email protected]</span>
- unexpected value "[email protected]"
- locator resolved to <span id="page-title" class="text-2xl font-bold pb-1 bg-gradient-to-r from-pink-500 to-violet-600 bg-clip-text text-transparent">[email protected]</span>
- unexpected value "[email protected]"
- locator resolved to <span id="page-title" class="text-2xl font-bold pb-1 bg-gradient-to-r from-pink-500 to-violet-600 bg-clip-text text-transparent">[email protected]</span>
- unexpected value "[email protected]"
- locator resolved to <span id="page-title" class="text-2xl font-bold pb-1 bg-gradient-to-r from-pink-500 to-violet-600 bg-clip-text text-transparent">[email protected]</span>
- unexpected value "[email protected]"
- locator resolved to <span id="page-title" class="text-2xl font-bold pb-1 bg-gradient-to-r from-pink-500 to-violet-600 bg-clip-text text-transparent">[email protected]</span>
- unexpected value "[email protected]"
- locator resolved to <span id="page-title" class="text-2xl font-bold pb-1 bg-gradient-to-r from-pink-500 to-violet-600 bg-clip-text text-transparent">[email protected]</span>
- unexpected value "[email protected]"
- locator resolved to <span id="page-title" class="text-2xl font-bold pb-1 bg-gradient-to-r from-pink-500 to-violet-600 bg-clip-text text-transparent">[email protected]</span>
- unexpected value "[email protected]"
- locator resolved to <span id="page-title" class="text-2xl font-bold pb-1 bg-gradient-to-r from-pink-500 to-violet-600 bg-clip-text text-transparent">[email protected]</span>
- unexpected value "[email protected]"
- locator resolved to <span id="page-title" class="text-2xl font-bold pb-1 bg-gradient-to-r from-pink-500 to-violet-600 bg-clip-text text-transparent">[email protected]</span>
- unexpected value "[email protected]"
- locator resolved to <span id="page-title" class="text-2xl font-bold pb-1 bg-gradient-to-r from-pink-500 to-violet-600 bg-clip-text text-transparent">[email protected]<
|
Run tests with browser chromium:
enterprise/frontend/.build/frontend/tests/utils/base-page.ts#L57
1) [chromium] › functional/detailed/common.test.ts:72:4 › Tests on users item › Tests on users item details › Users item details are showing properly
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 20000ms waiting for expect(locator).toHaveText(expected)
Locator: getByTestId('crumb-item')
- Expected - 3
+ Received + 3
Array [
- /.+Home/,
- "Users",
- "[email protected]",
+ " Home",
+ " Users",
+ " [email protected] ",
]
Call log:
- expect.soft.toHaveText with timeout 20000ms
- waiting for getByTestId('crumb-item')
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
at utils/base-page.ts:57
55 | paths.unshift(new RegExp('.+' + origin));
56 | if (fullPath) {
> 57 | await expect.soft(this.breadcrumbs).toHaveText(paths);
| ^
58 | } else {
59 | await expect.soft(this.breadcrumbs.last()).toHaveText(paths[paths.length - 1]);
60 | }
at PageDetail.hasBreadcrumbPath (/home/runner/work/ciso-assistant-community/ciso-assistant-community/enterprise/frontend/.build/frontend/tests/utils/base-page.ts:57:40)
at /home/runner/work/ciso-assistant-community/ciso-assistant-community/enterprise/frontend/.build/frontend/tests/functional/detailed/common.test.ts:62:33
|
Run tests with browser chromium:
enterprise/frontend/.build/frontend/tests/utils/mailer.ts#L24
2) [chromium] › functional/detailed/login.test.ts:40:1 › forgot password process is working properly
Error: expect(received).toEqual(expected) // deep equality
Expected: "CISO Assistant: Password Reset"
Received: "Welcome to Ciso Assistant!"
at utils/mailer.ts:24
22 | async hasResetPasswordEmailDetails() {
23 | expect.soft(await this.getFrom()).toEqual('[email protected]');
> 24 | expect.soft(await this.getSubject()).toEqual('CISO Assistant: Password Reset');
| ^
25 | }
26 |
27 | async hasEmailRecipient(recipient: string) {
at Email.hasResetPasswordEmailDetails (/home/runner/work/ciso-assistant-community/ciso-assistant-community/enterprise/frontend/.build/frontend/tests/utils/mailer.ts:24:40)
at /home/runner/work/ciso-assistant-community/ciso-assistant-community/enterprise/frontend/.build/frontend/tests/functional/detailed/login.test.ts:81:2
|
Run tests with browser chromium:
enterprise/frontend/.build/frontend/tests/utils/mailer.ts#L28
2) [chromium] › functional/detailed/login.test.ts:40:1 › forgot password process is working properly
Error: expect(received).toEqual(expected) // deep equality
Expected: "[email protected]"
Received: "[email protected]"
at utils/mailer.ts:28
26 |
27 | async hasEmailRecipient(recipient: string) {
> 28 | expect.soft(await this.getTo()).toEqual(recipient);
| ^
29 | }
30 |
31 | async getFrom() {
at Email.hasEmailRecipient (/home/runner/work/ciso-assistant-community/ciso-assistant-community/enterprise/frontend/.build/frontend/tests/utils/mailer.ts:28:35)
at /home/runner/work/ciso-assistant-community/ciso-assistant-community/enterprise/frontend/.build/frontend/tests/functional/detailed/login.test.ts:82:2
|
Run tests with browser chromium:
enterprise/frontend/.build/frontend/tests/functional/detailed/login.test.ts#L86
2) [chromium] › functional/detailed/login.test.ts:40:1 › forgot password process is working properly
Error: Timed out 20000ms waiting for expect(locator).toBeVisible()
Locator: locator('#preview-html').contentFrame().getByTestId('reset-password-btn')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 20000ms
- waiting for locator('#preview-html').contentFrame().getByTestId('reset-password-btn')
84 | await lastMail.open();
85 | const pagePromise = page.context().waitForEvent('page');
> 86 | await expect(mailer.emailContent.resetPasswordButton).toBeVisible();
| ^
87 | await mailer.emailContent.resetPasswordButton.click();
88 | const resetPasswordPage = await pagePromise;
89 | await resetPasswordPage.waitForLoadState();
at /home/runner/work/ciso-assistant-community/ciso-assistant-community/enterprise/frontend/.build/frontend/tests/functional/detailed/login.test.ts:86:56
|
Run tests with browser chromium:
enterprise/frontend/.build/frontend/tests/functional/detailed/login.test.ts#L85
2) [chromium] › functional/detailed/login.test.ts:40:1 › forgot password process is working properly
Error: browserContext.waitForEvent: Test ended.
83 |
84 | await lastMail.open();
> 85 | const pagePromise = page.context().waitForEvent('page');
| ^
86 | await expect(mailer.emailContent.resetPasswordButton).toBeVisible();
87 | await mailer.emailContent.resetPasswordButton.click();
88 | const resetPasswordPage = await pagePromise;
at /home/runner/work/ciso-assistant-community/ciso-assistant-community/enterprise/frontend/.build/frontend/tests/functional/detailed/login.test.ts:85:37
|
Run tests with browser chromium:
enterprise/frontend/.build/frontend/tests/utils/mailer.ts#L24
2) [chromium] › functional/detailed/login.test.ts:40:1 › forgot password process is working properly
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
Expected: "CISO Assistant: Password Reset"
Received: "Welcome to Ciso Assistant!"
at utils/mailer.ts:24
22 | async hasResetPasswordEmailDetails() {
23 | expect.soft(await this.getFrom()).toEqual('[email protected]');
> 24 | expect.soft(await this.getSubject()).toEqual('CISO Assistant: Password Reset');
| ^
25 | }
26 |
27 | async hasEmailRecipient(recipient: string) {
at Email.hasResetPasswordEmailDetails (/home/runner/work/ciso-assistant-community/ciso-assistant-community/enterprise/frontend/.build/frontend/tests/utils/mailer.ts:24:40)
at /home/runner/work/ciso-assistant-community/ciso-assistant-community/enterprise/frontend/.build/frontend/tests/functional/detailed/login.test.ts:81:2
|
Run tests with browser chromium:
enterprise/frontend/.build/frontend/tests/utils/mailer.ts#L28
2) [chromium] › functional/detailed/login.test.ts:40:1 › forgot password process is working properly
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
Expected: "[email protected]"
Received: "[email protected]"
at utils/mailer.ts:28
26 |
27 | async hasEmailRecipient(recipient: string) {
> 28 | expect.soft(await this.getTo()).toEqual(recipient);
| ^
29 | }
30 |
31 | async getFrom() {
at Email.hasEmailRecipient (/home/runner/work/ciso-assistant-community/ciso-assistant-community/enterprise/frontend/.build/frontend/tests/utils/mailer.ts:28:35)
at /home/runner/work/ciso-assistant-community/ciso-assistant-community/enterprise/frontend/.build/frontend/tests/functional/detailed/login.test.ts:82:2
|
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.8m
|
Run tests with browser chromium:
enterprise/frontend/.build/frontend/[chromium] › functional/user-route.test.ts#L1
enterprise/frontend/.build/frontend/[chromium] › functional/user-route.test.ts took 57.8s
|
Run tests with browser chromium:
enterprise/frontend/.build/frontend/[chromium] › functional/nav.test.ts#L1
enterprise/frontend/.build/frontend/[chromium] › functional/nav.test.ts took 56.6s
|
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 32.9s
|
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 31.3s
|
Run tests with browser chromium
6 failed
[chromium] › functional/detailed/common.test.ts:72:4 › Tests on users item › Tests on users item details › Users item details are showing properly
[chromium] › functional/detailed/login.test.ts:40:1 › forgot password process is working properly
[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
2 skipped
213 did not run
12 passed (22.2m)
|
Loading