Skip to content

PMM e2e Tests(Playwright) #627

PMM e2e Tests(Playwright)

PMM e2e Tests(Playwright) #627

Manually triggered July 6, 2023 11:10
Status Failure
Total duration 40m 40s
Artifacts 2

pmm-ui-tests-matrix.yml

on: workflow_dispatch
Fit to window
Zoom out
Zoom in

Annotations

16 errors, 4 warnings, and 3 notices
[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_55")]//ancestor::*[@data-testid="table-tbody-tr"]').locator('td').nth(1) - unexpected value "undefined" - waiting for locator('xpath=//*[contains(text(),"client_container_55")]//ancestor::*[@data-testid="table-tbody-tr"]').locator('td').nth(1) - unexpected value "undefined" - 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_55")]//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_55")]//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
Inventory / Tests
Process completed with exit code 1.
[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/tests/portal/postPmmConnect.spec.ts#L83
1) [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 --------------------------------------------------------------------------------------- locator.waitFor: Timeout 180000ms exceeded. =========================== logs =========================== waiting for locator('xpath=//*[@aria-label="PMM Upgrade panel"]').getByTestId('update-installed-version') to be visible ============================================================ 81 | await test.step('1. Login to he connected pmm with SSO', async () => { 82 | await signInPage.oktaLogin(firstAdmin.email, firstAdmin.password); > 83 | await homeDashboard.pmmUpgrade.elements.currentVersion.waitFor({ state: 'visible', timeout: Duration.ThreeMinutes }); | ^ 84 | }); 85 | 86 | await test.step('2. Verify that there is a side menu for organizational tickets', async () => { at /home/runner/work/pmm-ui-tests/pmm-ui-tests/pmm-ui-tests/playwright-tests/tests/portal/postPmmConnect.spec.ts:83:64 at /home/runner/work/pmm-ui-tests/pmm-ui-tests/pmm-ui-tests/playwright-tests/tests/portal/postPmmConnect.spec.ts:81:7
[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/tests/portal/postPmmConnect.spec.ts#L83
1) [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 --------------------------------------------------------------------------------------- locator.waitFor: Timeout 180000ms exceeded. =========================== logs =========================== waiting for locator('xpath=//*[@aria-label="PMM Upgrade panel"]').getByTestId('update-installed-version') to be visible ============================================================ 81 | await test.step('1. Login to he connected pmm with SSO', async () => { 82 | await signInPage.oktaLogin(firstAdmin.email, firstAdmin.password); > 83 | await homeDashboard.pmmUpgrade.elements.currentVersion.waitFor({ state: 'visible', timeout: Duration.ThreeMinutes }); | ^ 84 | }); 85 | 86 | await test.step('2. Verify that there is a side menu for organizational tickets', async () => { at /home/runner/work/pmm-ui-tests/pmm-ui-tests/pmm-ui-tests/playwright-tests/tests/portal/postPmmConnect.spec.ts:83:64 at /home/runner/work/pmm-ui-tests/pmm-ui-tests/pmm-ui-tests/playwright-tests/tests/portal/postPmmConnect.spec.ts:81:7
[chromium] › portal/postPmmConnect.spec.ts:112:7 › Spec file for PMM connected the portal › PMM-T1152 Verify user logged in using SSO and is a member of SN account is able to see Entitlements @not-ui-pipeline @portal @post-pmm-portal-upgrade: pmm-ui-tests/playwright-tests/tests/portal/postPmmConnect.spec.ts#L123
2) [chromium] › portal/postPmmConnect.spec.ts:112:7 › Spec file for PMM connected the portal › PMM-T1152 Verify user logged in using SSO and is a member of SN account is able to see Entitlements @not-ui-pipeline @portal @post-pmm-portal-upgrade Retry #1 --------------------------------------------------------------------------------------- locator.waitFor: Timeout 180000ms exceeded. =========================== logs =========================== waiting for locator('xpath=//*[@aria-label="PMM Upgrade panel"]').getByTestId('update-installed-version') to be visible ============================================================ 121 | await test.step('1. Login to he connected pmm with SSO', async () => { 122 | await signInPage.oktaLogin(firstAdmin.email, firstAdmin.password); > 123 | await homeDashboard.pmmUpgrade.elements.currentVersion.waitFor({ state: 'visible', timeout: Duration.ThreeMinutes }); | ^ 124 | }); 125 | 126 | await test.step('2. Verify that there is a side menu for Entitlements', async () => { at /home/runner/work/pmm-ui-tests/pmm-ui-tests/pmm-ui-tests/playwright-tests/tests/portal/postPmmConnect.spec.ts:123:64 at /home/runner/work/pmm-ui-tests/pmm-ui-tests/pmm-ui-tests/playwright-tests/tests/portal/postPmmConnect.spec.ts:121:7
[chromium] › portal/postPmmConnect.spec.ts:112:7 › Spec file for PMM connected the portal › PMM-T1152 Verify user logged in using SSO and is a member of SN account is able to see Entitlements @not-ui-pipeline @portal @post-pmm-portal-upgrade: pmm-ui-tests/playwright-tests/tests/portal/postPmmConnect.spec.ts#L123
2) [chromium] › portal/postPmmConnect.spec.ts:112:7 › Spec file for PMM connected the portal › PMM-T1152 Verify user logged in using SSO and is a member of SN account is able to see Entitlements @not-ui-pipeline @portal @post-pmm-portal-upgrade Retry #2 --------------------------------------------------------------------------------------- locator.waitFor: Timeout 180000ms exceeded. =========================== logs =========================== waiting for locator('xpath=//*[@aria-label="PMM Upgrade panel"]').getByTestId('update-installed-version') to be visible ============================================================ 121 | await test.step('1. Login to he connected pmm with SSO', async () => { 122 | await signInPage.oktaLogin(firstAdmin.email, firstAdmin.password); > 123 | await homeDashboard.pmmUpgrade.elements.currentVersion.waitFor({ state: 'visible', timeout: Duration.ThreeMinutes }); | ^ 124 | }); 125 | 126 | await test.step('2. Verify that there is a side menu for Entitlements', async () => { at /home/runner/work/pmm-ui-tests/pmm-ui-tests/pmm-ui-tests/playwright-tests/tests/portal/postPmmConnect.spec.ts:123:64 at /home/runner/work/pmm-ui-tests/pmm-ui-tests/pmm-ui-tests/playwright-tests/tests/portal/postPmmConnect.spec.ts:121:7
[chromium] › portal/postPmmConnect.spec.ts:148:7 › Spec file for PMM connected the portal › PMM-T1222 Verify user can see the contacts from Percona @not-ui-pipeline @portal @post-pmm-portal-upgrade: pmm-ui-tests/playwright-tests/tests/portal/postPmmConnect.spec.ts#L165
3) [chromium] › portal/postPmmConnect.spec.ts:148:7 › Spec file for PMM connected the portal › PMM-T1222 Verify user can see the contacts from Percona @not-ui-pipeline @portal @post-pmm-portal-upgrade Retry #1 --------------------------------------------------------------------------------------- locator.waitFor: Timeout 180000ms exceeded. =========================== logs =========================== waiting for locator('xpath=//*[@aria-label="PMM Upgrade panel"]').getByTestId('update-installed-version') to be visible ============================================================ 163 | if (pmmVersion >= 29) { 164 | await signInPage.oktaLogin(firstAdmin.email, firstAdmin.password); > 165 | await homeDashboard.pmmUpgrade.elements.currentVersion.waitFor({ state: 'visible', timeout: Duration.ThreeMinutes }); | ^ 166 | await homeDashboard.sideMenu.elements.environmentOverview.click(); 167 | await environmentOverviewPage.elements.contactsHeader.waitFor({ state: 'visible' }); 168 | await environmentOverviewPage.elements.contactsSubHeader.waitFor({ state: 'visible' }); at /home/runner/work/pmm-ui-tests/pmm-ui-tests/pmm-ui-tests/playwright-tests/tests/portal/postPmmConnect.spec.ts:165:62
[chromium] › portal/postPmmConnect.spec.ts:148:7 › Spec file for PMM connected the portal › PMM-T1222 Verify user can see the contacts from Percona @not-ui-pipeline @portal @post-pmm-portal-upgrade: pmm-ui-tests/playwright-tests/tests/portal/postPmmConnect.spec.ts#L165
3) [chromium] › portal/postPmmConnect.spec.ts:148:7 › Spec file for PMM connected the portal › PMM-T1222 Verify user can see the contacts from Percona @not-ui-pipeline @portal @post-pmm-portal-upgrade Retry #2 --------------------------------------------------------------------------------------- locator.waitFor: Timeout 180000ms exceeded. =========================== logs =========================== waiting for locator('xpath=//*[@aria-label="PMM Upgrade panel"]').getByTestId('update-installed-version') to be visible ============================================================ 163 | if (pmmVersion >= 29) { 164 | await signInPage.oktaLogin(firstAdmin.email, firstAdmin.password); > 165 | await homeDashboard.pmmUpgrade.elements.currentVersion.waitFor({ state: 'visible', timeout: Duration.ThreeMinutes }); | ^ 166 | await homeDashboard.sideMenu.elements.environmentOverview.click(); 167 | await environmentOverviewPage.elements.contactsHeader.waitFor({ state: 'visible' }); 168 | await environmentOverviewPage.elements.contactsSubHeader.waitFor({ state: 'visible' }); at /home/runner/work/pmm-ui-tests/pmm-ui-tests/pmm-ui-tests/playwright-tests/tests/portal/postPmmConnect.spec.ts:165:62
[chromium] › portal/postPmmConnect.spec.ts:327:7 › Spec file for PMM connected the portal › PMM-T1112 Verify user can disconnect pmm from portal success flow @portal @not-ui-pipeline @post-pmm-portal-upgrade: pmm-ui-tests/playwright-tests/tests/portal/postPmmConnect.spec.ts#L342
4) [chromium] › portal/postPmmConnect.spec.ts:327:7 › Spec file for PMM connected the portal › PMM-T1112 Verify user can disconnect pmm from portal success flow @portal @not-ui-pipeline @post-pmm-portal-upgrade Retry #1 --------------------------------------------------------------------------------------- locator.waitFor: Timeout 180000ms exceeded. =========================== logs =========================== waiting for locator('xpath=//*[@aria-label="PMM Upgrade panel"]').getByTestId('update-installed-version') to be visible ============================================================ 340 | if (pmmVersion > 27) { 341 | await signInPage.oktaLogin(firstAdmin.email, firstAdmin.password); > 342 | await homeDashboard.pmmUpgrade.elements.currentVersion.waitFor({ state: 'visible', timeout: Duration.ThreeMinutes }); | ^ 343 | await page.goto(platformPage.perconaPlatformURL); 344 | await platformPage.connectedContainer.waitFor({ state: 'visible' }); 345 | await platformPage.buttons.disconnect.click(); at /home/runner/work/pmm-ui-tests/pmm-ui-tests/pmm-ui-tests/playwright-tests/tests/portal/postPmmConnect.spec.ts:342:62
[chromium] › portal/postPmmConnect.spec.ts:327:7 › Spec file for PMM connected the portal › PMM-T1112 Verify user can disconnect pmm from portal success flow @portal @not-ui-pipeline @post-pmm-portal-upgrade: pmm-ui-tests/playwright-tests/tests/portal/postPmmConnect.spec.ts#L342
4) [chromium] › portal/postPmmConnect.spec.ts:327:7 › Spec file for PMM connected the portal › PMM-T1112 Verify user can disconnect pmm from portal success flow @portal @not-ui-pipeline @post-pmm-portal-upgrade Retry #2 --------------------------------------------------------------------------------------- locator.waitFor: Timeout 180000ms exceeded. =========================== logs =========================== waiting for locator('xpath=//*[@aria-label="PMM Upgrade panel"]').getByTestId('update-installed-version') to be visible ============================================================ 340 | if (pmmVersion > 27) { 341 | await signInPage.oktaLogin(firstAdmin.email, firstAdmin.password); > 342 | await homeDashboard.pmmUpgrade.elements.currentVersion.waitFor({ state: 'visible', timeout: Duration.ThreeMinutes }); | ^ 343 | await page.goto(platformPage.perconaPlatformURL); 344 | await platformPage.connectedContainer.waitFor({ state: 'visible' }); 345 | await platformPage.buttons.disconnect.click(); at /home/runner/work/pmm-ui-tests/pmm-ui-tests/pmm-ui-tests/playwright-tests/tests/portal/postPmmConnect.spec.ts:342:62
[chromium] › portal/postPmmConnect.spec.ts:366:7 › Spec file for PMM connected the portal › PMM-T1264 Verify that pmm admin user can force disconnect pmm from the portal. @not-ui-pipeline @portal @post-pmm-portal-upgrade: pmm-ui-tests/playwright-tests/tests/portal/postPmmConnect.spec.ts#L387
5) [chromium] › portal/postPmmConnect.spec.ts:366:7 › Spec file for PMM connected the portal › PMM-T1264 Verify that pmm admin user can force disconnect pmm from the portal. @not-ui-pipeline @portal @post-pmm-portal-upgrade Retry #1 --------------------------------------------------------------------------------------- locator.waitFor: Timeout 15000ms exceeded. =========================== logs =========================== waiting for getByTestId('connect-form').getByTestId('connect-button') to be visible ============================================================ 385 | await test.step('3. Verify that force disconnect was successful.', async () => { 386 | await platformPage.toast.checkToastMessage(platformPage.messages.disconnectedSuccess); > 387 | await platformPage.buttons.connect.waitFor({ state: 'visible' }); | ^ 388 | }); 389 | 390 | }); at /home/runner/work/pmm-ui-tests/pmm-ui-tests/pmm-ui-tests/playwright-tests/tests/portal/postPmmConnect.spec.ts:387:42 at /home/runner/work/pmm-ui-tests/pmm-ui-tests/pmm-ui-tests/playwright-tests/tests/portal/postPmmConnect.spec.ts:385:5
[chromium] › portal/postPmmConnect.spec.ts:366:7 › Spec file for PMM connected the portal › PMM-T1264 Verify that pmm admin user can force disconnect pmm from the portal. @not-ui-pipeline @portal @post-pmm-portal-upgrade: pmm-ui-tests/playwright-tests/tests/portal/postPmmConnect.spec.ts#L375
5) [chromium] › portal/postPmmConnect.spec.ts:366:7 › Spec file for PMM connected the portal › PMM-T1264 Verify that pmm admin user can force disconnect pmm from the portal. @not-ui-pipeline @portal @post-pmm-portal-upgrade Retry #2 --------------------------------------------------------------------------------------- locator.waitFor: Timeout 15000ms exceeded. =========================== logs =========================== waiting for getByTestId('connected-wrapper') to be visible ============================================================ 373 | await grafanaHelper.authorize(page); 374 | await page.goto(platformPage.perconaPlatformURL); > 375 | await platformPage.connectedContainer.waitFor({ state: 'visible' }); | ^ 376 | }); 377 | 378 | await test.step('2. Force disconnect from the platform.', async () => { at /home/runner/work/pmm-ui-tests/pmm-ui-tests/pmm-ui-tests/playwright-tests/tests/portal/postPmmConnect.spec.ts:375:45 at /home/runner/work/pmm-ui-tests/pmm-ui-tests/pmm-ui-tests/playwright-tests/tests/portal/postPmmConnect.spec.ts:372:5
Slow Test: pmm-ui-tests/[chromium] › rbac/rbac.spec.ts#L1
pmm-ui-tests/[chromium] › rbac/rbac.spec.ts took 4.2m
Slow Test: pmm-ui-tests/[chromium] › inventory/inventory.spec.ts#L1
pmm-ui-tests/[chromium] › inventory/inventory.spec.ts took 7.1m
Slow Test: pmm-ui-tests/[chromium] › portal/postPmmConnect.spec.ts#L1
pmm-ui-tests/[chromium] › portal/postPmmConnect.spec.ts took 30.7m
Slow Test: pmm-ui-tests/[chromium] › portal/connectPMM.spec.ts#L1
pmm-ui-tests/[chromium] › portal/connectPMM.spec.ts took 1.9m
🎭 Playwright Run Summary
8 passed (4.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 (7.3m)
🎭 Playwright Run Summary
5 failed [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 [chromium] › portal/postPmmConnect.spec.ts:112:7 › Spec file for PMM connected the portal › PMM-T1152 Verify user logged in using SSO and is a member of SN account is able to see Entitlements @not-ui-pipeline @portal @post-pmm-portal-upgrade [chromium] › portal/postPmmConnect.spec.ts:148:7 › Spec file for PMM connected the portal › PMM-T1222 Verify user can see the contacts from Percona @not-ui-pipeline @portal @post-pmm-portal-upgrade [chromium] › portal/postPmmConnect.spec.ts:327:7 › Spec file for PMM connected the portal › PMM-T1112 Verify user can disconnect pmm from portal success flow @portal @not-ui-pipeline @post-pmm-portal-upgrade [chromium] › portal/postPmmConnect.spec.ts:366:7 › Spec file for PMM connected the portal › PMM-T1264 Verify that pmm admin user can force disconnect pmm from the portal. @not-ui-pipeline @portal @post-pmm-portal-upgrade 2 flaky [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:298:7 › Spec file for PMM connected the portal › PMM-T1153 Verify user logged in using SSO and is not a member of SN account is NOT able to see Entitlements @not-ui-pipeline @portal @post-pmm-portal-upgrade 1 skipped 8 passed (36.2m)

Artifacts

Produced during runtime
Name Size
inventory-report Expired
11.7 MB
portal-report Expired
120 MB