PMM e2e Tests(Playwright) #679
Annotations
8 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
|
pmm-ui-tests/playwright-tests/tests/inventory/components/nodesTable.ts#L67
2) [chromium] › inventory/inventory.spec.ts:271:7 › Spec file for PMM inventory tests. › PMM-T1670 Verify PMM Inventory redesign : Layout & Nodes @inventory @inventory-post-upgrade
Error: expect(received).toContainText(expected)
Expected string: "Up"
Received string: "Down"
Call log:
- expect.toContainText with timeout 5000ms
- waiting for locator('xpath=//*[contains(text(),"client_container_8464")]//ancestor::*[@data-testid="table-tbody-tr"]').locator('td').nth(1)
- locator resolved to <td role="cell" title="DOWN" class="css-aqkpyi">…</td>
- unexpected value "Down"
- waiting for locator('xpath=//*[contains(text(),"client_container_8464")]//ancestor::*[@data-testid="table-tbody-tr"]').locator('td').nth(1)
- locator resolved to <td role="cell" title="DOWN" class="css-aqkpyi">…</td>
- unexpected value "Down"
- locator resolved to <td role="cell" title="DOWN" class="css-aqkpyi">…</td>
- unexpected value "Down"
- locator resolved to <td role="cell" title="DOWN" class="css-aqkpyi">…</td>
- unexpected value "Down"
- locator resolved to <td role="cell" title="DOWN" class="css-aqkpyi">…</td>
- unexpected value "Down"
- locator resolved to <td role="cell" title="DOWN" class="css-aqkpyi">…</td>
- unexpected value "Down"
- locator resolved to <td role="cell" title="DOWN" class="css-aqkpyi">…</td>
- unexpected value "Down"
- locator resolved to <td role="cell" title="DOWN" class="css-aqkpyi">…</td>
- unexpected value "Down"
- locator resolved to <td role="cell" title="DOWN" class="css-aqkpyi">…</td>
- unexpected value "Down"
at inventory/components/nodesTable.ts:67
65 | await expect(this.elements.version_2_37.address(details.nodeName!)).toContainText(details.address!);
66 | }
> 67 | await expect(this.elements.status(details.nodeName!)).toContainText(details.status || 'Up');
| ^
68 | await expect(this.elements.nodeName(details.nodeName!)).toContainText(details.nodeName!);
69 | await expect(this.elements.nodeType(details.nodeName!)).toContainText(details.nodeType!);
70 | await expect(this.elements.monitoring(details.nodeName!)).toContainText(details.monitoring || 'OK');
at NodesTable.verifyNode (/home/runner/work/pmm-ui-tests/pmm-ui-tests/pmm-ui-tests/playwright-tests/tests/inventory/components/nodesTable.ts:67:59)
at /home/runner/work/pmm-ui-tests/pmm-ui-tests/pmm-ui-tests/playwright-tests/tests/inventory/inventory.spec.ts:292:34
at /home/runner/work/pmm-ui-tests/pmm-ui-tests/pmm-ui-tests/playwright-tests/tests/inventory/inventory.spec.ts:287:5
|
pmm-ui-tests/playwright-tests/tests/inventory/components/nodesTable.ts#L67
2) [chromium] › inventory/inventory.spec.ts:271:7 › Spec file for PMM inventory tests. › PMM-T1670 Verify PMM Inventory redesign : Layout & Nodes @inventory @inventory-post-upgrade
Retry #1 ---------------------------------------------------------------------------------------
Error: expect(received).toContainText(expected)
Expected string: "Up"
Received string: "Down"
Call log:
- expect.toContainText with timeout 5000ms
- waiting for locator('xpath=//*[contains(text(),"client_container_8464")]//ancestor::*[@data-testid="table-tbody-tr"]').locator('td').nth(1)
- locator resolved to <td role="cell" title="DOWN" class="css-aqkpyi">…</td>
- unexpected value "Down"
- waiting for locator('xpath=//*[contains(text(),"client_container_8464")]//ancestor::*[@data-testid="table-tbody-tr"]').locator('td').nth(1)
- locator resolved to <td role="cell" title="DOWN" class="css-aqkpyi">…</td>
- unexpected value "Down"
- locator resolved to <td role="cell" title="DOWN" class="css-aqkpyi">…</td>
- unexpected value "Down"
- locator resolved to <td role="cell" title="DOWN" class="css-aqkpyi">…</td>
- unexpected value "Down"
- locator resolved to <td role="cell" title="DOWN" class="css-aqkpyi">…</td>
- unexpected value "Down"
- locator resolved to <td role="cell" title="DOWN" class="css-aqkpyi">…</td>
- unexpected value "Down"
- locator resolved to <td role="cell" title="DOWN" class="css-aqkpyi">…</td>
- unexpected value "Down"
- locator resolved to <td role="cell" title="DOWN" class="css-aqkpyi">…</td>
- unexpected value "Down"
at inventory/components/nodesTable.ts:67
65 | await expect(this.elements.version_2_37.address(details.nodeName!)).toContainText(details.address!);
66 | }
> 67 | await expect(this.elements.status(details.nodeName!)).toContainText(details.status || 'Up');
| ^
68 | await expect(this.elements.nodeName(details.nodeName!)).toContainText(details.nodeName!);
69 | await expect(this.elements.nodeType(details.nodeName!)).toContainText(details.nodeType!);
70 | await expect(this.elements.monitoring(details.nodeName!)).toContainText(details.monitoring || 'OK');
at NodesTable.verifyNode (/home/runner/work/pmm-ui-tests/pmm-ui-tests/pmm-ui-tests/playwright-tests/tests/inventory/components/nodesTable.ts:67:59)
at /home/runner/work/pmm-ui-tests/pmm-ui-tests/pmm-ui-tests/playwright-tests/tests/inventory/inventory.spec.ts:292:34
at /home/runner/work/pmm-ui-tests/pmm-ui-tests/pmm-ui-tests/playwright-tests/tests/inventory/inventory.spec.ts:287: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/5885090058"
}
|
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/5885090058"
}
|
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 8.0m
|
|
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
1 flaky
[chromium] › inventory/inventory.spec.ts:271:7 › Spec file for PMM inventory tests. › PMM-T1670 Verify PMM Inventory redesign : Layout & Nodes @inventory @inventory-post-upgrade
7 passed (8.2m)
|
The logs for this run have expired and are no longer available.
Loading