PMM e2e Tests(Playwright) #662
Annotations
6 errors, 3 warnings, and 1 notice
pmm-ui-tests/playwright-tests/tests/inventory/inventory.spec.ts#L391
1) [chromium] › inventory/inventory.spec.ts:332:7 › Spec file for PMM inventory tests. › PMM-T1672 Verify PMM Inventory redesign : State of the agents @inventory @inventory-post-upgrade
Error: expect(received).toHaveText(expected)
Expected string: "4/4 not running"
Received string: "2/4 running"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('xpath=//span[@data-testid="details-row-content"]//div[contains(@data-testid, "status-badge")]')
- locator resolved to <div class="css-14y64wi" data-testid="status-badge-or…>…</div>
- unexpected value "2/4 running"
- waiting for locator('xpath=//span[@data-testid="details-row-content"]//div[contains(@data-testid, "status-badge")]')
- locator resolved to <div class="css-14y64wi" data-testid="status-badge-or…>…</div>
- unexpected value "2/4 running"
- locator resolved to <div class="css-14y64wi" data-testid="status-badge-or…>…</div>
- unexpected value "2/4 running"
- locator resolved to <div class="css-14y64wi" data-testid="status-badge-or…>…</div>
- unexpected value "2/4 running"
- locator resolved to <div class="css-14y64wi" data-testid="status-badge-or…>…</div>
- unexpected value "2/4 running"
- locator resolved to <div class="css-14y64wi" data-testid="status-badge-or…>…</div>
- unexpected value "2/4 running"
- locator resolved to <div class="css-14y64wi" data-testid="status-badge-or…>…</div>
- unexpected value "2/4 running"
- locator resolved to <div class="css-14y64wi" data-testid="status-badge-or…>…</div>
- unexpected value "2/4 running"
- locator resolved to <div class="css-14y64wi" data-testid="status-badge-or…>…</div>
- unexpected value "2/4 running"
389 | await page.reload();
390 | await servicesPage.servicesTable.buttons.showRowDetails(mongoLocalService.serviceName).click();
> 391 | await expect(servicesPage.servicesTable.elements.agentStatus).toHaveText('4/4 not running');
| ^
392 | await servicesPage.servicesTable.elements.monitoring(mongoLocalService.serviceName).click();
393 | await expect(servicesPage.elements.waitingStatusAgent).not.toBeVisible();
394 | await servicesPage.buttons.goBackToServices.click();
at /home/runner/work/pmm-ui-tests/pmm-ui-tests/pmm-ui-tests/playwright-tests/tests/inventory/inventory.spec.ts:391:69
at /home/runner/work/pmm-ui-tests/pmm-ui-tests/pmm-ui-tests/playwright-tests/tests/inventory/inventory.spec.ts:379:5
|
pmm-ui-tests/playwright-tests/tests/inventory/components/servicesTable.ts#L71
1) [chromium] › inventory/inventory.spec.ts:332:7 › Spec file for PMM inventory tests. › PMM-T1672 Verify PMM Inventory redesign : State of the agents @inventory @inventory-post-upgrade
Retry #1 ---------------------------------------------------------------------------------------
Error: expect(received).toHaveText(expected)
Expected string: "OK"
Received string: "Failed"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for getByTestId('table-tbody').getByTestId('table-tbody-tr').locator('xpath=//td[5]').first()
- locator resolved to <td role="cell" title="Failed" class="css-aqkpyi">…</td>
- unexpected value "Failed"
- waiting for getByTestId('table-tbody').getByTestId('table-tbody-tr').locator('xpath=//td[5]').first()
- locator resolved to <td role="cell" title="Failed" class="css-aqkpyi">…</td>
- unexpected value "Failed"
- locator resolved to <td role="cell" title="Failed" class="css-aqkpyi">…</td>
- unexpected value "Failed"
- locator resolved to <td role="cell" title="Failed" class="css-aqkpyi">…</td>
- unexpected value "Failed"
- locator resolved to <td role="cell" title="Failed" class="css-aqkpyi">…</td>
- unexpected value "Failed"
- locator resolved to <td role="cell" title="Failed" class="css-aqkpyi">…</td>
- unexpected value "Failed"
- locator resolved to <td role="cell" title="Failed" class="css-aqkpyi">…</td>
- unexpected value "Failed"
- locator resolved to <td role="cell" title="Failed" class="css-aqkpyi">…</td>
- unexpected value "Failed"
- locator resolved to <td role="cell" title="Failed" class="css-aqkpyi">…</td>
- unexpected value "Failed"
at inventory/components/servicesTable.ts:71
69 | const numberOfServices = await this.elements.serviceStatuses.count()
70 | for (let i = 0; i < numberOfServices; i++) {
> 71 | await expect(this.elements.serviceStatuses.nth(i)).toHaveText(expectedStatus);
| ^
72 | }
73 | };
74 |
at ServicesTable.verifyAllMonitoring (/home/runner/work/pmm-ui-tests/pmm-ui-tests/pmm-ui-tests/playwright-tests/tests/inventory/components/servicesTable.ts:71:58)
at /home/runner/work/pmm-ui-tests/pmm-ui-tests/pmm-ui-tests/playwright-tests/tests/inventory/inventory.spec.ts:343:7
at /home/runner/work/pmm-ui-tests/pmm-ui-tests/pmm-ui-tests/playwright-tests/tests/inventory/inventory.spec.ts:340:5
|
pmm-ui-tests/playwright-tests/tests/inventory/components/servicesTable.ts#L71
1) [chromium] › inventory/inventory.spec.ts:332:7 › Spec file for PMM inventory tests. › PMM-T1672 Verify PMM Inventory redesign : State of the agents @inventory @inventory-post-upgrade
Retry #2 ---------------------------------------------------------------------------------------
Error: expect(received).toHaveText(expected)
Expected string: "OK"
Received string: "Failed"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for getByTestId('table-tbody').getByTestId('table-tbody-tr').locator('xpath=//td[5]').first()
- locator resolved to <td role="cell" title="Failed" class="css-aqkpyi">…</td>
- unexpected value "Failed"
- waiting for getByTestId('table-tbody').getByTestId('table-tbody-tr').locator('xpath=//td[5]').first()
- locator resolved to <td role="cell" title="Failed" class="css-aqkpyi">…</td>
- unexpected value "Failed"
- locator resolved to <td role="cell" title="Failed" class="css-aqkpyi">…</td>
- unexpected value "Failed"
- locator resolved to <td role="cell" title="Failed" class="css-aqkpyi">…</td>
- unexpected value "Failed"
- locator resolved to <td role="cell" title="Failed" class="css-aqkpyi">…</td>
- unexpected value "Failed"
- locator resolved to <td role="cell" title="Failed" class="css-aqkpyi">…</td>
- unexpected value "Failed"
- locator resolved to <td role="cell" title="Failed" class="css-aqkpyi">…</td>
- unexpected value "Failed"
- locator resolved to <td role="cell" title="Failed" class="css-aqkpyi">…</td>
- unexpected value "Failed"
- locator resolved to <td role="cell" title="Failed" class="css-aqkpyi">…</td>
- unexpected value "Failed"
at inventory/components/servicesTable.ts:71
69 | const numberOfServices = await this.elements.serviceStatuses.count()
70 | for (let i = 0; i < numberOfServices; i++) {
> 71 | await expect(this.elements.serviceStatuses.nth(i)).toHaveText(expectedStatus);
| ^
72 | }
73 | };
74 |
at ServicesTable.verifyAllMonitoring (/home/runner/work/pmm-ui-tests/pmm-ui-tests/pmm-ui-tests/playwright-tests/tests/inventory/components/servicesTable.ts:71:58)
at /home/runner/work/pmm-ui-tests/pmm-ui-tests/pmm-ui-tests/playwright-tests/tests/inventory/inventory.spec.ts:343:7
at /home/runner/work/pmm-ui-tests/pmm-ui-tests/pmm-ui-tests/playwright-tests/tests/inventory/inventory.spec.ts:340:5
|
|
Error setting status:
No commit found for SHA: null
Request object:
{
"context": "@inventory UI tests",
"description": "Test execution failure",
"state": "failure",
"owner": "percona",
"repo": "pmm-ui-tests",
"sha": "null",
"target_url": "https://github.com/percona/pmm-ui-tests/actions/runs/5745018909"
}
|
Error setting status:
No commit found for SHA: null
Request object:
{
"context": "@inventory UI tests",
"description": "Test execution success",
"state": "pending",
"owner": "percona",
"repo": "pmm-ui-tests",
"sha": "null",
"target_url": "https://github.com/percona/pmm-ui-tests/actions/runs/5745018909"
}
|
The following actions uses node12 which is deprecated and will be forced to run on node16: percona-platform/github-status-action@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
pmm-ui-tests/[chromium] › inventory/inventory.spec.ts#L1
pmm-ui-tests/[chromium] › inventory/inventory.spec.ts took 7.1m
|
|
1 failed
[chromium] › inventory/inventory.spec.ts:332:7 › Spec file for PMM inventory tests. › PMM-T1672 Verify PMM Inventory redesign : State of the agents @inventory @inventory-post-upgrade
8 passed (7.2m)
|
The logs for this run have expired and are no longer available.
Loading