Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skip some serverless tests after roles and spaces changes in QA #190599

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@ export default function ({ getService }: FtrProviderContext) {
svlCommonApi.assertResponseStatusCode(400, status, body);
});

it('#create', async () => {
// Skipped due to change in QA environment for role management and spaces
// TODO: revisit once the change is rolled out to all environments
it.skip('#create', async () => {
const { body, status } = await supertestWithoutAuth
.post('/api/spaces/space')
.set(internalRequestHeader)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,19 @@ export default function ({ getService }: FtrProviderContext) {
describe('route access', () => {
describe('internal', () => {
describe('disabled', () => {
it('get all privileges', async () => {
// Skipped due to change in QA environment for role management and spaces
// TODO: revisit once the change is rolled out to all environments
it.skip('get all privileges', async () => {
const { body, status } = await supertestWithoutAuth
.get('/api/security/privileges')
.set(svlCommonApi.getInternalRequestHeader())
.set(roleAuthc.apiKeyHeader);
svlCommonApi.assertApiNotFound(body, status);
});

it('get built-in elasticsearch privileges', async () => {
// Skipped due to change in QA environment for role management and spaces
// TODO: revisit once the change is rolled out to all environments
it.skip('get built-in elasticsearch privileges', async () => {
const { body, status } = await supertestWithoutAuth
.get('/internal/security/esPrivileges/builtin')
.set(svlCommonApi.getInternalRequestHeader())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,9 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
});
});

describe('when in single space mode', function () {
// Skipped due to change in QA environment for role management and spaces
// TODO: revisit once the change is rolled out to all environments
describe.skip('when in single space mode', function () {
let dataViewId = '';
before(async () => {
await esArchiver.load(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,9 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => {
}).not.to.throwError();
});

describe('Roles management card', () => {
// Skipped due to change in QA environment for role management and spaces
// TODO: revisit once the change is rolled out to all environments
describe.skip('Roles management card', () => {
it('should not be displayed by default', async () => {
await retry.waitFor('page to be visible', async () => {
return await testSubjects.exists('cards-navigation-page');
Expand All @@ -56,7 +58,9 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => {
});
});

describe('Organization members management card', () => {
// Skipped due to change in QA environment for role management and spaces
// TODO: revisit once the change is rolled out to all environments
describe.skip('Organization members management card', () => {
it('should not be displayed by default', async () => {
await retry.waitFor('page to be visible', async () => {
return await testSubjects.exists('cards-navigation-page');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ export default function ({ getPageObject, getService }: FtrProviderContext) {
const svlCommonNavigation = getService('svlCommonNavigation');
const testSubjects = getService('testSubjects');

describe('space selection', function () {
// Skipped due to change in QA environment for role management and spaces
// TODO: revisit once the change is rolled out to all environments
describe.skip('space selection', function () {
before(async () => {
await svlCommonPage.loginAsViewer();
});
Expand Down