Skip to content

Commit

Permalink
PMM-7 annotations push clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
Vadym Yarosh committed Aug 16, 2023
1 parent 05b9bd6 commit 9efffda
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 26 deletions.
6 changes: 1 addition & 5 deletions playwright-tests/tests/portal/connectPMM.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,8 @@ test.describe('Spec file for connecting PMM to the portal', async () => {
await page.goto('/');
});

test('PMM-T398 Verify Percona Platform elements on PMM Settings Page @portal @pre-pmm-portal-upgrade', async ({ page }) => {
test('PMM-T809 PMM-T398 Verify Percona Platform elements on PMM Settings Page @portal @pre-pmm-portal-upgrade', async ({ page }) => {
test.skip(pmmVersion < 27, 'This test is for PMM version 2.27.0 and higher');
test.info().annotations.push({
type: 'Also Covers',
description: 'PMM-T809 Verify validation for Percona Platform connect form',
});
const platformPage = new PerconaPlatform(page);

await test.step('1. Open Percona Platform tab in PMM Settings', async () => {
Expand Down
21 changes: 3 additions & 18 deletions playwright-tests/tests/portal/postPmmConnect.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,10 @@ test.describe('Spec file for PMM connected the portal', async () => {
expect(foundTechnicalUser.role).toEqual('Viewer');
});

test('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', async ({
test('PMM-T1149 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', async ({
page,
context,
}) => {
test.info().annotations.push({
type: 'Also Covers',
description:
'PMM-T1149 Verify PMM user logged in using SSO and is a member of SN account is able to see empty list of tickets',
});
const signInPage = new SignInPage(page);
const homeDashboard = new HomeDashboard(page);
const ticketsPage = new TicketsPage(page);
Expand Down Expand Up @@ -137,14 +132,10 @@ test.describe('Spec file for PMM connected the portal', async () => {
}
});

test('PMM-T1222 Verify user can see the contacts from Percona @not-ui-pipeline @portal @post-pmm-portal-upgrade', async ({
test('PMM-T1168 PMM-T1222 Verify user can see the contacts from Percona @not-ui-pipeline @portal @post-pmm-portal-upgrade', async ({
page,
context,
}) => {
test.info().annotations.push({
type: 'Also Covers:',
description: 'PMM-T1168 - Verify PMM user logged in using SSO and member of SN account is able to see contacts',
});
await context.grantPermissions(['clipboard-write', 'clipboard-read']);
const homeDashboard = new HomeDashboard(page);
const signInPage = new SignInPage(page);
Expand Down Expand Up @@ -328,13 +319,7 @@ test.describe('Spec file for PMM connected the portal', async () => {
}
});

test('PMM-T1112 Verify user can disconnect pmm from portal success flow @portal @not-ui-pipeline @post-pmm-portal-upgrade', async ({ page }) => {
test.info().annotations.push({
type: 'Also Covers',
description:
"PMM-T1204 Verify the confirmation message appears when user's trying to logout from Portal",
});

test('PMM-T1204 PMM-T1112 Verify user can disconnect pmm from portal success flow @portal @not-ui-pipeline @post-pmm-portal-upgrade', async ({ page }) => {
const signInPage = new SignInPage(page);
const homeDashboard = new HomeDashboard(page);
const platformPage = new PerconaPlatform(page);
Expand Down
4 changes: 1 addition & 3 deletions playwright-tests/tests/upgrade/upgradePmmViaUi.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@ import grafanaHelper from '@helpers/grafanaHelper';
import HomeDashboard from '@pages/HomeDashboard.page';

test.describe('Common Upgrade PMM tests', async () => {
test.describe.configure({
retries: 0,
});
test.describe.configure({ retries: 0 });

test.beforeEach(async ({ page }) => {
await grafanaHelper.authorize(page);
Expand Down

0 comments on commit 9efffda

Please sign in to comment.