PMM e2e Tests(Playwright) #669
Annotations
12 errors, 4 warnings, and 1 notice
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/5791123941"
}
|
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/5791123941"
}
|
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
|
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
|
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
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
|
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
|
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
|
pmm-ui-tests/playwright-tests/pages/SignIn.page.ts#L40
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
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/postPmmConnect.spec.ts:82:26
at /home/runner/work/pmm-ui-tests/pmm-ui-tests/pmm-ui-tests/playwright-tests/tests/portal/postPmmConnect.spec.ts:81:18
|
pmm-ui-tests/playwright-tests/pages/SignIn.page.ts#L40
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 ---------------------------------------------------------------------------------------
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/postPmmConnect.spec.ts:82:26
at /home/runner/work/pmm-ui-tests/pmm-ui-tests/pmm-ui-tests/playwright-tests/tests/portal/postPmmConnect.spec.ts:81:18
|
pmm-ui-tests/playwright-tests/pages/SignIn.page.ts#L40
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 ---------------------------------------------------------------------------------------
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/postPmmConnect.spec.ts:82:26
at /home/runner/work/pmm-ui-tests/pmm-ui-tests/pmm-ui-tests/playwright-tests/tests/portal/postPmmConnect.spec.ts:81:18
|
pmm-ui-tests/playwright-tests/pages/SignIn.page.ts#L40
4) [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
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/postPmmConnect.spec.ts:122:26
at /home/runner/work/pmm-ui-tests/pmm-ui-tests/pmm-ui-tests/playwright-tests/tests/portal/postPmmConnect.spec.ts:121:18
|
pmm-ui-tests/playwright-tests/pages/SignIn.page.ts#L40
4) [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.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/postPmmConnect.spec.ts:122:26
at /home/runner/work/pmm-ui-tests/pmm-ui-tests/pmm-ui-tests/playwright-tests/tests/portal/postPmmConnect.spec.ts:121:18
|
The following actions uses node12 which is deprecated and will be forced to run on node16: percona-platform/github-status-action@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
pmm-ui-tests/[chromium] › portal/postPmmConnect.spec.ts#L1
pmm-ui-tests/[chromium] › portal/postPmmConnect.spec.ts took 9.4m
|
pmm-ui-tests/[chromium] › portal/connectPMM.spec.ts#L1
pmm-ui-tests/[chromium] › portal/connectPMM.spec.ts took 49.2s
|
|
12 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
[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:181:7 › Spec file for PMM connected the portal › PMM-T1147 Verify PMM user that is not logged in with SSO can NOT see Tickets for organization @not-ui-pipeline @portal @post-pmm-portal-upgrade
[chromium] › portal/postPmmConnect.spec.ts:213:7 › Spec file for PMM connected the portal › PMM-T1154 Verify PMM user that is not logged in with SSO can NOT see Entitlements for organization @not-ui-pipeline @portal @post-pmm-portal-upgrade
[chromium] › portal/postPmmConnect.spec.ts:247:7 › Spec file for PMM connected the portal › PMM-T1170 Verify PMM user that is not logged in with SSO can NOT see Contacts for organization @not-ui-pipeline @portal @post-pmm-portal-upgrade
[chromium] › portal/postPmmConnect.spec.ts:270:7 › Spec file for PMM connected the portal › PMM-T1148 Verify PMM user logged in using SSO and member of organization in Portal BUT not a SN account is NOT able to see Tickets @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
[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
1 flaky
[chromium] › portal/connectPMM.spec.ts:43:7 › Spec file for connecting PMM to the portal › PMM-T398 Verify Percona Platform elements on PMM Settings Page @portal @pre-pmm-portal-upgrade
2 skipped
1 passed (15.3m)
|
The logs for this run have expired and are no longer available.
Loading