PMM e2e Tests(Playwright) #639
pmm-ui-tests-matrix.yml
on: workflow_dispatch
RBAC
/
Tests
10m 25s
Portal
/
Tests
4m 11s
Inventory
/
Tests
10m 5s
Annotations
14 errors, 8 warnings, and 3 notices
RBAC / Tests
Error setting status:
No commit found for SHA: null
Request object:
{
"context": "@rbac 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/5532460017"
}
|
RBAC / Tests
Error setting status:
No commit found for SHA: null
Request object:
{
"context": "@rbac UI tests",
"description": "Test execution success",
"state": "success",
"owner": "percona",
"repo": "pmm-ui-tests",
"sha": "null",
"target_url": "https://github.com/percona/pmm-ui-tests/actions/runs/5532460017"
}
|
Portal / Tests
Error setting status:
No commit found for SHA: null
Request object:
{
"context": "@portal 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/5532460017"
}
|
Portal / Tests
Error setting status:
No commit found for SHA: null
Request object:
{
"context": "@portal 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/5532460017"
}
|
[chromium] › portal/connectPMM.spec.ts:47:7 › Spec file for connecting PMM to the portal › PMM-T398 Verify Percona Platform elements on PMM Settings Page @portal @pre-pmm-portal-upgrade:
pmm-ui-tests/playwright-tests/api/helpers/portalApiHelper.ts#L6
1) [chromium] › portal/connectPMM.spec.ts:47:7 › Spec file for connecting PMM to the portal › PMM-T398 Verify Percona Platform elements on PMM Settings Page @portal @pre-pmm-portal-upgrade
Error: Failed to execute portal request. Error: Error: apiRequestContext.post: Request timed out after 15000ms
=========================== logs ===========================
→ POST https://portal-dev.percona.com/v1/orgs
user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.5790.24 Safari/537.36
accept: */*
accept-encoding: gzip,deflate,br
Authorization: ***
content-type: application/json
content-length: 28
============================================================
at ../api/helpers/portalApiHelper.ts:6
4 |
5 | const throwPortalRequestError = (e: string) => {
> 6 | throw new Error(`Failed to execute portal request. Error: ${e}`);
| ^
7 | };
8 |
9 | const checkAndReturnResponse = (r: APIResponse) => {
at throwPortalRequestError (/home/runner/work/pmm-ui-tests/pmm-ui-tests/pmm-ui-tests/playwright-tests/api/helpers/portalApiHelper.ts:6:9)
at Object.createOrg (/home/runner/work/pmm-ui-tests/pmm-ui-tests/pmm-ui-tests/playwright-tests/api/portalApi.ts:23:12)
at /home/runner/work/pmm-ui-tests/pmm-ui-tests/pmm-ui-tests/playwright-tests/tests/portal/connectPMM.spec.ts:34:23
|
[chromium] › portal/connectPMM.spec.ts:47:7 › Spec file for connecting PMM to the portal › PMM-T398 Verify Percona Platform elements on PMM Settings Page @portal @pre-pmm-portal-upgrade:
pmm-ui-tests/playwright-tests/api/helpers/portalApiHelper.ts#L6
1) [chromium] › portal/connectPMM.spec.ts:47:7 › Spec file for connecting PMM to the portal › PMM-T398 Verify Percona Platform elements on PMM Settings Page @portal @pre-pmm-portal-upgrade
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Failed to execute portal request. Error: Error: apiRequestContext.post: Request timed out after 15000ms
=========================== logs ===========================
→ POST https://portal-dev.percona.com/v1/orgs
user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.5790.24 Safari/537.36
accept: */*
accept-encoding: gzip,deflate,br
Authorization: ***
content-type: application/json
content-length: 28
============================================================
at ../api/helpers/portalApiHelper.ts:6
4 |
5 | const throwPortalRequestError = (e: string) => {
> 6 | throw new Error(`Failed to execute portal request. Error: ${e}`);
| ^
7 | };
8 |
9 | const checkAndReturnResponse = (r: APIResponse) => {
at throwPortalRequestError (/home/runner/work/pmm-ui-tests/pmm-ui-tests/pmm-ui-tests/playwright-tests/api/helpers/portalApiHelper.ts:6:9)
at Object.createOrg (/home/runner/work/pmm-ui-tests/pmm-ui-tests/pmm-ui-tests/playwright-tests/api/portalApi.ts:23:12)
at /home/runner/work/pmm-ui-tests/pmm-ui-tests/pmm-ui-tests/playwright-tests/tests/portal/connectPMM.spec.ts:34:23
|
[chromium] › portal/postPmmConnect.spec.ts:60:7 › Spec file for PMM connected the portal › Verify user roles are untouched after PMM server upgrade @not-ui-pipeline @portal @post-pmm-portal-upgrade:
pmm-ui-tests/playwright-tests/helpers/FileHelper.ts#L9
2) [chromium] › portal/postPmmConnect.spec.ts:60:7 › Spec file for PMM connected the portal › Verify user roles are untouched after PMM server upgrade @not-ui-pipeline @portal @post-pmm-portal-upgrade
Error: Could not read the file portalCredentials
at ../helpers/FileHelper.ts:9
7 | } catch (e) {
8 | if (failOnError) {
> 9 | throw new Error(`Could not read the file ${path}`);
| ^
10 | }
11 | }
12 | return null;
at Object.readfile (/home/runner/work/pmm-ui-tests/pmm-ui-tests/pmm-ui-tests/playwright-tests/helpers/FileHelper.ts:9:15)
at /home/runner/work/pmm-ui-tests/pmm-ui-tests/pmm-ui-tests/playwright-tests/tests/portal/postPmmConnect.spec.ts:33:46
|
[chromium] › portal/postPmmConnect.spec.ts:60:7 › Spec file for PMM connected the portal › Verify user roles are untouched after PMM server upgrade @not-ui-pipeline @portal @post-pmm-portal-upgrade:
pmm-ui-tests/playwright-tests/helpers/FileHelper.ts#L9
2) [chromium] › portal/postPmmConnect.spec.ts:60:7 › Spec file for PMM connected the portal › Verify user roles are untouched after PMM server upgrade @not-ui-pipeline @portal @post-pmm-portal-upgrade
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Could not read the file portalCredentials
at ../helpers/FileHelper.ts:9
7 | } catch (e) {
8 | if (failOnError) {
> 9 | throw new Error(`Could not read the file ${path}`);
| ^
10 | }
11 | }
12 | return null;
at Object.readfile (/home/runner/work/pmm-ui-tests/pmm-ui-tests/pmm-ui-tests/playwright-tests/helpers/FileHelper.ts:9:15)
at /home/runner/work/pmm-ui-tests/pmm-ui-tests/pmm-ui-tests/playwright-tests/tests/portal/postPmmConnect.spec.ts:33:46
|
Portal / Tests
Process completed with exit code 1.
|
[chromium] › inventory/inventory.spec.ts:303:7 › Spec file for PMM inventory tests. › PMM-T1670 Verify PMM Inventory redesign : Layout & Nodes @inventory @inventory-post-upgrade:
pmm-ui-tests/playwright-tests/tests/inventory/components/nodesTable.ts#L64
1) [chromium] › inventory/inventory.spec.ts:303:7 › Spec file for PMM inventory tests. › PMM-T1670 Verify PMM Inventory redesign : Layout & Nodes @inventory @inventory-post-upgrade › 2. Verify node details.
Error: Timed out 10000ms waiting for expect(received).toContainText(expected)
Expected string: "Up"
Received string: "Down"
Call log:
- expect.toContainText with timeout 10000ms
- waiting for locator('xpath=//*[contains(text(),"client_container_8123")]//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"
- 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:64
62 | }
63 |
> 64 | await expect(this.elements.status(details.nodeName!)).toContainText(details.status || 'Up');
| ^
65 | await expect(this.elements.nodeName(details.nodeName!)).toContainText(details.nodeName!);
66 | await expect(this.elements.nodeType(details.nodeName!)).toContainText(details.nodeType!);
67 | 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:64:59)
at /home/runner/work/pmm-ui-tests/pmm-ui-tests/pmm-ui-tests/playwright-tests/tests/inventory/inventory.spec.ts:326:34
at /home/runner/work/pmm-ui-tests/pmm-ui-tests/pmm-ui-tests/playwright-tests/tests/inventory/inventory.spec.ts:320:5
|
[chromium] › inventory/inventory.spec.ts:303:7 › Spec file for PMM inventory tests. › PMM-T1670 Verify PMM Inventory redesign : Layout & Nodes @inventory @inventory-post-upgrade:
pmm-ui-tests/playwright-tests/tests/inventory/components/nodesTable.ts#L64
1) [chromium] › inventory/inventory.spec.ts:303:7 › Spec file for PMM inventory tests. › PMM-T1670 Verify PMM Inventory redesign : Layout & Nodes @inventory @inventory-post-upgrade › 2. Verify node details.
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 10000ms waiting for expect(received).toContainText(expected)
Expected string: "Up"
Received string: "Down"
Call log:
- expect.toContainText with timeout 10000ms
- waiting for locator('xpath=//*[contains(text(),"client_container_8123")]//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"
- 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:64
62 | }
63 |
> 64 | await expect(this.elements.status(details.nodeName!)).toContainText(details.status || 'Up');
| ^
65 | await expect(this.elements.nodeName(details.nodeName!)).toContainText(details.nodeName!);
66 | await expect(this.elements.nodeType(details.nodeName!)).toContainText(details.nodeType!);
67 | 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:64:59)
at /home/runner/work/pmm-ui-tests/pmm-ui-tests/pmm-ui-tests/playwright-tests/tests/inventory/inventory.spec.ts:326:34
at /home/runner/work/pmm-ui-tests/pmm-ui-tests/pmm-ui-tests/playwright-tests/tests/inventory/inventory.spec.ts:320:5
|
Inventory / Tests
Process completed with exit code 1.
|
Inventory / Tests
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/5532460017"
}
|
Inventory / Tests
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/5532460017"
}
|
RBAC / Tests
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/
|
RBAC / Tests
No files were found with the provided path: pmm-ui-tests/playwright-report/data/*webm
pmm-ui-tests/playwright-report/data/*png. No artifacts will be uploaded.
|
Slow Test:
pmm-ui-tests/[chromium] › rbac/rbac.spec.ts#L1
pmm-ui-tests/[chromium] › rbac/rbac.spec.ts took 6.0m
|
Portal / Tests
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/
|
Portal / Tests
No files were found with the provided path: pmm-ui-tests/playwright-report/data/*webm
pmm-ui-tests/playwright-report/data/*png. No artifacts will be uploaded.
|
Inventory / Tests
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/
|
Slow Test:
pmm-ui-tests/[chromium] › inventory/inventory.spec.ts#L1
pmm-ui-tests/[chromium] › inventory/inventory.spec.ts took 4.9m
|
Inventory / Tests
No files were found with the provided path: pmm-ui-tests/playwright-report/data/*webm
pmm-ui-tests/playwright-report/data/*png. No artifacts will be uploaded.
|
🎭 Playwright Run Summary
8 passed (6.1m)
|
🎭 Playwright Run Summary
2 failed
[chromium] › portal/connectPMM.spec.ts:47:7 › Spec file for connecting PMM to the portal › PMM-T398 Verify Percona Platform elements on PMM Settings Page @portal @pre-pmm-portal-upgrade
[chromium] › portal/postPmmConnect.spec.ts:60:7 › Spec file for PMM connected the portal › Verify user roles are untouched after PMM server upgrade @not-ui-pipeline @portal @post-pmm-portal-upgrade
14 skipped
|
🎭 Playwright Run Summary
1 failed
[chromium] › inventory/inventory.spec.ts:303:7 › Spec file for PMM inventory tests. › PMM-T1670 Verify PMM Inventory redesign : Layout & Nodes @inventory @inventory-post-upgrade
8 passed (5.0m)
|