PMM Upgrade Matrix (e2e tests) #71
Annotations
2 errors, 1 warning, and 1 notice
pmm-ui-tests/playwright-tests/components/toast.ts#L34
1) [chromium] › rbac/rbac.spec.ts:82:7 › Spec file for Access Control (RBAC) › PMM-T1580 Verify creating Access Role @rbac @rbac-pre-upgrade @rbac-post-upgrade
locator.waitFor: Error: strict mode violation: locator('xpath=//div[contains(@data-testid, "Alert") or contains(@aria-label, "Alert")]') resolved to 3 elements:
1) <div role="alert" class="css-14ka8ii" data-testid="da…>…</div> aka getByRole('alert', { name: 'Templating [environment]' })
2) <div role="alert" class="css-14ka8ii" data-testid="da…>…</div> aka getByRole('alert', { name: 'Templating [region]' })
3) <div role="alert" class="css-14ka8ii" data-testid="da…>…</div> aka getByTestId('data-testid Alert success')
=========================== logs ===========================
waiting for locator('xpath=//div[contains(@data-testid, "Alert") or contains(@aria-label, "Alert")]') to be visible
============================================================
at ../components/toast.ts:34
32 | let selectedToast: Locator = this.selectToast(options?.variant);
33 |
> 34 | await selectedToast.waitFor({ state: 'visible', timeout: options?.timeout || 30000 });
| ^
35 | await expect(selectedToast).toHaveText(message, { timeout: options?.assertionTimeout || config.expect?.timeout });
36 | await this.closeButton(selectedToast).click();
37 | await selectedToast.waitFor({ state: 'detached' });
at Toast.checkToastMessage (/home/runner/work/pmm-ui-tests/pmm-ui-tests/pmm-ui-tests/playwright-tests/components/toast.ts:34:25)
at CreateRolePage.createNewRole (/home/runner/work/pmm-ui-tests/pmm-ui-tests/pmm-ui-tests/playwright-tests/tests/configuration/pages/CreateRole.page.ts:69:22)
at /home/runner/work/pmm-ui-tests/pmm-ui-tests/pmm-ui-tests/playwright-tests/tests/rbac/rbac.spec.ts:98:7
at /home/runner/work/pmm-ui-tests/pmm-ui-tests/pmm-ui-tests/playwright-tests/tests/rbac/rbac.spec.ts:97:5
|
|
pmm-ui-tests/playwright-tests/[chromium] › rbac/rbac.spec.ts#L1
pmm-ui-tests/playwright-tests/[chromium] › rbac/rbac.spec.ts took 34.8s
|
1 failed
[chromium] › rbac/rbac.spec.ts:82:7 › Spec file for Access Control (RBAC) › PMM-T1580 Verify creating Access Role @rbac @rbac-pre-upgrade @rbac-post-upgrade
1 skipped
1 passed (38.5s)
|
The logs for this run have expired and are no longer available.
Loading