Skip to content

Commit

Permalink
PMM-7 skipping SSO tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Vadym Yarosh committed Aug 16, 2023
1 parent 769d8de commit dc48937
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion playwright-tests/api/helpers/portalApiHelper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { APIRequestContext, APIResponse, request } from '@playwright/test';
import { Constants } from '@helpers/Constants';

const throwPortalRequestError = (e: string) => {
throw new Error(`Failed to execute portal request. Error: ${e}`);
throw new Error(`Failed to execute portal request. ${e}`);
};

const checkAndReturnResponse = (r: APIResponse) => {
Expand Down
1 change: 0 additions & 1 deletion playwright-tests/api/portalApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ export const portalAPI = {
password,
},
});

return response.access_token as string;
},

Expand Down
12 changes: 6 additions & 6 deletions playwright-tests/tests/portal/postPmmConnect.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ test.describe('Spec file for PMM connected the portal', async () => {
}
});

test('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', async ({ page }) => {
test.skip('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', async ({ page }) => {
const homeDashboard = new HomeDashboard(page);
const ticketsPage = new TicketsPage(page);

Expand Down Expand Up @@ -205,7 +205,7 @@ test.describe('Spec file for PMM connected the portal', async () => {
}
});

test('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', async ({ page }) => {
test.skip('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', async ({ page }) => {
const homeDashboard = new HomeDashboard(page);
const entitlementsPage = new EntitlementsPage(page);

Expand Down Expand Up @@ -239,7 +239,7 @@ test.describe('Spec file for PMM connected the portal', async () => {
}
});

test('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', async ({ page }) => {
test.skip('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', async ({ page }) => {
const homeDashboard = new HomeDashboard(page);
const environmentOverview = new EnvironmentOverview(page);

Expand All @@ -262,7 +262,7 @@ test.describe('Spec file for PMM connected the portal', async () => {
}
});

test('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', async ({ page }) => {
test.skip('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', async ({ page }) => {
const signInPage = new SignInPage(page);
const homeDashboard = new HomeDashboard(page);
const ticketsPage = new TicketsPage(page);
Expand Down Expand Up @@ -290,7 +290,7 @@ test.describe('Spec file for PMM connected the portal', async () => {
}
});

test('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', async ({ page }) => {
test.skip('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', async ({ page }) => {
const signInPage = new SignInPage(page);
const homeDashboard = new HomeDashboard(page);
const ticketsPage = new TicketsPage(page);
Expand Down Expand Up @@ -360,7 +360,7 @@ test.describe('Spec file for PMM connected the portal', async () => {
}
});
// Needs to be fixed in the future.
test('PMM-T1264 Verify that pmm admin user can force disconnect pmm from the portal. @not-ui-pipeline @portal @post-pmm-portal-upgrade', async ({ page }) => {
test.skip('PMM-T1264 Verify that pmm admin user can force disconnect pmm from the portal. @not-ui-pipeline @portal @post-pmm-portal-upgrade', async ({ page }) => {
test.skip(pmmVersion < 29, 'This test is for PMM version 2.29.0 and higher');
const platformPage = new PerconaPlatform(page);

Expand Down

0 comments on commit dc48937

Please sign in to comment.