refactor: move post-form validation logic to onUpdated event #4143
functional-tests.yml
on: pull_request
Matrix: enterprise-functional-tests
Matrix: functional-tests
Annotations
20 errors, 8 warnings, and 2 notices
[chromium] › functional/detailed/common.test.ts:82:4 › Tests on domains item › Tests on domains item details › user can edit domains item:
frontend/tests/utils/base-page.ts#L74
1) [chromium] › functional/detailed/common.test.ts:82:4 › Tests on domains item › Tests on domains item details › user can edit domains item
Error: Timed out 20000ms waiting for expect(locator).toBeVisible()
Locator: getByTestId('toast').filter({ hasText: /The .+ has been successfully updated/ })
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 20000ms
- waiting for getByTestId('toast').filter({ hasText: /The .+ has been successfully updated/ })
at utils/base-page.ts:74
72 | async isToastVisible(value: string, flags?: string | undefined, options?: {} | undefined) {
73 | const toast = this.page.getByTestId('toast').filter({ hasText: new RegExp(value, flags) });
> 74 | await expect(toast).toBeVisible(options);
| ^
75 | await toast.getByLabel('Dismiss toast').click();
76 | // await expect(toast).toBeHidden();
77 | return toast;
at PageDetail.isToastVisible (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/base-page.ts:74:23)
at PageDetail.editItem (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/page-detail.ts:38:14)
at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/detailed/common.test.ts:86:26
|
[chromium] › functional/detailed/common.test.ts:82:4 › Tests on domains item › Tests on domains item details › user can edit domains item:
frontend/tests/utils/base-page.ts#L74
1) [chromium] › functional/detailed/common.test.ts:82:4 › Tests on domains item › Tests on domains item details › user can edit domains item
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 20000ms waiting for expect(locator).toBeVisible()
Locator: getByTestId('toast').filter({ hasText: /The .+ has been successfully updated/ })
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 20000ms
- waiting for getByTestId('toast').filter({ hasText: /The .+ has been successfully updated/ })
at utils/base-page.ts:74
72 | async isToastVisible(value: string, flags?: string | undefined, options?: {} | undefined) {
73 | const toast = this.page.getByTestId('toast').filter({ hasText: new RegExp(value, flags) });
> 74 | await expect(toast).toBeVisible(options);
| ^
75 | await toast.getByLabel('Dismiss toast').click();
76 | // await expect(toast).toBeHidden();
77 | return toast;
at PageDetail.isToastVisible (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/base-page.ts:74:23)
at PageDetail.editItem (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/page-detail.ts:38:14)
at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/detailed/common.test.ts:86:26
|
[chromium] › functional/user-permissions.test.ts:30:3 › Analyst user has the right permissions › user can set his password:
frontend/tests/utils/page-content.ts#L56
2) [chromium] › functional/user-permissions.test.ts:30:3 › Analyst user has the right permissions › user can set his password
Error: Timed out 20000ms waiting for expect(locator).not.toBeVisible()
Locator: getByTestId('modal-title')
Expected: not visible
Received: visible
Call log:
- expect.not.toBeVisible with timeout 20000ms
- waiting for getByTestId('modal-title')
24 × locator resolved to <header data-testid="modal-title" class="text-2xl font-bold">Add evidence</header>
- unexpected value "visible"
at utils/page-content.ts:56
54 | await this.form.fill(values);
55 | await this.form.saveButton.click();
> 56 | await expect(this.form.formTitle).not.toBeVisible();
| ^
57 | if (typeof this.name == 'string') {
58 | await this.isToastVisible(
59 | 'The ' +
at PageContent.createItem (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/page-content.ts:56:41)
at Object.populateDatabase (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/test-utils.ts:282:4)
|
[chromium] › functional/user-permissions.test.ts:30:3 › Analyst user has the right permissions › user can set his password:
frontend/tests/utils/page-content.ts#L56
2) [chromium] › functional/user-permissions.test.ts:30:3 › Analyst user has the right permissions › user can set his password
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 20000ms waiting for expect(locator).not.toBeVisible()
Locator: getByTestId('modal-title')
Expected: not visible
Received: visible
Call log:
- expect.not.toBeVisible with timeout 20000ms
- waiting for getByTestId('modal-title')
24 × locator resolved to <header data-testid="modal-title" class="text-2xl font-bold">Add evidence</header>
- unexpected value "visible"
at utils/page-content.ts:56
54 | await this.form.fill(values);
55 | await this.form.saveButton.click();
> 56 | await expect(this.form.formTitle).not.toBeVisible();
| ^
57 | if (typeof this.name == 'string') {
58 | await this.isToastVisible(
59 | 'The ' +
at PageContent.createItem (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/page-content.ts:56:41)
at Object.populateDatabase (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/test-utils.ts:282:4)
|
[chromium] › functional/user-permissions.test.ts:30:3 › Reader user has the right permissions › user can set his password:
frontend/tests/utils/page-content.ts#L56
3) [chromium] › functional/user-permissions.test.ts:30:3 › Reader user has the right permissions › user can set his password
Error: Timed out 20000ms waiting for expect(locator).not.toBeVisible()
Locator: getByTestId('modal-title')
Expected: not visible
Received: visible
Call log:
- expect.not.toBeVisible with timeout 20000ms
- waiting for getByTestId('modal-title')
24 × locator resolved to <header data-testid="modal-title" class="text-2xl font-bold">Add evidence</header>
- unexpected value "visible"
at utils/page-content.ts:56
54 | await this.form.fill(values);
55 | await this.form.saveButton.click();
> 56 | await expect(this.form.formTitle).not.toBeVisible();
| ^
57 | if (typeof this.name == 'string') {
58 | await this.isToastVisible(
59 | 'The ' +
at PageContent.createItem (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/page-content.ts:56:41)
at Object.populateDatabase (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/test-utils.ts:282:4)
|
[chromium] › functional/user-permissions.test.ts:30:3 › Reader user has the right permissions › user can set his password:
frontend/tests/utils/page-content.ts#L56
3) [chromium] › functional/user-permissions.test.ts:30:3 › Reader user has the right permissions › user can set his password
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 20000ms waiting for expect(locator).not.toBeVisible()
Locator: getByTestId('modal-title')
Expected: not visible
Received: visible
Call log:
- expect.not.toBeVisible with timeout 20000ms
- waiting for getByTestId('modal-title')
24 × locator resolved to <header data-testid="modal-title" class="text-2xl font-bold">Add evidence</header>
- unexpected value "visible"
at utils/page-content.ts:56
54 | await this.form.fill(values);
55 | await this.form.saveButton.click();
> 56 | await expect(this.form.formTitle).not.toBeVisible();
| ^
57 | if (typeof this.name == 'string') {
58 | await this.isToastVisible(
59 | 'The ' +
at PageContent.createItem (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/page-content.ts:56:41)
at Object.populateDatabase (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/test-utils.ts:282:4)
|
[chromium] › functional/user-permissions.test.ts:30:3 › Domain manager user has the right permissions › user can set his password:
frontend/tests/utils/page-content.ts#L56
4) [chromium] › functional/user-permissions.test.ts:30:3 › Domain manager user has the right permissions › user can set his password
Error: Timed out 20000ms waiting for expect(locator).not.toBeVisible()
Locator: getByTestId('modal-title')
Expected: not visible
Received: visible
Call log:
- expect.not.toBeVisible with timeout 20000ms
- waiting for getByTestId('modal-title')
24 × locator resolved to <header data-testid="modal-title" class="text-2xl font-bold">Add evidence</header>
- unexpected value "visible"
at utils/page-content.ts:56
54 | await this.form.fill(values);
55 | await this.form.saveButton.click();
> 56 | await expect(this.form.formTitle).not.toBeVisible();
| ^
57 | if (typeof this.name == 'string') {
58 | await this.isToastVisible(
59 | 'The ' +
at PageContent.createItem (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/page-content.ts:56:41)
at Object.populateDatabase (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/test-utils.ts:282:4)
|
[chromium] › functional/user-permissions.test.ts:30:3 › Domain manager user has the right permissions › user can set his password:
frontend/tests/utils/page-content.ts#L56
4) [chromium] › functional/user-permissions.test.ts:30:3 › Domain manager user has the right permissions › user can set his password
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 20000ms waiting for expect(locator).not.toBeVisible()
Locator: getByTestId('modal-title')
Expected: not visible
Received: visible
Call log:
- expect.not.toBeVisible with timeout 20000ms
- waiting for getByTestId('modal-title')
24 × locator resolved to <header data-testid="modal-title" class="text-2xl font-bold">Add evidence</header>
- unexpected value "visible"
at utils/page-content.ts:56
54 | await this.form.fill(values);
55 | await this.form.saveButton.click();
> 56 | await expect(this.form.formTitle).not.toBeVisible();
| ^
57 | if (typeof this.name == 'string') {
58 | await this.isToastVisible(
59 | 'The ' +
at PageContent.createItem (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/page-content.ts:56:41)
at Object.populateDatabase (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/test-utils.ts:282:4)
|
[chromium] › functional/user-permissions.test.ts:30:3 › Approver user has the right permissions › user can set his password:
frontend/tests/utils/page-content.ts#L56
5) [chromium] › functional/user-permissions.test.ts:30:3 › Approver user has the right permissions › user can set his password
Error: Timed out 20000ms waiting for expect(locator).not.toBeVisible()
Locator: getByTestId('modal-title')
Expected: not visible
Received: visible
Call log:
- expect.not.toBeVisible with timeout 20000ms
- waiting for getByTestId('modal-title')
24 × locator resolved to <header data-testid="modal-title" class="text-2xl font-bold">Add evidence</header>
- unexpected value "visible"
at utils/page-content.ts:56
54 | await this.form.fill(values);
55 | await this.form.saveButton.click();
> 56 | await expect(this.form.formTitle).not.toBeVisible();
| ^
57 | if (typeof this.name == 'string') {
58 | await this.isToastVisible(
59 | 'The ' +
at PageContent.createItem (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/page-content.ts:56:41)
at Object.populateDatabase (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/test-utils.ts:282:4)
|
[chromium] › functional/user-permissions.test.ts:30:3 › Approver user has the right permissions › user can set his password:
frontend/tests/utils/page-content.ts#L56
5) [chromium] › functional/user-permissions.test.ts:30:3 › Approver user has the right permissions › user can set his password
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 20000ms waiting for expect(locator).not.toBeVisible()
Locator: getByTestId('modal-title')
Expected: not visible
Received: visible
Call log:
- expect.not.toBeVisible with timeout 20000ms
- waiting for getByTestId('modal-title')
24 × locator resolved to <header data-testid="modal-title" class="text-2xl font-bold">Add evidence</header>
- unexpected value "visible"
at utils/page-content.ts:56
54 | await this.form.fill(values);
55 | await this.form.saveButton.click();
> 56 | await expect(this.form.formTitle).not.toBeVisible();
| ^
57 | if (typeof this.name == 'string') {
58 | await this.isToastVisible(
59 | 'The ' +
at PageContent.createItem (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/page-content.ts:56:41)
at Object.populateDatabase (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/test-utils.ts:282:4)
|
[chromium] › functional/detailed/common.test.ts:82:4 › Tests on domains item › Tests on domains item details › user can edit domains item:
enterprise/frontend/.build/frontend/tests/utils/base-page.ts#L74
1) [chromium] › functional/detailed/common.test.ts:82:4 › Tests on domains item › Tests on domains item details › user can edit domains item
Error: Timed out 20000ms waiting for expect(locator).toBeVisible()
Locator: getByTestId('toast').filter({ hasText: /The .+ has been successfully updated/ })
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 20000ms
- waiting for getByTestId('toast').filter({ hasText: /The .+ has been successfully updated/ })
at utils/base-page.ts:74
72 | async isToastVisible(value: string, flags?: string | undefined, options?: {} | undefined) {
73 | const toast = this.page.getByTestId('toast').filter({ hasText: new RegExp(value, flags) });
> 74 | await expect(toast).toBeVisible(options);
| ^
75 | await toast.getByLabel('Dismiss toast').click();
76 | // await expect(toast).toBeHidden();
77 | return toast;
at PageDetail.isToastVisible (/home/runner/work/ciso-assistant-community/ciso-assistant-community/enterprise/frontend/.build/frontend/tests/utils/base-page.ts:74:23)
at PageDetail.editItem (/home/runner/work/ciso-assistant-community/ciso-assistant-community/enterprise/frontend/.build/frontend/tests/utils/page-detail.ts:38:14)
at /home/runner/work/ciso-assistant-community/ciso-assistant-community/enterprise/frontend/.build/frontend/tests/functional/detailed/common.test.ts:86:26
|
[chromium] › functional/detailed/common.test.ts:82:4 › Tests on domains item › Tests on domains item details › user can edit domains item:
enterprise/frontend/.build/frontend/tests/utils/base-page.ts#L74
1) [chromium] › functional/detailed/common.test.ts:82:4 › Tests on domains item › Tests on domains item details › user can edit domains item
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 20000ms waiting for expect(locator).toBeVisible()
Locator: getByTestId('toast').filter({ hasText: /The .+ has been successfully updated/ })
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 20000ms
- waiting for getByTestId('toast').filter({ hasText: /The .+ has been successfully updated/ })
at utils/base-page.ts:74
72 | async isToastVisible(value: string, flags?: string | undefined, options?: {} | undefined) {
73 | const toast = this.page.getByTestId('toast').filter({ hasText: new RegExp(value, flags) });
> 74 | await expect(toast).toBeVisible(options);
| ^
75 | await toast.getByLabel('Dismiss toast').click();
76 | // await expect(toast).toBeHidden();
77 | return toast;
at PageDetail.isToastVisible (/home/runner/work/ciso-assistant-community/ciso-assistant-community/enterprise/frontend/.build/frontend/tests/utils/base-page.ts:74:23)
at PageDetail.editItem (/home/runner/work/ciso-assistant-community/ciso-assistant-community/enterprise/frontend/.build/frontend/tests/utils/page-detail.ts:38:14)
at /home/runner/work/ciso-assistant-community/ciso-assistant-community/enterprise/frontend/.build/frontend/tests/functional/detailed/common.test.ts:86:26
|
[chromium] › functional/user-permissions.test.ts:30:3 › Analyst user has the right permissions › user can set his password:
enterprise/frontend/.build/frontend/tests/utils/page-content.ts#L56
2) [chromium] › functional/user-permissions.test.ts:30:3 › Analyst user has the right permissions › user can set his password
Error: Timed out 20000ms waiting for expect(locator).not.toBeVisible()
Locator: getByTestId('modal-title')
Expected: not visible
Received: visible
Call log:
- expect.not.toBeVisible with timeout 20000ms
- waiting for getByTestId('modal-title')
24 × locator resolved to <header data-testid="modal-title" class="text-2xl font-bold">Add evidence</header>
- unexpected value "visible"
at utils/page-content.ts:56
54 | await this.form.fill(values);
55 | await this.form.saveButton.click();
> 56 | await expect(this.form.formTitle).not.toBeVisible();
| ^
57 | if (typeof this.name == 'string') {
58 | await this.isToastVisible(
59 | 'The ' +
at PageContent.createItem (/home/runner/work/ciso-assistant-community/ciso-assistant-community/enterprise/frontend/.build/frontend/tests/utils/page-content.ts:56:41)
at Object.populateDatabase (/home/runner/work/ciso-assistant-community/ciso-assistant-community/enterprise/frontend/.build/frontend/tests/utils/test-utils.ts:282:4)
|
[chromium] › functional/user-permissions.test.ts:30:3 › Analyst user has the right permissions › user can set his password:
enterprise/frontend/.build/frontend/tests/utils/page-content.ts#L56
2) [chromium] › functional/user-permissions.test.ts:30:3 › Analyst user has the right permissions › user can set his password
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 20000ms waiting for expect(locator).not.toBeVisible()
Locator: getByTestId('modal-title')
Expected: not visible
Received: visible
Call log:
- expect.not.toBeVisible with timeout 20000ms
- waiting for getByTestId('modal-title')
24 × locator resolved to <header data-testid="modal-title" class="text-2xl font-bold">Add evidence</header>
- unexpected value "visible"
at utils/page-content.ts:56
54 | await this.form.fill(values);
55 | await this.form.saveButton.click();
> 56 | await expect(this.form.formTitle).not.toBeVisible();
| ^
57 | if (typeof this.name == 'string') {
58 | await this.isToastVisible(
59 | 'The ' +
at PageContent.createItem (/home/runner/work/ciso-assistant-community/ciso-assistant-community/enterprise/frontend/.build/frontend/tests/utils/page-content.ts:56:41)
at Object.populateDatabase (/home/runner/work/ciso-assistant-community/ciso-assistant-community/enterprise/frontend/.build/frontend/tests/utils/test-utils.ts:282:4)
|
[chromium] › functional/user-permissions.test.ts:30:3 › Reader user has the right permissions › user can set his password:
enterprise/frontend/.build/frontend/tests/utils/page-content.ts#L56
3) [chromium] › functional/user-permissions.test.ts:30:3 › Reader user has the right permissions › user can set his password
Error: Timed out 20000ms waiting for expect(locator).not.toBeVisible()
Locator: getByTestId('modal-title')
Expected: not visible
Received: visible
Call log:
- expect.not.toBeVisible with timeout 20000ms
- waiting for getByTestId('modal-title')
24 × locator resolved to <header data-testid="modal-title" class="text-2xl font-bold">Add evidence</header>
- unexpected value "visible"
at utils/page-content.ts:56
54 | await this.form.fill(values);
55 | await this.form.saveButton.click();
> 56 | await expect(this.form.formTitle).not.toBeVisible();
| ^
57 | if (typeof this.name == 'string') {
58 | await this.isToastVisible(
59 | 'The ' +
at PageContent.createItem (/home/runner/work/ciso-assistant-community/ciso-assistant-community/enterprise/frontend/.build/frontend/tests/utils/page-content.ts:56:41)
at Object.populateDatabase (/home/runner/work/ciso-assistant-community/ciso-assistant-community/enterprise/frontend/.build/frontend/tests/utils/test-utils.ts:282:4)
|
[chromium] › functional/user-permissions.test.ts:30:3 › Reader user has the right permissions › user can set his password:
enterprise/frontend/.build/frontend/tests/utils/page-content.ts#L56
3) [chromium] › functional/user-permissions.test.ts:30:3 › Reader user has the right permissions › user can set his password
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 20000ms waiting for expect(locator).not.toBeVisible()
Locator: getByTestId('modal-title')
Expected: not visible
Received: visible
Call log:
- expect.not.toBeVisible with timeout 20000ms
- waiting for getByTestId('modal-title')
24 × locator resolved to <header data-testid="modal-title" class="text-2xl font-bold">Add evidence</header>
- unexpected value "visible"
at utils/page-content.ts:56
54 | await this.form.fill(values);
55 | await this.form.saveButton.click();
> 56 | await expect(this.form.formTitle).not.toBeVisible();
| ^
57 | if (typeof this.name == 'string') {
58 | await this.isToastVisible(
59 | 'The ' +
at PageContent.createItem (/home/runner/work/ciso-assistant-community/ciso-assistant-community/enterprise/frontend/.build/frontend/tests/utils/page-content.ts:56:41)
at Object.populateDatabase (/home/runner/work/ciso-assistant-community/ciso-assistant-community/enterprise/frontend/.build/frontend/tests/utils/test-utils.ts:282:4)
|
[chromium] › functional/user-permissions.test.ts:30:3 › Domain manager user has the right permissions › user can set his password:
enterprise/frontend/.build/frontend/tests/utils/page-content.ts#L56
4) [chromium] › functional/user-permissions.test.ts:30:3 › Domain manager user has the right permissions › user can set his password
Error: Timed out 20000ms waiting for expect(locator).not.toBeVisible()
Locator: getByTestId('modal-title')
Expected: not visible
Received: visible
Call log:
- expect.not.toBeVisible with timeout 20000ms
- waiting for getByTestId('modal-title')
24 × locator resolved to <header data-testid="modal-title" class="text-2xl font-bold">Add evidence</header>
- unexpected value "visible"
at utils/page-content.ts:56
54 | await this.form.fill(values);
55 | await this.form.saveButton.click();
> 56 | await expect(this.form.formTitle).not.toBeVisible();
| ^
57 | if (typeof this.name == 'string') {
58 | await this.isToastVisible(
59 | 'The ' +
at PageContent.createItem (/home/runner/work/ciso-assistant-community/ciso-assistant-community/enterprise/frontend/.build/frontend/tests/utils/page-content.ts:56:41)
at Object.populateDatabase (/home/runner/work/ciso-assistant-community/ciso-assistant-community/enterprise/frontend/.build/frontend/tests/utils/test-utils.ts:282:4)
|
[chromium] › functional/user-permissions.test.ts:30:3 › Domain manager user has the right permissions › user can set his password:
enterprise/frontend/.build/frontend/tests/utils/page-content.ts#L56
4) [chromium] › functional/user-permissions.test.ts:30:3 › Domain manager user has the right permissions › user can set his password
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 20000ms waiting for expect(locator).not.toBeVisible()
Locator: getByTestId('modal-title')
Expected: not visible
Received: visible
Call log:
- expect.not.toBeVisible with timeout 20000ms
- waiting for getByTestId('modal-title')
24 × locator resolved to <header data-testid="modal-title" class="text-2xl font-bold">Add evidence</header>
- unexpected value "visible"
at utils/page-content.ts:56
54 | await this.form.fill(values);
55 | await this.form.saveButton.click();
> 56 | await expect(this.form.formTitle).not.toBeVisible();
| ^
57 | if (typeof this.name == 'string') {
58 | await this.isToastVisible(
59 | 'The ' +
at PageContent.createItem (/home/runner/work/ciso-assistant-community/ciso-assistant-community/enterprise/frontend/.build/frontend/tests/utils/page-content.ts:56:41)
at Object.populateDatabase (/home/runner/work/ciso-assistant-community/ciso-assistant-community/enterprise/frontend/.build/frontend/tests/utils/test-utils.ts:282:4)
|
[chromium] › functional/user-permissions.test.ts:30:3 › Approver user has the right permissions › user can set his password:
enterprise/frontend/.build/frontend/tests/utils/page-content.ts#L56
5) [chromium] › functional/user-permissions.test.ts:30:3 › Approver user has the right permissions › user can set his password
Error: Timed out 20000ms waiting for expect(locator).not.toBeVisible()
Locator: getByTestId('modal-title')
Expected: not visible
Received: visible
Call log:
- expect.not.toBeVisible with timeout 20000ms
- waiting for getByTestId('modal-title')
24 × locator resolved to <header data-testid="modal-title" class="text-2xl font-bold">Add evidence</header>
- unexpected value "visible"
at utils/page-content.ts:56
54 | await this.form.fill(values);
55 | await this.form.saveButton.click();
> 56 | await expect(this.form.formTitle).not.toBeVisible();
| ^
57 | if (typeof this.name == 'string') {
58 | await this.isToastVisible(
59 | 'The ' +
at PageContent.createItem (/home/runner/work/ciso-assistant-community/ciso-assistant-community/enterprise/frontend/.build/frontend/tests/utils/page-content.ts:56:41)
at Object.populateDatabase (/home/runner/work/ciso-assistant-community/ciso-assistant-community/enterprise/frontend/.build/frontend/tests/utils/test-utils.ts:282:4)
|
[chromium] › functional/user-permissions.test.ts:30:3 › Approver user has the right permissions › user can set his password:
enterprise/frontend/.build/frontend/tests/utils/page-content.ts#L56
5) [chromium] › functional/user-permissions.test.ts:30:3 › Approver user has the right permissions › user can set his password
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 20000ms waiting for expect(locator).not.toBeVisible()
Locator: getByTestId('modal-title')
Expected: not visible
Received: visible
Call log:
- expect.not.toBeVisible with timeout 20000ms
- waiting for getByTestId('modal-title')
24 × locator resolved to <header data-testid="modal-title" class="text-2xl font-bold">Add evidence</header>
- unexpected value "visible"
at utils/page-content.ts:56
54 | await this.form.fill(values);
55 | await this.form.saveButton.click();
> 56 | await expect(this.form.formTitle).not.toBeVisible();
| ^
57 | if (typeof this.name == 'string') {
58 | await this.isToastVisible(
59 | 'The ' +
at PageContent.createItem (/home/runner/work/ciso-assistant-community/ciso-assistant-community/enterprise/frontend/.build/frontend/tests/utils/page-content.ts:56:41)
at Object.populateDatabase (/home/runner/work/ciso-assistant-community/ciso-assistant-community/enterprise/frontend/.build/frontend/tests/utils/test-utils.ts:282:4)
|
Slow Test:
frontend/[chromium] › fuzz/open-redirect/open-redirect.test.ts#L1
frontend/[chromium] › fuzz/open-redirect/open-redirect.test.ts took 1.8m
|
Slow Test:
frontend/[chromium] › functional/nav.test.ts#L1
frontend/[chromium] › functional/nav.test.ts took 53.0s
|
Slow Test:
frontend/[chromium] › functional/detailed/libraries.test.ts#L1
frontend/[chromium] › functional/detailed/libraries.test.ts took 30.8s
|
Slow Test:
frontend/[chromium] › functional/detailed/compliance-assessments.test.ts#L1
frontend/[chromium] › functional/detailed/compliance-assessments.test.ts took 27.3s
|
Slow Test:
enterprise/frontend/.build/frontend/[chromium] › fuzz/open-redirect/open-redirect.test.ts#L1
enterprise/frontend/.build/frontend/[chromium] › fuzz/open-redirect/open-redirect.test.ts took 2.6m
|
Slow Test:
enterprise/frontend/.build/frontend/[chromium] › functional/nav.test.ts#L1
enterprise/frontend/.build/frontend/[chromium] › functional/nav.test.ts took 56.9s
|
Slow Test:
enterprise/frontend/.build/frontend/[chromium] › functional/detailed/libraries.test.ts#L1
enterprise/frontend/.build/frontend/[chromium] › functional/detailed/libraries.test.ts took 31.2s
|
Slow Test:
enterprise/frontend/.build/frontend/[chromium] › functional/detailed/compliance-assessments.test.ts#L1
enterprise/frontend/.build/frontend/[chromium] › functional/detailed/compliance-assessments.test.ts took 27.8s
|
🎭 Playwright Run Summary
6 failed
[chromium] › functional/detailed/common.test.ts:82:4 › Tests on domains item › Tests on domains item details › user can edit domains item
[chromium] › functional/user-permissions.test.ts:30:3 › Analyst user has the right permissions › user can set his password
[chromium] › functional/user-permissions.test.ts:30:3 › Reader user has the right permissions › user can set his password
[chromium] › functional/user-permissions.test.ts:30:3 › Domain manager user has the right permissions › user can set his password
[chromium] › functional/user-permissions.test.ts:30: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
214 did not run
11 passed (24.3m)
|
🎭 Playwright Run Summary
6 failed
[chromium] › functional/detailed/common.test.ts:82:4 › Tests on domains item › Tests on domains item details › user can edit domains item
[chromium] › functional/user-permissions.test.ts:30:3 › Analyst user has the right permissions › user can set his password
[chromium] › functional/user-permissions.test.ts:30:3 › Reader user has the right permissions › user can set his password
[chromium] › functional/user-permissions.test.ts:30:3 › Domain manager user has the right permissions › user can set his password
[chromium] › functional/user-permissions.test.ts:30: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
214 did not run
11 passed (25.7m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
--enterprise-functional-tests-report-chromium
|
488 MB |
|
--functional-tests-report-chromium
|
477 MB |
|