PMM e2e Tests(Playwright) #679
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
pmm-ui-tests-matrix.yml
on: schedule
RBAC
/
Tests
10m 14s
Portal
/
Tests
6m 59s
Inventory
/
Tests
14m 9s
Annotations
21 errors, 9 warnings, and 3 notices
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/5885090058"
}
|
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/5885090058"
}
|
[chromium] › portal/connectPMM.spec.ts:156:7 › Spec file for connecting PMM to the portal › PMM-T1098 Verify All org users can login in connected PMM server @not-ui-pipeline @portal @pre-pmm-portal-upgrade @post-pmm-portal-upgrade:
pmm-ui-tests/playwright-tests/pages/SignIn.page.ts#L40
1) [chromium] › portal/connectPMM.spec.ts:156:7 › Spec file for connecting PMM to the portal › PMM-T1098 Verify All org users can login in connected PMM server @not-ui-pipeline @portal @pre-pmm-portal-upgrade @post-pmm-portal-upgrade
locator.click: Timeout 15000ms exceeded.
=========================== logs ===========================
waiting for locator('xpath=//*[@href="login/generic_oauth"]')
============================================================
at ../pages/SignIn.page.ts:40
38 | const oktaSignInPage = new OktaSignInPage(this.page);
39 |
> 40 | await this.buttons.oktaLogin.click();
| ^
41 | await oktaSignInPage.fields.username.type(username);
42 | await oktaSignInPage.buttons.next.click();
43 | await oktaSignInPage.fields.password.type(password);
at SignInPage.oktaLogin (/home/runner/work/pmm-ui-tests/pmm-ui-tests/pmm-ui-tests/playwright-tests/pages/SignIn.page.ts:40:34)
at /home/runner/work/pmm-ui-tests/pmm-ui-tests/pmm-ui-tests/playwright-tests/tests/portal/connectPMM.spec.ts:166:26
at /home/runner/work/pmm-ui-tests/pmm-ui-tests/pmm-ui-tests/playwright-tests/tests/portal/connectPMM.spec.ts:165:18
|
[chromium] › portal/connectPMM.spec.ts:156:7 › Spec file for connecting PMM to the portal › PMM-T1098 Verify All org users can login in connected PMM server @not-ui-pipeline @portal @pre-pmm-portal-upgrade @post-pmm-portal-upgrade:
pmm-ui-tests/playwright-tests/pages/SignIn.page.ts#L40
1) [chromium] › portal/connectPMM.spec.ts:156:7 › Spec file for connecting PMM to the portal › PMM-T1098 Verify All org users can login in connected PMM server @not-ui-pipeline @portal @pre-pmm-portal-upgrade @post-pmm-portal-upgrade
Retry #1 ---------------------------------------------------------------------------------------
locator.click: Timeout 15000ms exceeded.
=========================== logs ===========================
waiting for locator('xpath=//*[@href="login/generic_oauth"]')
============================================================
at ../pages/SignIn.page.ts:40
38 | const oktaSignInPage = new OktaSignInPage(this.page);
39 |
> 40 | await this.buttons.oktaLogin.click();
| ^
41 | await oktaSignInPage.fields.username.type(username);
42 | await oktaSignInPage.buttons.next.click();
43 | await oktaSignInPage.fields.password.type(password);
at SignInPage.oktaLogin (/home/runner/work/pmm-ui-tests/pmm-ui-tests/pmm-ui-tests/playwright-tests/pages/SignIn.page.ts:40:34)
at /home/runner/work/pmm-ui-tests/pmm-ui-tests/pmm-ui-tests/playwright-tests/tests/portal/connectPMM.spec.ts:166:26
at /home/runner/work/pmm-ui-tests/pmm-ui-tests/pmm-ui-tests/playwright-tests/tests/portal/connectPMM.spec.ts:165:18
|
[chromium] › portal/connectPMM.spec.ts:156:7 › Spec file for connecting PMM to the portal › PMM-T1098 Verify All org users can login in connected PMM server @not-ui-pipeline @portal @pre-pmm-portal-upgrade @post-pmm-portal-upgrade:
pmm-ui-tests/playwright-tests/pages/SignIn.page.ts#L40
1) [chromium] › portal/connectPMM.spec.ts:156:7 › Spec file for connecting PMM to the portal › PMM-T1098 Verify All org users can login in connected PMM server @not-ui-pipeline @portal @pre-pmm-portal-upgrade @post-pmm-portal-upgrade
Retry #2 ---------------------------------------------------------------------------------------
locator.click: Timeout 15000ms exceeded.
=========================== logs ===========================
waiting for locator('xpath=//*[@href="login/generic_oauth"]')
============================================================
at ../pages/SignIn.page.ts:40
38 | const oktaSignInPage = new OktaSignInPage(this.page);
39 |
> 40 | await this.buttons.oktaLogin.click();
| ^
41 | await oktaSignInPage.fields.username.type(username);
42 | await oktaSignInPage.buttons.next.click();
43 | await oktaSignInPage.fields.password.type(password);
at SignInPage.oktaLogin (/home/runner/work/pmm-ui-tests/pmm-ui-tests/pmm-ui-tests/playwright-tests/pages/SignIn.page.ts:40:34)
at /home/runner/work/pmm-ui-tests/pmm-ui-tests/pmm-ui-tests/playwright-tests/tests/portal/connectPMM.spec.ts:166:26
at /home/runner/work/pmm-ui-tests/pmm-ui-tests/pmm-ui-tests/playwright-tests/tests/portal/connectPMM.spec.ts:165:18
|
[chromium] › portal/postPmmConnect.spec.ts:56: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/api/helpers/portalApiHelper.ts#L6
2) [chromium] › portal/postPmmConnect.spec.ts:56: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: Failed to execute portal request. Error: Error: Failed to execute portal request. Error: 500 Internal Server Error
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 /home/runner/work/pmm-ui-tests/pmm-ui-tests/pmm-ui-tests/playwright-tests/tests/portal/postPmmConnect.spec.ts:48:5
|
[chromium] › portal/postPmmConnect.spec.ts:56: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/tests/portal/postPmmConnect.spec.ts#L62
2) [chromium] › portal/postPmmConnect.spec.ts:56: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 ---------------------------------------------------------------------------------------
TypeError: Cannot read properties of undefined (reading 'role')
60 | const foundTechnicalUser = users.find((user: any) => user.email === technicalUser.email);
61 |
> 62 | expect(foundAdmin1User.role).toEqual('Admin');
| ^
63 | expect(foundAdmin2User.role).toEqual('Admin');
64 | expect(foundTechnicalUser.role).toEqual('Viewer');
65 | });
at /home/runner/work/pmm-ui-tests/pmm-ui-tests/pmm-ui-tests/playwright-tests/tests/portal/postPmmConnect.spec.ts:62:28
|
[chromium] › portal/postPmmConnect.spec.ts:56: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/tests/portal/postPmmConnect.spec.ts#L62
2) [chromium] › portal/postPmmConnect.spec.ts:56: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 #2 ---------------------------------------------------------------------------------------
TypeError: Cannot read properties of undefined (reading 'role')
60 | const foundTechnicalUser = users.find((user: any) => user.email === technicalUser.email);
61 |
> 62 | expect(foundAdmin1User.role).toEqual('Admin');
| ^
63 | expect(foundAdmin2User.role).toEqual('Admin');
64 | expect(foundTechnicalUser.role).toEqual('Viewer');
65 | });
at /home/runner/work/pmm-ui-tests/pmm-ui-tests/pmm-ui-tests/playwright-tests/tests/portal/postPmmConnect.spec.ts:62:28
|
[chromium] › portal/postPmmConnect.spec.ts:67:7 › Spec file for PMM connected the portal › PMM-T1132 Verify PMM user logged in using SSO and member of SN account is able to see tickets @not-ui-pipeline @portal @post-pmm-portal-upgrade:
pmm-ui-tests/playwright-tests/api/helpers/portalApiHelper.ts#L6
3) [chromium] › portal/postPmmConnect.spec.ts:67:7 › Spec file for PMM connected the portal › PMM-T1132 Verify PMM user logged in using SSO and member of SN account is able to see tickets @not-ui-pipeline @portal @post-pmm-portal-upgrade
Retry #1 ---------------------------------------------------------------------------------------
Error: Failed to execute portal request. Error: Error: apiRequestContext.post: Request timed out after 30000ms
=========================== logs ===========================
→ POST https://portal-dev.percona.com/v1/orgs/e9ac5c85-13a6-4d38-8924-20c0caa29975/members
user-agent: Playwright/1.30.0 (x64; ubuntu 22.04) node/18.17 CI/1
accept: */*
accept-encoding: gzip,deflate,br
authorization: ***
content-type: application/json
content-length: 83
============================================================
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 /home/runner/work/pmm-ui-tests/pmm-ui-tests/pmm-ui-tests/playwright-tests/tests/portal/postPmmConnect.spec.ts:48:5
|
[chromium] › portal/postPmmConnect.spec.ts:67:7 › Spec file for PMM connected the portal › PMM-T1132 Verify PMM user logged in using SSO and member of SN account is able to see tickets @not-ui-pipeline @portal @post-pmm-portal-upgrade:
pmm-ui-tests/playwright-tests/api/helpers/portalApiHelper.ts#L6
3) [chromium] › portal/postPmmConnect.spec.ts:67:7 › Spec file for PMM connected the portal › PMM-T1132 Verify PMM user logged in using SSO and member of SN account is able to see tickets @not-ui-pipeline @portal @post-pmm-portal-upgrade
Retry #2 ---------------------------------------------------------------------------------------
Error: Failed to execute portal request. Error: Error: apiRequestContext.post: Request timed out after 30000ms
=========================== logs ===========================
→ POST https://portal-dev.percona.com/v1/orgs/e9ac5c85-13a6-4d38-8924-20c0caa29975/members
user-agent: Playwright/1.30.0 (x64; ubuntu 22.04) node/18.17 CI/1
accept: */*
accept-encoding: gzip,deflate,br
authorization: ***
content-type: application/json
content-length: 82
============================================================
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 /home/runner/work/pmm-ui-tests/pmm-ui-tests/pmm-ui-tests/playwright-tests/tests/portal/postPmmConnect.spec.ts:48:5
|
Portal / Tests
Process completed with exit code 1.
|
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/5885090058"
}
|
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/5885090058"
}
|
[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:
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
|
[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:
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
|
[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:
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
|
[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:
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
|
[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:
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
|
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/5885090058"
}
|
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/5885090058"
}
|
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.
|
Slow Test:
pmm-ui-tests/[chromium] › portal/connectPMM.spec.ts#L1
pmm-ui-tests/[chromium] › portal/connectPMM.spec.ts took 1.3m
|
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 5.2m
|
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 8.0m
|
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
3 failed
[chromium] › portal/connectPMM.spec.ts:156:7 › Spec file for connecting PMM to the portal › PMM-T1098 Verify All org users can login in connected PMM server @not-ui-pipeline @portal @pre-pmm-portal-upgrade @post-pmm-portal-upgrade
[chromium] › portal/postPmmConnect.spec.ts:56: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
[chromium] › portal/postPmmConnect.spec.ts:67:7 › Spec file for PMM connected the portal › PMM-T1132 Verify PMM user logged in using SSO and member of SN account is able to see tickets @not-ui-pipeline @portal @post-pmm-portal-upgrade
12 skipped
1 passed (3.4m)
|
🎭 Playwright Run Summary
8 passed (5.2m)
|
🎭 Playwright Run Summary
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)
|