Skip to content

Commit

Permalink
Merge branch 'main' into eui/85.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
kibanamachine authored Aug 1, 2023
2 parents 94240ae + 7b58f7f commit d20bf4e
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 21 deletions.
16 changes: 13 additions & 3 deletions x-pack/plugins/cases/public/components/user_actions/index.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,8 @@ const useFindCaseUserActionsMock = useFindCaseUserActions as jest.Mock;
const useUpdateCommentMock = useUpdateComment as jest.Mock;
const patchComment = jest.fn();

describe(`UserActions`, () => {
// FLAKY: https://github.com/elastic/kibana/issues/156741
describe.skip(`UserActions`, () => {
const sampleData = {
content: 'what a great comment update',
};
Expand Down Expand Up @@ -325,7 +326,8 @@ describe(`UserActions`, () => {
});
});

describe('Host isolation action', () => {
// FLAKY: https://github.com/elastic/kibana/issues/156742
describe.skip('Host isolation action', () => {
it('renders in the cases details view', async () => {
const isolateAction = [getHostIsolationUserAction()];
const props = {
Expand Down Expand Up @@ -372,7 +374,15 @@ describe(`UserActions`, () => {
});
});

describe('pagination', () => {
// FLAKY: https://github.com/elastic/kibana/issues/156750
// FLAKY: https://github.com/elastic/kibana/issues/156749
// FLAKY: https://github.com/elastic/kibana/issues/156748
// FLAKY: https://github.com/elastic/kibana/issues/156747
// FLAKY: https://github.com/elastic/kibana/issues/156746
// FLAKY: https://github.com/elastic/kibana/issues/156745
// FLAKY: https://github.com/elastic/kibana/issues/156744
// FLAKY: https://github.com/elastic/kibana/issues/156743
describe.skip('pagination', () => {
beforeEach(() => {
jest.clearAllMocks();
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,15 +60,15 @@ export function InstallElasticAgent() {
const { data: monitoringRole, status: monitoringRoleStatus } = useFetcher(
(callApi) => {
return callApi(
'GET /internal/observability_onboarding/custom_logs/privileges'
'GET /internal/observability_onboarding/logs/setup/privileges'
);
},
[]
);

const { data: setup } = useFetcher((callApi) => {
return callApi(
'GET /internal/observability_onboarding/custom_logs/install_shipper_setup'
'GET /internal/observability_onboarding/logs/setup/environment'
);
}, []);

Expand All @@ -79,20 +79,17 @@ export function InstallElasticAgent() {
} = useFetcher(
(callApi) => {
if (monitoringRole?.hasPrivileges) {
return callApi(
'POST /internal/observability_onboarding/custom_logs/save',
{
params: {
body: {
name: datasetName,
state: {
datasetName,
namespace,
},
return callApi('POST /internal/observability_onboarding/logs/flow', {
params: {
body: {
name: datasetName,
state: {
datasetName,
namespace,
},
},
}
);
},
});
}
},
[monitoringRole?.hasPrivileges]
Expand All @@ -102,7 +99,7 @@ export function InstallElasticAgent() {
const { onboardingId } = getState();
if (onboardingId) {
return callApi(
'PUT /internal/observability_onboarding/custom_logs/{onboardingId}/save',
'PUT /internal/observability_onboarding/flow/{onboardingId}',
{
params: {
path: { onboardingId },
Expand Down Expand Up @@ -152,7 +149,7 @@ export function InstallElasticAgent() {
(callApi) => {
if (onboardingId) {
return callApi(
'GET /internal/observability_onboarding/custom_logs/{onboardingId}/progress',
'GET /internal/observability_onboarding/flow/{onboardingId}/progress',
{ params: { path: { onboardingId } } }
);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,8 @@ export default ({ getService }: FtrProviderContext): void => {
]);
});

describe('paging through calculationss', () => {
// FLAKY: https://github.com/elastic/kibana/issues/162736
describe.skip('paging through calculationss', () => {
let documentId: string;
beforeEach(async () => {
documentId = uuidv4();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ export default ({ getService }: FtrProviderContext) => {
const log = getService('log');
const es = getService('es');

describe('Rule exception operators for data type double', () => {
// Failing: See https://github.com/elastic/kibana/issues/155122
describe.skip('Rule exception operators for data type double', () => {
before(async () => {
await esArchiver.load('x-pack/test/functional/es_archives/rule_exceptions/double');
await esArchiver.load('x-pack/test/functional/es_archives/rule_exceptions/double_as_string');
Expand Down

0 comments on commit d20bf4e

Please sign in to comment.