Make modals persistents #1385
Annotations
12 errors, 5 warnings, and 1 notice
[chromium] › functional/detailed/common.test.ts:79:4 › Tests on audits item › Tests on audits item details › user can edit audits item:
frontend/tests/utils/base-page.ts#L61
1) [chromium] › functional/detailed/common.test.ts:79:4 › Tests on audits item › Tests on audits item details › user can edit audits item
Error: Timed out 10000ms 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 10000ms
- waiting for getByTestId('toast').filter({ hasText: /The .+ has been successfully updated/ })
at utils/base-page.ts:61
59 | async isToastVisible(value: string, flags?: string | undefined, options?: {} | undefined) {
60 | const toast = this.page.getByTestId('toast').filter({ hasText: new RegExp(value, flags) });
> 61 | await expect(toast).toBeVisible(options);
| ^
62 | await toast.getByLabel('Dismiss toast').click();
63 | // await expect(toast).toBeHidden();
64 | return toast;
at PageDetail.isToastVisible (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/base-page.ts:61:23)
at PageDetail.editItem (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/page-detail.ts:39:14)
at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/detailed/common.test.ts:83:26
|
[chromium] › functional/detailed/common.test.ts:79:4 › Tests on audits item › Tests on audits item details › user can edit audits item:
frontend/tests/utils/base-page.ts#L61
1) [chromium] › functional/detailed/common.test.ts:79:4 › Tests on audits item › Tests on audits item details › user can edit audits item
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 10000ms 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 10000ms
- waiting for getByTestId('toast').filter({ hasText: /The .+ has been successfully updated/ })
at utils/base-page.ts:61
59 | async isToastVisible(value: string, flags?: string | undefined, options?: {} | undefined) {
60 | const toast = this.page.getByTestId('toast').filter({ hasText: new RegExp(value, flags) });
> 61 | await expect(toast).toBeVisible(options);
| ^
62 | await toast.getByLabel('Dismiss toast').click();
63 | // await expect(toast).toBeHidden();
64 | return toast;
at PageDetail.isToastVisible (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/base-page.ts:61:23)
at PageDetail.editItem (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/page-detail.ts:39:14)
at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/detailed/common.test.ts:83:26
|
[chromium] › functional/detailed/login.test.ts:41:1 › forgot password process is working properly:
frontend/tests/functional/detailed/login.test.ts#L57
2) [chromium] › functional/detailed/login.test.ts:41:1 › forgot password process is working properly
Error: Timed out 10000ms waiting for expect(locator).toHaveURL(expected)
Locator: locator(':root')
Expected pattern: /.*\/users\/.+\/edit\/set-password/
Received string: "http://localhost:4173/users/62032949-816d-4f6e-b714-8d9ebe247cc9/edit?next=/users"
Call log:
- expect.toHaveURL with timeout 10000ms
- waiting for locator(':root')
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/users/62032949-816d-4f6e-b714-8d9ebe247cc9/edit?next=/users"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/users/62032949-816d-4f6e-b714-8d9ebe247cc9/edit?next=/users"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/users/62032949-816d-4f6e-b714-8d9ebe247cc9/edit?next=/users"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/users/62032949-816d-4f6e-b714-8d9ebe247cc9/edit?next=/users"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/users/62032949-816d-4f6e-b714-8d9ebe247cc9/edit?next=/users"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/users/62032949-816d-4f6e-b714-8d9ebe247cc9/edit?next=/users"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/users/62032949-816d-4f6e-b714-8d9ebe247cc9/edit?next=/users"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/users/62032949-816d-4f6e-b714-8d9ebe247cc9/edit?next=/users"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/users/62032949-816d-4f6e-b714-8d9ebe247cc9/edit?next=/users"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/users/62032949-816d-4f6e-b714-8d9ebe247cc9/edit?next=/users"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/users/62032949-816d-4f6e-b714-8d9ebe247cc9/edit?next=/users"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/users/62032949-816d-4f6e-b714-8d9ebe247cc9/edit?next=/users"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/users/62032949-816d-4f6e-b714-8d9ebe247cc9/edit?next=/users"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/users/62032949-816d-4f6e-b714-8d9ebe247cc9/edit?next=/users"
55 | await usersPage.editItemButton(email).click();
56 | await page.getByTestId('set-password-btn').click();
> 57 | await expect(page).toHaveURL(/.*\/users\/.+\/edit\/set-password/);
| ^
58 | await usersPage.form.fill({
59 | new_password: testData.user.password,
60 | confirm_new_password: testData.user.password
at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/detailed/login.test.ts:57:21
|
[chromium] › functional/detailed/login.test.ts:41:1 › forgot password process is working properly:
frontend/tests/functional/detailed/login.test.ts#L57
2) [chromium] › functional/detailed/login.test.ts:41:1 › forgot password process is working properly
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 10000ms waiting for expect(locator).toHaveURL(expected)
Locator: locator(':root')
Expected pattern: /.*\/users\/.+\/edit\/set-password/
Received string: "http://localhost:4173/users/ab66a86e-738d-4d54-a36a-8eac42163bf7/edit?next=/users"
Call log:
- expect.toHaveURL with timeout 10000ms
- waiting for locator(':root')
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/users/ab66a86e-738d-4d54-a36a-8eac42163bf7/edit?next=/users"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/users/ab66a86e-738d-4d54-a36a-8eac42163bf7/edit?next=/users"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/users/ab66a86e-738d-4d54-a36a-8eac42163bf7/edit?next=/users"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/users/ab66a86e-738d-4d54-a36a-8eac42163bf7/edit?next=/users"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/users/ab66a86e-738d-4d54-a36a-8eac42163bf7/edit?next=/users"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/users/ab66a86e-738d-4d54-a36a-8eac42163bf7/edit?next=/users"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/users/ab66a86e-738d-4d54-a36a-8eac42163bf7/edit?next=/users"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/users/ab66a86e-738d-4d54-a36a-8eac42163bf7/edit?next=/users"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/users/ab66a86e-738d-4d54-a36a-8eac42163bf7/edit?next=/users"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/users/ab66a86e-738d-4d54-a36a-8eac42163bf7/edit?next=/users"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/users/ab66a86e-738d-4d54-a36a-8eac42163bf7/edit?next=/users"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/users/ab66a86e-738d-4d54-a36a-8eac42163bf7/edit?next=/users"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/users/ab66a86e-738d-4d54-a36a-8eac42163bf7/edit?next=/users"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/users/ab66a86e-738d-4d54-a36a-8eac42163bf7/edit?next=/users"
55 | await usersPage.editItemButton(email).click();
56 | await page.getByTestId('set-password-btn').click();
> 57 | await expect(page).toHaveURL(/.*\/users\/.+\/edit\/set-password/);
| ^
58 | await usersPage.form.fill({
59 | new_password: testData.user.password,
60 | confirm_new_password: testData.user.password
at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/detailed/login.test.ts:57:21
|
[chromium] › functional/user-permissions.test.ts:28:3 › Analyst user has the right permissions › user can set his password:
frontend/tests/utils/base-page.ts#L61
3) [chromium] › functional/user-permissions.test.ts:28:3 › Analyst user has the right permissions › user can set his password
Error: Timed out 10000ms waiting for expect(locator).toBeVisible()
Locator: getByTestId('toast').filter({ hasText: /The user: [email protected] has been successfully updated.+/ })
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 10000ms
- waiting for getByTestId('toast').filter({ hasText: /The user: [email protected] has been successfully updated.+/ })
at utils/base-page.ts:61
59 | async isToastVisible(value: string, flags?: string | undefined, options?: {} | undefined) {
60 | const toast = this.page.getByTestId('toast').filter({ hasText: new RegExp(value, flags) });
> 61 | await expect(toast).toBeVisible(options);
| ^
62 | await toast.getByLabel('Dismiss toast').click();
63 | // await expect(toast).toBeHidden();
64 | return toast;
at PageContent.isToastVisible (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/base-page.ts:61:23)
at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/user-permissions.test.ts:44:20
|
[chromium] › functional/user-permissions.test.ts:28:3 › Analyst user has the right permissions › user can set his password:
frontend/tests/utils/base-page.ts#L61
3) [chromium] › functional/user-permissions.test.ts:28:3 › Analyst user has the right permissions › user can set his password
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 10000ms waiting for expect(locator).toBeVisible()
Locator: getByTestId('toast').filter({ hasText: /The user: [email protected] has been successfully updated.+/ })
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 10000ms
- waiting for getByTestId('toast').filter({ hasText: /The user: [email protected] has been successfully updated.+/ })
at utils/base-page.ts:61
59 | async isToastVisible(value: string, flags?: string | undefined, options?: {} | undefined) {
60 | const toast = this.page.getByTestId('toast').filter({ hasText: new RegExp(value, flags) });
> 61 | await expect(toast).toBeVisible(options);
| ^
62 | await toast.getByLabel('Dismiss toast').click();
63 | // await expect(toast).toBeHidden();
64 | return toast;
at PageContent.isToastVisible (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/base-page.ts:61:23)
at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/user-permissions.test.ts:44:20
|
[chromium] › functional/user-permissions.test.ts:28:3 › Reader user has the right permissions › user can set his password:
frontend/tests/utils/base-page.ts#L61
4) [chromium] › functional/user-permissions.test.ts:28:3 › Reader user has the right permissions › user can set his password
Error: Timed out 10000ms waiting for expect(locator).toBeVisible()
Locator: getByTestId('toast').filter({ hasText: /The user: [email protected] has been successfully updated.+/ })
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 10000ms
- waiting for getByTestId('toast').filter({ hasText: /The user: [email protected] has been successfully updated.+/ })
at utils/base-page.ts:61
59 | async isToastVisible(value: string, flags?: string | undefined, options?: {} | undefined) {
60 | const toast = this.page.getByTestId('toast').filter({ hasText: new RegExp(value, flags) });
> 61 | await expect(toast).toBeVisible(options);
| ^
62 | await toast.getByLabel('Dismiss toast').click();
63 | // await expect(toast).toBeHidden();
64 | return toast;
at PageContent.isToastVisible (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/base-page.ts:61:23)
at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/user-permissions.test.ts:44:20
|
[chromium] › functional/user-permissions.test.ts:28:3 › Reader user has the right permissions › user can set his password:
frontend/tests/utils/base-page.ts#L61
4) [chromium] › functional/user-permissions.test.ts:28:3 › Reader user has the right permissions › user can set his password
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 10000ms waiting for expect(locator).toBeVisible()
Locator: getByTestId('toast').filter({ hasText: /The user: [email protected] has been successfully updated.+/ })
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 10000ms
- waiting for getByTestId('toast').filter({ hasText: /The user: [email protected] has been successfully updated.+/ })
at utils/base-page.ts:61
59 | async isToastVisible(value: string, flags?: string | undefined, options?: {} | undefined) {
60 | const toast = this.page.getByTestId('toast').filter({ hasText: new RegExp(value, flags) });
> 61 | await expect(toast).toBeVisible(options);
| ^
62 | await toast.getByLabel('Dismiss toast').click();
63 | // await expect(toast).toBeHidden();
64 | return toast;
at PageContent.isToastVisible (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/base-page.ts:61:23)
at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/user-permissions.test.ts:44:20
|
[chromium] › functional/user-permissions.test.ts:28:3 › Domain manager user has the right permissions › user can set his password:
frontend/tests/utils/base-page.ts#L61
5) [chromium] › functional/user-permissions.test.ts:28:3 › Domain manager user has the right permissions › user can set his password
Error: Timed out 10000ms waiting for expect(locator).toBeVisible()
Locator: getByTestId('toast').filter({ hasText: /The user: [email protected] has been successfully updated.+/ })
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 10000ms
- waiting for getByTestId('toast').filter({ hasText: /The user: [email protected] has been successfully updated.+/ })
at utils/base-page.ts:61
59 | async isToastVisible(value: string, flags?: string | undefined, options?: {} | undefined) {
60 | const toast = this.page.getByTestId('toast').filter({ hasText: new RegExp(value, flags) });
> 61 | await expect(toast).toBeVisible(options);
| ^
62 | await toast.getByLabel('Dismiss toast').click();
63 | // await expect(toast).toBeHidden();
64 | return toast;
at PageContent.isToastVisible (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/base-page.ts:61:23)
at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/user-permissions.test.ts:44:20
|
[chromium] › functional/user-permissions.test.ts:28:3 › Domain manager user has the right permissions › user can set his password:
frontend/tests/utils/base-page.ts#L61
5) [chromium] › functional/user-permissions.test.ts:28:3 › Domain manager user has the right permissions › user can set his password
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 10000ms waiting for expect(locator).toBeVisible()
Locator: getByTestId('toast').filter({ hasText: /The user: [email protected] has been successfully updated.+/ })
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 10000ms
- waiting for getByTestId('toast').filter({ hasText: /The user: [email protected] has been successfully updated.+/ })
at utils/base-page.ts:61
59 | async isToastVisible(value: string, flags?: string | undefined, options?: {} | undefined) {
60 | const toast = this.page.getByTestId('toast').filter({ hasText: new RegExp(value, flags) });
> 61 | await expect(toast).toBeVisible(options);
| ^
62 | await toast.getByLabel('Dismiss toast').click();
63 | // await expect(toast).toBeHidden();
64 | return toast;
at PageContent.isToastVisible (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/base-page.ts:61:23)
at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/user-permissions.test.ts:44:20
|
functional-tests (3.11, firefox)
The job was canceled because "_3_11_chromium" failed.
|
functional-tests (3.11, firefox)
The operation was canceled.
|
functional-tests (3.11, chromium)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/setup-python@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Slow Test:
frontend/[chromium] › functional/detailed/libraries.test.ts#L1
frontend/[chromium] › functional/detailed/libraries.test.ts took 3.8m
|
Slow Test:
frontend/[chromium] › functional/user-route.test.ts#L1
frontend/[chromium] › functional/user-route.test.ts took 55.2s
|
Slow Test:
frontend/[chromium] › functional/nav.test.ts#L1
frontend/[chromium] › functional/nav.test.ts took 39.2s
|
Slow Test:
frontend/[chromium] › functional/detailed/compliance-assessments.test.ts#L1
frontend/[chromium] › functional/detailed/compliance-assessments.test.ts took 25.2s
|
🎭 Playwright Run Summary
6 failed
[chromium] › functional/detailed/common.test.ts:79:4 › Tests on audits item › Tests on audits item details › user can edit audits item
[chromium] › functional/detailed/login.test.ts:41: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
200 did not run
25 passed (21.3m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
functional-tests-report-chromium
Expired
|
717 MB |
|
functional-tests-report-firefox
Expired
|
375 MB |
|