Skip to content

pmm2-ui-tests-fb

pmm2-ui-tests-fb #950

Manually triggered July 16, 2023 01:15
Status Failure
Total duration 40m 24s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

pmm2-ui-tests-fb.yml

on: workflow_dispatch
Backup Management MongoDB UI tests  /  ui-tests-e2e
12m 55s
Backup Management MongoDB UI tests / ui-tests-e2e
Backup Management Common and Locations UI tests  /  ui-tests-e2e
10m 31s
Backup Management Common and Locations UI tests / ui-tests-e2e
Instances UI tests  /  ui-tests-e2e
19m 16s
Instances UI tests / ui-tests-e2e
Alerting and Settings UI tests  /  ui-tests-e2e
12m 8s
Alerting and Settings UI tests / ui-tests-e2e
User with changed password UI tests  /  ui-tests-e2e
7m 34s
User with changed password UI tests / ui-tests-e2e
PGSM UI tests  /  ui-tests-e2e
36m 3s
PGSM UI tests / ui-tests-e2e
PGSS UI tests  /  ui-tests-e2e
15m 48s
PGSS UI tests / ui-tests-e2e
RBAC UI tests  /  Tests
10m 32s
RBAC UI tests / Tests
Fit to window
Zoom out
Zoom in

Annotations

17 errors, 10 warnings, and 1 notice
[chromium] › rbac/rbac.spec.ts:55:7 › Spec file for Access Control (RBAC) › PMM-T1573 Verify Access Roles tab on Configuration page @rbac @rbac-pre-upgrade: pmm-ui-tests/playwright-tests/tests/rbac/rbac.spec.ts#L65
1) [chromium] › rbac/rbac.spec.ts:55:7 › Spec file for Access Control (RBAC) › PMM-T1573 Verify Access Roles tab on Configuration page @rbac @rbac-pre-upgrade locator.hover: Timeout 15000ms exceeded. =========================== logs =========================== waiting for getByTestId('sidemenu').locator('xpath=//a[@aria-label="Configuration"]') ============================================================ 63 | 64 | await test.step('1. Click on Configuration on the left menu and then select Access roles link', async () => { > 65 | await homeDashboard.sideMenu.elements.configuration.hover(); | ^ 66 | await expect(homeDashboard.sideMenu.configuration.buttons.rbac).toHaveText( 67 | homeDashboard.sideMenu.configuration.labels.rbac, 68 | ); at /home/runner/work/pmm-submodules/pmm-submodules/pmm-ui-tests/playwright-tests/tests/rbac/rbac.spec.ts:65:59 at /home/runner/work/pmm-submodules/pmm-submodules/pmm-ui-tests/playwright-tests/tests/rbac/rbac.spec.ts:64:16
[chromium] › rbac/rbac.spec.ts:55:7 › Spec file for Access Control (RBAC) › PMM-T1573 Verify Access Roles tab on Configuration page @rbac @rbac-pre-upgrade: pmm-ui-tests/playwright-tests/tests/rbac/rbac.spec.ts#L65
1) [chromium] › rbac/rbac.spec.ts:55:7 › Spec file for Access Control (RBAC) › PMM-T1573 Verify Access Roles tab on Configuration page @rbac @rbac-pre-upgrade Retry #1 --------------------------------------------------------------------------------------- locator.hover: Timeout 15000ms exceeded. =========================== logs =========================== waiting for getByTestId('sidemenu').locator('xpath=//a[@aria-label="Configuration"]') ============================================================ 63 | 64 | await test.step('1. Click on Configuration on the left menu and then select Access roles link', async () => { > 65 | await homeDashboard.sideMenu.elements.configuration.hover(); | ^ 66 | await expect(homeDashboard.sideMenu.configuration.buttons.rbac).toHaveText( 67 | homeDashboard.sideMenu.configuration.labels.rbac, 68 | ); at /home/runner/work/pmm-submodules/pmm-submodules/pmm-ui-tests/playwright-tests/tests/rbac/rbac.spec.ts:65:59 at /home/runner/work/pmm-submodules/pmm-submodules/pmm-ui-tests/playwright-tests/tests/rbac/rbac.spec.ts:64:16
[chromium] › rbac/rbac.spec.ts:55:7 › Spec file for Access Control (RBAC) › PMM-T1573 Verify Access Roles tab on Configuration page @rbac @rbac-pre-upgrade: pmm-ui-tests/playwright-tests/tests/rbac/rbac.spec.ts#L65
1) [chromium] › rbac/rbac.spec.ts:55:7 › Spec file for Access Control (RBAC) › PMM-T1573 Verify Access Roles tab on Configuration page @rbac @rbac-pre-upgrade Retry #2 --------------------------------------------------------------------------------------- locator.hover: Timeout 15000ms exceeded. =========================== logs =========================== waiting for getByTestId('sidemenu').locator('xpath=//a[@aria-label="Configuration"]') ============================================================ 63 | 64 | await test.step('1. Click on Configuration on the left menu and then select Access roles link', async () => { > 65 | await homeDashboard.sideMenu.elements.configuration.hover(); | ^ 66 | await expect(homeDashboard.sideMenu.configuration.buttons.rbac).toHaveText( 67 | homeDashboard.sideMenu.configuration.labels.rbac, 68 | ); at /home/runner/work/pmm-submodules/pmm-submodules/pmm-ui-tests/playwright-tests/tests/rbac/rbac.spec.ts:65:59 at /home/runner/work/pmm-submodules/pmm-submodules/pmm-ui-tests/playwright-tests/tests/rbac/rbac.spec.ts:64:16
[chromium] › rbac/rbac.spec.ts:82:7 › Spec file for Access Control (RBAC) › PMM-T1580 Verify creating Access Role @rbac @rbac-pre-upgrade @rbac-post-upgrade: pmm-ui-tests/playwright-tests/tests/rbac/rbac.spec.ts#L94
2) [chromium] › rbac/rbac.spec.ts:82:7 › Spec file for Access Control (RBAC) › PMM-T1580 Verify creating Access Role @rbac @rbac-pre-upgrade @rbac-post-upgrade locator.click: Timeout 15000ms exceeded. =========================== logs =========================== waiting for getByTestId('access-roles-create-role') ============================================================ 92 | await test.step('1. Navigate to the Access Role page, then click create button.', async () => { 93 | await page.goto(rbacPage.url); > 94 | await rbacPage.buttons.create.click(); | ^ 95 | }); 96 | 97 | await test.step('2. Create new role agent_type=mysqld_exporter.', async () => { at /home/runner/work/pmm-submodules/pmm-submodules/pmm-ui-tests/playwright-tests/tests/rbac/rbac.spec.ts:94:37 at /home/runner/work/pmm-submodules/pmm-submodules/pmm-ui-tests/playwright-tests/tests/rbac/rbac.spec.ts:92:5
[chromium] › rbac/rbac.spec.ts:82:7 › Spec file for Access Control (RBAC) › PMM-T1580 Verify creating Access Role @rbac @rbac-pre-upgrade @rbac-post-upgrade: pmm-ui-tests/playwright-tests/tests/rbac/rbac.spec.ts#L94
2) [chromium] › rbac/rbac.spec.ts:82:7 › Spec file for Access Control (RBAC) › PMM-T1580 Verify creating Access Role @rbac @rbac-pre-upgrade @rbac-post-upgrade Retry #1 --------------------------------------------------------------------------------------- locator.click: Timeout 15000ms exceeded. =========================== logs =========================== waiting for getByTestId('access-roles-create-role') ============================================================ 92 | await test.step('1. Navigate to the Access Role page, then click create button.', async () => { 93 | await page.goto(rbacPage.url); > 94 | await rbacPage.buttons.create.click(); | ^ 95 | }); 96 | 97 | await test.step('2. Create new role agent_type=mysqld_exporter.', async () => { at /home/runner/work/pmm-submodules/pmm-submodules/pmm-ui-tests/playwright-tests/tests/rbac/rbac.spec.ts:94:37 at /home/runner/work/pmm-submodules/pmm-submodules/pmm-ui-tests/playwright-tests/tests/rbac/rbac.spec.ts:92:5
[chromium] › rbac/rbac.spec.ts:82:7 › Spec file for Access Control (RBAC) › PMM-T1580 Verify creating Access Role @rbac @rbac-pre-upgrade @rbac-post-upgrade: pmm-ui-tests/playwright-tests/tests/rbac/rbac.spec.ts#L94
2) [chromium] › rbac/rbac.spec.ts:82:7 › Spec file for Access Control (RBAC) › PMM-T1580 Verify creating Access Role @rbac @rbac-pre-upgrade @rbac-post-upgrade Retry #2 --------------------------------------------------------------------------------------- locator.click: Timeout 15000ms exceeded. =========================== logs =========================== waiting for getByTestId('access-roles-create-role') ============================================================ 92 | await test.step('1. Navigate to the Access Role page, then click create button.', async () => { 93 | await page.goto(rbacPage.url); > 94 | await rbacPage.buttons.create.click(); | ^ 95 | }); 96 | 97 | await test.step('2. Create new role agent_type=mysqld_exporter.', async () => { at /home/runner/work/pmm-submodules/pmm-submodules/pmm-ui-tests/playwright-tests/tests/rbac/rbac.spec.ts:94:37 at /home/runner/work/pmm-submodules/pmm-submodules/pmm-ui-tests/playwright-tests/tests/rbac/rbac.spec.ts:92:5
[chromium] › rbac/rbac.spec.ts:121:7 › Spec file for Access Control (RBAC) › PMM-T1584 Verify assigning Access role to user @rbac @rbac-pre-upgrade @rbac-post-upgrade: pmm-ui-tests/playwright-tests/tests/rbac/rbac.spec.ts#L135
3) [chromium] › rbac/rbac.spec.ts:121:7 › Spec file for Access Control (RBAC) › PMM-T1584 Verify assigning Access role to user @rbac @rbac-pre-upgrade @rbac-post-upgrade locator.click: Timeout 15000ms exceeded. =========================== logs =========================== waiting for getByTestId('access-roles-create-role') ============================================================ 133 | async () => { 134 | await page.goto(rbacPage.url); > 135 | await rbacPage.buttons.create.click(); | ^ 136 | await createRolePage.createNewRole({ roleName, roleDescription, label: 'agent_type', value: 'mysqld_exporter' }); 137 | await rbacPage.rbacTable.verifyRowData(roleName, roleDescription, 'agent_type', '=', 'mysqld_exporter'); 138 | }, at /home/runner/work/pmm-submodules/pmm-submodules/pmm-ui-tests/playwright-tests/tests/rbac/rbac.spec.ts:135:39 at /home/runner/work/pmm-submodules/pmm-submodules/pmm-ui-tests/playwright-tests/tests/rbac/rbac.spec.ts:131:5
[chromium] › rbac/rbac.spec.ts:121:7 › Spec file for Access Control (RBAC) › PMM-T1584 Verify assigning Access role to user @rbac @rbac-pre-upgrade @rbac-post-upgrade: pmm-ui-tests/playwright-tests/tests/rbac/rbac.spec.ts#L135
3) [chromium] › rbac/rbac.spec.ts:121:7 › Spec file for Access Control (RBAC) › PMM-T1584 Verify assigning Access role to user @rbac @rbac-pre-upgrade @rbac-post-upgrade Retry #1 --------------------------------------------------------------------------------------- locator.click: Timeout 15000ms exceeded. =========================== logs =========================== waiting for getByTestId('access-roles-create-role') ============================================================ 133 | async () => { 134 | await page.goto(rbacPage.url); > 135 | await rbacPage.buttons.create.click(); | ^ 136 | await createRolePage.createNewRole({ roleName, roleDescription, label: 'agent_type', value: 'mysqld_exporter' }); 137 | await rbacPage.rbacTable.verifyRowData(roleName, roleDescription, 'agent_type', '=', 'mysqld_exporter'); 138 | }, at /home/runner/work/pmm-submodules/pmm-submodules/pmm-ui-tests/playwright-tests/tests/rbac/rbac.spec.ts:135:39 at /home/runner/work/pmm-submodules/pmm-submodules/pmm-ui-tests/playwright-tests/tests/rbac/rbac.spec.ts:131:5
[chromium] › rbac/rbac.spec.ts:121:7 › Spec file for Access Control (RBAC) › PMM-T1584 Verify assigning Access role to user @rbac @rbac-pre-upgrade @rbac-post-upgrade: pmm-ui-tests/playwright-tests/tests/rbac/rbac.spec.ts#L135
3) [chromium] › rbac/rbac.spec.ts:121:7 › Spec file for Access Control (RBAC) › PMM-T1584 Verify assigning Access role to user @rbac @rbac-pre-upgrade @rbac-post-upgrade Retry #2 --------------------------------------------------------------------------------------- locator.click: Timeout 15000ms exceeded. =========================== logs =========================== waiting for getByTestId('access-roles-create-role') ============================================================ 133 | async () => { 134 | await page.goto(rbacPage.url); > 135 | await rbacPage.buttons.create.click(); | ^ 136 | await createRolePage.createNewRole({ roleName, roleDescription, label: 'agent_type', value: 'mysqld_exporter' }); 137 | await rbacPage.rbacTable.verifyRowData(roleName, roleDescription, 'agent_type', '=', 'mysqld_exporter'); 138 | }, at /home/runner/work/pmm-submodules/pmm-submodules/pmm-ui-tests/playwright-tests/tests/rbac/rbac.spec.ts:135:39 at /home/runner/work/pmm-submodules/pmm-submodules/pmm-ui-tests/playwright-tests/tests/rbac/rbac.spec.ts:131:5
[chromium] › rbac/rbac.spec.ts:165:7 › Spec file for Access Control (RBAC) › PMM-T1599 Verify assigned role after upgrade @rbac @rbac-post-upgrade: pmm-ui-tests/playwright-tests/tests/rbac/rbac.spec.ts#L172
4) [chromium] › rbac/rbac.spec.ts:165:7 › Spec file for Access Control (RBAC) › PMM-T1599 Verify assigned role after upgrade @rbac @rbac-post-upgrade Error: expect(received).toContainText(expected) Expected string: "Role Name Only MySql Access" Received string: "" Call log: - expect.toContainText with timeout 5000ms - waiting for locator('xpath=//span[contains(text(),"testUserRBAC")]//ancestor::tr') - unexpected value "undefined" - waiting for locator('xpath=//span[contains(text(),"testUserRBAC")]//ancestor::tr') - unexpected value "undefined" - unexpected value "undefined" - unexpected value "undefined" - unexpected value "undefined" - unexpected value "undefined" - unexpected value "undefined" - unexpected value "undefined" - unexpected value "undefined" 170 | await test.step('1. Verify user role is assigned after upgrade.', async () => { 171 | await page.goto(usersConfigurationPage.url); > 172 | await expect(usersConfigurationPage.usersTable.elements.rowByText(newUser.username)).toContainText(roleName); | ^ 173 | }); 174 | 175 | await test.step('2. Open PostgreSQL Overview dashboard and verify there is no any data.', async () => { at /home/runner/work/pmm-submodules/pmm-submodules/pmm-ui-tests/playwright-tests/tests/rbac/rbac.spec.ts:172:92 at /home/runner/work/pmm-submodules/pmm-submodules/pmm-ui-tests/playwright-tests/tests/rbac/rbac.spec.ts:170:5
Backup Management Common and Locations UI tests / ui-tests-e2e
Process completed with exit code 1.
User with changed password UI tests / ui-tests-e2e
Process completed with exit code 1.
Backup Management MongoDB UI tests / ui-tests-e2e
Process completed with exit code 1.
Alerting and Settings UI tests / ui-tests-e2e
Process completed with exit code 1.
PGSS UI tests / ui-tests-e2e
Process completed with exit code 1.
Instances UI tests / ui-tests-e2e
Process completed with exit code 1.
PGSM UI tests / ui-tests-e2e
Process completed with exit code 1.
RBAC UI tests / 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 UI tests / 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.2m
Backup Management Common and Locations UI tests / ui-tests-e2e
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/
User with changed password UI tests / ui-tests-e2e
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/
Backup Management MongoDB UI tests / ui-tests-e2e
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/
Alerting and Settings UI tests / ui-tests-e2e
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/
PGSS UI tests / ui-tests-e2e
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/
Instances UI tests / ui-tests-e2e
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/
PGSM UI tests / ui-tests-e2e
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/
🎭 Playwright Run Summary
8 failed [chromium] › rbac/rbac.spec.ts:55:7 › Spec file for Access Control (RBAC) › PMM-T1573 Verify Access Roles tab on Configuration page @rbac @rbac-pre-upgrade [chromium] › rbac/rbac.spec.ts:82:7 › Spec file for Access Control (RBAC) › PMM-T1580 Verify creating Access Role @rbac @rbac-pre-upgrade @rbac-post-upgrade [chromium] › rbac/rbac.spec.ts:121:7 › Spec file for Access Control (RBAC) › PMM-T1584 Verify assigning Access role to user @rbac @rbac-pre-upgrade @rbac-post-upgrade [chromium] › rbac/rbac.spec.ts:165:7 › Spec file for Access Control (RBAC) › PMM-T1599 Verify assigned role after upgrade @rbac @rbac-post-upgrade [chromium] › rbac/rbac.spec.ts:183:7 › Spec file for Access Control (RBAC) › PMM-T1585 Verify deleting Access role @rbac @rbac-post-upgrade [chromium] › rbac/rbac.spec.ts:223:7 › Spec file for Access Control (RBAC) › PMM-T1652 Verify replacing the role while removing it @rbac @rbac-post-upgrade [chromium] › rbac/rbac.spec.ts:268:7 › Spec file for Access Control (RBAC) › PMM-T1668 Verify removing Access role for deleted user. @rbac @rbac-post-upgrade [chromium] › rbac/rbac.spec.ts:330:7 › Spec file for Access Control (RBAC) › PMM-T1629 Verify re-enabling of the Access Control @rbac @rbac-post-upgrade