Playwright E2E Tests #241
Annotations
2 errors, 2 warnings, and 1 notice
Run Playwright tests:
e2e/playwright-tests/page-objects/notification-toast.pom.ts#L99
1) [chromium_test_workflow] › e2e/playwright-tests/features/@permissions/view-portfolio.feature.spec.js:6:7 › Without VIEW_PORTFOLIO Permissions The User Cannot Log In › Then the user receives login error toast
Error: expect.toBeVisible: Error: strict mode violation: locator('div.toast-error') resolved to 770 elements:
1) <div class="toast toast-error">…</div> aka locator('.toast').first()
2) <div class="toast toast-error">…</div> aka locator('.toast-container > div:nth-child(2)')
3) <div class="toast toast-error">…</div> aka locator('div:nth-child(3)').first()
4) <div class="toast toast-error">…</div> aka locator('div:nth-child(4)').first()
5) <div class="toast toast-error">…</div> aka locator('.toast-container > div:nth-child(5)')
6) <div class="toast toast-error">…</div> aka locator('.toast-container > div:nth-child(6)')
7) <div class="toast toast-error">…</div> aka locator('div:nth-child(7)').first()
8) <div class="toast toast-error">…</div> aka locator('div:nth-child(8)').first()
9) <div class="toast toast-error">…</div> aka locator('div:nth-child(9)')
10) <div class="toast toast-error">…</div> aka locator('div:nth-child(10)')
...
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('div.toast-error')
at ../../page-objects/notification-toast.pom.ts:99
97 |
98 | async verifyFailedLogInAttemptToast() {
> 99 | await expect(this.errorToast).toBeVisible();
| ^
100 | await expect(this.errorToast).toContainText(getValue("condition", "forbidden"));
101 | await this.errorToast.click();
102 | }
at NotificationToast.verifyFailedLogInAttemptToast (/home/runner/work/hyades/hyades/e2e/playwright-tests/page-objects/notification-toast.pom.ts:99:39)
at Object.<anonymous> (/home/runner/work/hyades/hyades/e2e/playwright-tests/steps/notification.steps.ts:8:29)
at /home/runner/work/hyades/hyades/e2e/playwright-tests/.features-gen/tests/e2e/playwright-tests/features/@permissions/view-portfolio.feature.spec.js:8:5
|
Run Playwright tests
Process completed with exit code 1.
|
Run Playwright tests:
[setup_provisioning] › ../setup/e2e/playwright-tests/features/@setup/provisioning.feature.spec.js#L1
[setup_provisioning] › ../setup/e2e/playwright-tests/features/@setup/provisioning.feature.spec.js took 3.7m
|
Run Playwright tests:
[chromium_test_workflow] › e2e/playwright-tests/features/@projects/create_parent_project.feature.spec.js#L1
[chromium_test_workflow] › e2e/playwright-tests/features/@projects/create_parent_project.feature.spec.js took 17.9s
|
Run Playwright tests
1 failed
[chromium_test_workflow] › e2e/playwright-tests/features/@permissions/view-portfolio.feature.spec.js:6:7 › Without VIEW_PORTFOLIO Permissions The User Cannot Log In
31 passed (6.4m)
|
Loading